9 Replies Latest reply on Nov 25, 2009 11:09 PM by p hl

    Error while deploying ear in JBoss

    p hl Newbie

      I installed and configured JBoss-4.2.3.GA successfully in my system.

      I have an .ear file.

      I placed this .ear file in jboss-4.2.3.GA\server\default\deploy folder.

      In cmd, i gave the command run.bat

      The ear file is not sucessfully deployed.I am getting the following error:


      11:26:19,843 ERROR [MainDeployer] Could not create deployment: file:/C:/Document
      s and Settings/cmc/Desktop/jboss-4.2.3.GA/server/default/tmp/deploy/tmp19905gcop
      sCrimeModule.ear-contents/ejbco.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
      d, see above for error 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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
      .java:97)
      at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
      rServiceMBeanSupport.java:238)
      at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerIn
      terceptor.java:76)
      at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
      create(SubDeployerInterceptorSupport.java:180)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
      ptor.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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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(URLDeploymen
      tScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.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(ServiceControl
      ler.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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.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:304)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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)
      11:26:19,875 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@b6a0a34c { url=file:/C:/Documents and Settin
      gs/cmc/Desktop/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear }
      deployer: org.jboss.deployment.EARDeployer@12dd76
      status: Deployment FAILED reason: Verification of Enterprise Beans failed, see
      above for error messages.
      state: FAILED
      watch: file:/C:/Documents and Settings/cmc/Desktop/jboss-4.2.3.GA/server/defau
      lt/deploy/gcopsCrimeModule.ear
      altDD: null
      lastDeployed: 1259128573656
      lastModified: 1259128476765
      mbeans:



      what is meant by verification of enterprise beans failed?
      I didnot understand the meaning of this error messge.

        • 1. Re: Error while deploying ear in JBoss
          Wolfgang Knauf Master

          Hi,

          in console output, you should find validation errors or warnings in the lines above this stacktrace.

          Best regards

          Wolfgang

          • 2. Re: Error while deploying ear in JBoss
            Wolfgang Knauf Master

            You might also take a look at "server/default/log/server.log", there you might find more details.

            Wolfgang

            • 3. Re: Error while deploying ear in JBoss
              p hl Newbie



              Why am I getting verification of Enterprise beans failed


              In my server.log ,



              2009-11-25 22:19:27,068 DEBUG [org.jboss.ejb.StatelessSessionContainer] Creating jboss.j2ee:jndiName=Trncd1090,service=EJB
              2009-11-25 22:19:27,072 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped doProcess HASH 91883693to public framework.dbsubsystem.DataPackage com.gcops.ejb.cd.trncd1090.Trncd1090Bean.doProcess(framework.dbsubsystem.DataPackage)
              2009-11-25 22:19:27,075 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped Container method remove HASH -1842617161
              2009-11-25 22:19:27,077 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped Container method isIdentical HASH 285457048
              2009-11-25 22:19:27,080 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped Container method getHandle HASH 1182305581
              2009-11-25 22:19:27,083 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped Container method getEJBHome HASH -993218923
              2009-11-25 22:19:27,084 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapped Container method getPrimaryKey HASH -131865408
              2009-11-25 22:19:27,087 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapping create
              2009-11-25 22:19:27,088 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapping remove
              2009-11-25 22:19:27,089 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapping remove
              2009-11-25 22:19:27,090 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapping getEJBMetaData
              2009-11-25 22:19:27,092 DEBUG [org.jboss.ejb.StatelessSessionContainer] Mapping getHomeHandle
              2009-11-25 22:19:27,093 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy Factory for Trncd1090 initialized
              2009-11-25 22:19:27,097 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB,plugin=pool,jndiName=Trncd1090
              2009-11-25 22:19:27,099 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Creating jboss.j2ee:service=EJB,plugin=pool,jndiName=Trncd1090
              2009-11-25 22:19:27,101 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Created jboss.j2ee:service=EJB,plugin=pool,jndiName=Trncd1090
              2009-11-25 22:19:27,103 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=Trncd1090 dependents are: []
              2009-11-25 22:19:27,105 DEBUG [org.jboss.ejb.StatelessSessionContainer] Created jboss.j2ee:jndiName=Trncd1090,service=EJB
              2009-11-25 22:19:27,108 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=Trncd1090,service=EJB dependents are: []
              2009-11-25 22:19:27,110 DEBUG [org.jboss.ejb.EjbModule] Bound jmxName=jboss.j2ee:jndiName=Trncd1090,service=EJB, hash=-938822110into Registry
              2009-11-25 22:19:27,113 DEBUG [org.jboss.ejb.EjbModule] Created jboss.j2ee:service=EjbModule,module=ejbcd.jar
              2009-11-25 22:19:27,115 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EjbModule,module=ejbcd.jar dependents are: []
              2009-11-25 22:19:27,118 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ejbcd.jar
              2009-11-25 22:19:27,119 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2506686511399340186gcopsCrimeModule.ear-contents/ejbco.jar
              2009-11-25 22:19:27,122 DEBUG [org.jboss.ejb.EJBDeployer] create, ejbco.jar
              2009-11-25 22:19:27,177 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2506686511399340186gcopsCrimeModule.ear-contents/ejbco.jar
              2009-11-25 22:19:27,193 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco101: Verified.
              2009-11-25 22:19:27,199 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco101BL: Verified.
              2009-11-25 22:19:27,211 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco106: Verified.
              2009-11-25 22:19:27,217 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco106BL: Verified.
              2009-11-25 22:19:27,228 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco109: Verified.
              2009-11-25 22:19:27,233 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
              Bean : Trnco109BL
              Method : public abstract void setBLParameter() throws Exception
              Section: 7.10.5
              Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.

              2009-11-25 22:19:27,251 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco112: Verified.
              2009-11-25 22:19:27,255 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
              Bean : Trnco112BL
              Method : public abstract void setBLParameter() throws Exception
              Section: 7.10.5
              Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.

              2009-11-25 22:19:27,271 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco115BL: Verified.
              2009-11-25 22:19:27,279 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco115: Verified.
              2009-11-25 22:19:27,284 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco108BL: Verified.
              2009-11-25 22:19:27,291 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco108: Verified.
              2009-11-25 22:19:27,297 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco110BL: Verified.
              2009-11-25 22:19:27,306 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco110: Verified.
              2009-11-25 22:19:27,312 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco111BL: Verified.
              2009-11-25 22:19:27,318 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco111: Verified.
              2009-11-25 22:19:27,333 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco114BL: Verified.
              2009-11-25 22:19:27,342 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco114: Verified.
              2009-11-25 22:19:27,346 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco107BL: Verified.
              2009-11-25 22:19:27,352 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco107: Verified.
              2009-11-25 22:19:27,358 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco113BL: Verified.
              2009-11-25 22:19:27,365 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: Trnco113: Verified.
              2009-11-25 22:19:27,368 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
              2009-11-25 22:19:27,375 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
              2009-11-25 22:19:27,377 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
              2009-11-25 22:19:27,366 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2506686511399340186gcopsCrimeModule.ear-contents/ejbco.jar
              org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error 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: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.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
              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 $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.GeneratedMethodAccessor21.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 $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(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.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.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: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:304)
              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)
              2009-11-25 22:19:27,504 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@12bfbd5a{ url=file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear, deployedLastModified=0 }
              org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error 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: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.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)
              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 $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.GeneratedMethodAccessor21.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 $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(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.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.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: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:304)
              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)
              2009-11-25 22:19:27,625 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear -> file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear
              2009-11-25 22:19:27,632 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

              --- Incompletely deployed packages ---
              org.jboss.deployment.DeploymentInfo@12bfbd5a { url=file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear }
              deployer: org.jboss.deployment.EARDeployer@75c78d
              status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
              state: FAILED
              watch: file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/gcopsCrimeModule.ear
              altDD: null
              lastDeployed: 1259167756363
              lastModified: 1259167678809
              mbeans:


              2009-11-25 22:19:27,653 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
              2009-11-25 22:19:27,655 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
              2009-11-25 22:19:27,658 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
              2009-11-25 22:19:27,733 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jboss-service.xml
              2009-11-25 22:19:27,735 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/Users/Hema/Desktop/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
              2009-11-25 22:19:27,738 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Saw org.jboss.system.server.started notification, starting connectors
              2009-11-25 22:19:27,751 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
              2009-11-25 22:19:27,779 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
              2009-11-25 22:19:27,798 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 2m:20s:87ms
              2009-11-25 22:19:27,800 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Wed, 25 Nov 2009 22:19:27>
              2009-11-25 22:19:27,804 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
              2009-11-25 22:19:27,806 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
              2009-11-25 22:19:27,811 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
              2009-11-25 22:19:37,820 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Wed, 25 Nov 2009 22:19:37>
              2009-11-25 22:19:51,358 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
              2009-11-25 22:19:51,360 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
              2009-11-25 22:19:51,362 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
              2009-11-25 22:21:51,359 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Wed, 25 Nov 2009 22:21:51>
              2009-11-25 22:23:59,656 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
              2009-11-25 22:23:59,658 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
              2009-11-25 22:23:59,661 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
              2009-11-25 22:24:09,664 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Wed, 25 Nov 2009 22:24:09>
              2009-11-25 22:24:09,667 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
              2009-11-25 22:24:09,669 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
              2009-11-25 22:24:09,671 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass



              what is the meaning of this.

              • 4. Re: Error while deploying ear in JBoss
                Peter Johnson Master

                Seems pretty clear to me:

                2009-11-25 22:19:27,233 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
                Bean : Trnco109BL
                Method : public abstract void setBLParameter() throws Exception
                Section: 7.10.5
                Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.


                This is EJB 2.x, right?

                • 6. Re: Error while deploying ear in JBoss
                  p hl Newbie

                  Does it mean

                  If I include java.rmi.RemoteException in the remote interface,then package and redeploy again,

                  will the ear file be deployed correctly?

                  • 7. Re: Error while deploying ear in JBoss
                    Peter Johnson Master

                    Yes that is the fix, at least for this error.

                    • 8. Re: Error while deploying ear in JBoss
                      p hl Newbie

                      Thank u.

                      It means Verification of Enterprise beans failed exception is related to this rmi exception declaration ,in this case?

                      • 9. Re: Error while deploying ear in JBoss
                        p hl Newbie

                        ejb specification violation was specified as a warning.So I think I got confused.