Discussions

Web tier: servlets, JSP, Web frameworks: Issues with Deployment on JBoss 4.2.2

  1. Issues with Deployment on JBoss 4.2.2 (2 messages)

    Hi, I'm trying to deploy an ear on JBoss 4.2.2 (windows XP, SP2, 32 bit) but i keep getting some error messages and the application wouldn't get deployed. To give more hints on this, i have specific EARs for Weblogic and Websphere and they work fine. I'm trying to deploy the same EAR on JBoss and that's when i get the error. Please see the error below: 17:40:04,293 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.2.2/server/default/deploy/R PM.ear 17:45:43,112 WARN [verifier] EJB spec violation: Bean : AdminProcessor Method : public abstract CubeDTO getCube(int) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,312 WARN [verifier] EJB spec violation: Bean : Decision Method : public abstract Collection getCubeDimensions(int) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract ArrayList getFolderDetailsByName(String) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract ArrayList getSortForFolder(int, String) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract void insertOrUpdateSortForFolder(FolderDTO) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract HashMap getGroupsForFolder(int) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract FolderDTO getDefaultViewForSolutionFolder(int) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:43,912 WARN [verifier] EJB spec violation: Bean : Folder Method : public abstract boolean isSolutionFolder(int) throws Exception Section: 7.10.5 Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws c lause. 17:45:44,423 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.2.2/server/default/t mp/deploy/tmp11719RPM.ear-contents/RPMEJB.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for err or messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport .java:238) at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerIn terceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy32.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo ymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca nner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) 17:45:44,443 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo@a3e6c231 { url=file:/D:/jboss-4.2.2/server/default/deploy/RPM.ea r } deployer: org.jboss.deployment.EARDeployer@543cb1 status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error mes sages. state: FAILED watch: file:/D:/jboss-4.2.2/server/default/deploy/RPM.ear altDD: null lastDeployed: 1213013742451 lastModified: 1213013404273 mbeans: 17:45:44,583 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 17:45:44,613 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 17:45:44,643 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=2007 10221139)] Started in 8m:34s:299ms Can somebody shed some lights on this and help me modify the XML? Thanks much for any help. Karthik Durairajan
  2. Can somebody walk me through the migration process from Weblogic/Websphere EAR to JBoss EAR? Thanks.
  3. Can somebody walk me through the migration process from Weblogic/Websphere EAR to JBoss EAR? Thanks.
    If you are really serious about migrating from Weblogic to Jboss, you would get all the projects in to your workspace, build and deploy them from scratch using JBoss specific Ant build ? Or am I missing something here?