9 Replies Latest reply on Jun 30, 2011 9:41 AM by divyakprabh

    JBOSS ear deployment

    divyakprabh Newbie

      Hi,

       

      I have an ear which contains an ejb, when i try deploying an ear with jboss4.2.0 having isolated tag in ear-deployer as false it deploys fine, but when i make isolated tag as true i get exception like problem creating service jboss.j2ee:jndi=ejbinitialzer, service=EJB

      nosuchmethodexception: org.jboss.ejb.statelesssessioncontainer.remohome (javax.ejb.handle)

       

      Can anybody please help me out.

      Im stuck with this exception

       

      Thanks in advance

        • 1. Re: JBOSS ear deployment
          divyakprabh Newbie

          I deleted j2ee1-4.jar from the ear, this exception is not thrown, but its nt getting deployed without any exceptions at console...

           

          Can anybody help me..

          • 2. Re: JBOSS ear deployment
            Wolf-Dieter Fink Master

            You should not include jars with common classes, might change with the next JBoss version.

             

            Could you post the EAR structure?

            Do you see that the deployer is picking up the ear (maybe touch it after server is started)

            • 3. Re: JBOSS ear deployment
              divyakprabh Newbie

              but it works fine when i use non scoped class loader, i have to use scoped class loader as im deploying 2 ears in one jboss instance.

               

              test.ear

                   /META-INF

                        application.xml

                        MANIFEST

                        iboss-app.xml

                   /dependent jars

              • 4. Re: JBOSS ear deployment
                divyakprabh Newbie

                Still im facing the same [roblem, can anyone please guide me

                • 5. Re: JBOSS ear deployment
                  Wolf-Dieter Fink Master

                  Could you post a bit more information?

                  E.g. what jars are included in your ears, the deploymentdescriptors (with a hint what you change) and the logfile with the deployment error.

                  • 6. Re: JBOSS ear deployment
                    divyakprabh Newbie

                    my ear contains,

                    activation-1.1.jar

                    commons-logging-1.0.3.jar

                    j2ee-1.4.jar

                    hibernate-3.3.1GA.jar

                    sigar-1.0.jar

                    spring-2.5.6.jar

                    xbean-spring-3.2.jar

                    xercesImpl-2.6.2.jar

                    xml-apis-1.0.b2.jar,

                     

                    ear-deployer looks like,

                    <attribute name="Isolated">true</attribute>

                    <attribute name="CallByValue">false</attribute>

                    <attribute name="EnablelibDirectoryByDefault">false</attribute>

                     

                    log looks like,

                    DEBUG [org.jboss.ejb.StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=testInitialzer,service=EJB

                    java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)

                        at java.lang.Class.getMethod(Class.java:1605)

                        at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:139)

                        at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:169)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.create(Unknown Source)

                        at org.jboss.system.ServiceController.create(ServiceController.java:330)

                        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:597)

                        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 $Proxy58.create(Unknown Source)

                        at org.jboss.ejb.EjbModule.createService(EjbModule.java:377)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.create(Unknown Source)

                        at org.jboss.system.ServiceController.create(ServiceController.java:330)

                        at org.jboss.system.ServiceController.create(ServiceController.java:273)

                        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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 $Proxy32.create(Unknown Source)

                        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)

                        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:597)

                        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(ModelMBeanOperationInterceptor.java:142)

                        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                        at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:73)

                        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.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 $Proxy33.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:597)

                        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(ModelMBeanOperationInterceptor.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 $Proxy10.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(AbstractDeploymentScanner.java:263)

                        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.GeneratedMethodAccessor6.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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:597)

                        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(ModelMBeanOperationInterceptor.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:619)

                    2011-06-29 12:00:11,375 WARN  [org.jboss.system.ServiceController] Problem creating service jboss.j2ee:jndiName=testInitialzer,service=EJB

                    java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)

                        at java.lang.Class.getMethod(Class.java:1605)

                        at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:139)

                        at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:169)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.create(Unknown Source)

                        at org.jboss.system.ServiceController.create(ServiceController.java:330)

                        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:597)

                        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 $Proxy58.create(Unknown Source)

                        at org.jboss.ejb.EjbModule.createService(EjbModule.java:377)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.create(Unknown Source)

                        at org.jboss.system.ServiceController.create(ServiceController.java:330)

                        at org.jboss.system.ServiceController.create(ServiceController.java:273)

                        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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 $Proxy32.create(Unknown Source)

                        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)

                        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:597)

                        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(ModelMBeanOperationInterceptor.java:142)

                        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                        at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:73)

                        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.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 $Proxy33.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:597)

                        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(ModelMBeanOperationInterceptor.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 $Proxy10.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(AbstractDeploymentScanner.java:263)

                        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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.GeneratedMethodAccessor6.invoke(Unknown Source)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                        at java.lang.reflect.Method.invoke(Method.java:597)

                        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:597)

                        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(ModelMBeanOperationInterceptor.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:619)

                    • 7. Re: JBOSS ear deployment
                      Wolf-Dieter Fink Master

                      I suppost that your included Jars are the problem:

                      j2ee-1.4.jar

                      hibernate-3.3.1GA.jar

                      xercesImpl-2.6.2.jar

                      xml-apis-1.0.b2.jar

                       

                      Such general JARs, specially JEE and hibernate are often very problematic.

                      So try to remove it from your EAR

                      • 8. Re: JBOSS ear deployment
                        divyakprabh Newbie

                        i tried removing j2ee-1.4.jar, i get no exceptions, but the ear is not getting deployed. what might be the reason.

                        • 9. Re: JBOSS ear deployment
                          divyakprabh Newbie

                          Can anyone please give me any hints where am i going wrong.????