3 Replies Latest reply on Jan 19, 2005 12:57 PM by mathewa

    Deploying problem

    shmuelg

      Hi, I'm trying to work withThe Duke?s Bank Application example and acted according to the starting guide. All went well.
      Last thing I did was: ant -f jboss-build.xml deploy. No errors. But when I for example restart the server,
      there is bunch of error messages. Deployment FAILED reason:
      Verification of Enterprise Beans failed, see above for error messages.

      I'd be really thankful if soeone of you can help me out.
      Shmuel.

      Here is the log:

      2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.ClientDeployer@515263
      2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.ClientDeployer] looking for nested deployments in : file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar
      2005-01-14 12:02:49,353 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@145c414{ url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38}
      2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar
      2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-14 12:02:49,368 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.ejb.EJBDeployer@1ef7de4
      2005-01-14 12:02:49,368 DEBUG [org.jboss.ejb.EJBDeployer] init, bank-ejb.jar
      2005-01-14 12:02:49,384 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-14 12:02:49,400 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@145c414{ url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38}
      2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client.war
      2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@528780
      2005-01-14 12:02:49,400 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init
      2005-01-14 12:02:49,400 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Unpacking war to: D:\Programs\Programming\java\JBoss\jboss-4.0.1\server\default\tmp\deploy\tmp37657JBossDukesBank.ear-contents\web-client-exp.war
      2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Replaced war with unpacked contents
      2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: /bank
      2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client-exp.war/
      2005-01-14 12:02:49,775 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init
      2005-01-14 12:02:49,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client-exp.war/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@145c414{ url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38}
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client.war
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying app-client.jar
      2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-14 12:02:49,790 DEBUG [org.jboss.ejb.EJBDeployer] create, bank-ejb.jar
      2005-01-14 12:02:49,962 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-14 12:02:50,040 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.

      2005-01-14 12:02:50,040 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.

      2005-01-14 12:02:50,040 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the <local-home> element.
      Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassLoaders found for: com.sun.ebank.ejb.customer.CustomerHome

      2005-01-14 12:02:50,056 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the element.
      Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoaders found for: com.sun.ebank.ejb.customer.Customer

      2005-01-14 12:02:50,056 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 12.2.1
      Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

      2005-01-14 12:02:50,056 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.

      2005-01-14 12:02:50,056 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.

      2005-01-14 12:02:50,056 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : AccountBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the <local-home> element.
      Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoaders found for: com.sun.ebank.ejb.account.AccountHome

      2005-01-14 12:02:50,071 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : AccountBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the element.
      Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders found for: com.sun.ebank.ejb.account.Account

      2005-01-14 12:02:50,071 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.1
      Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

      2005-01-14 12:02:50,071 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.

      2005-01-14 12:02:50,103 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.

      2005-01-14 12:02:50,118 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TxBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the <local-home> element.
      Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found for: com.sun.ebank.ejb.tx.TxHome

      2005-01-14 12:02:50,118 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TxBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the element.
      Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for: com.sun.ebank.ejb.tx.Tx

      2005-01-14 12:02:50,118 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.1
      Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

      2005-01-14 12:02:50,150 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: AccountControllerBean: Verified.
      2005-01-14 12:02:50,165 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: CustomerControllerBean: Verified.
      2005-01-14 12:02:50,181 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: TxControllerBean: Verified.
      2005-01-14 12:02:50,181 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2005-01-14 12:02:50,181 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2005-01-14 12:02:50,181 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2005-01-14 12:02:50,181 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor47.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      2005-01-14 12:02:50,196 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor47.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      2005-01-14 12:02:50,196 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1530ad03{ url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.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:553)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor47.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      2005-01-14 12:02:50,196 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear -> file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-14 12:02:50,196 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@1530ad03 { url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear }
      deployer: org.jboss.deployment.EARDeployer@883357
      status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
      state: FAILED
      watch: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      altDD: null
      lastDeployed: 1105696969790
      lastModified: 1105696970000
      mbeans:

        • 1. Re: Deploying problem
          smiledc

          I had the same problem with you !
          I also did it according the guide !
          Some error happened at the beingging and can't find some source code and files!
          Then I copied some files from other folder of the j2eeturitoral ,and modify the some xml file.
          All thing went well except I deployed it !
          And I had the same error with you !
          Hope anyone who deploy it correctly can teach your way! Thanks in advance!

          • 2. Re: Deploying problem


            I'm also experiencing the same errors at deployment.

            EJB spec violation.

            Thought it was me, but twice through the doc, same thing.

            Mark

            • 3. Re: Deploying problem
              mathewa

              The below thread states that older versions (2 or 3) of the Dukes tutorial works okay, but that there is an issue with update 4. try update 2 from Sun's site.

              If you had done a search on the forums for "dukes" then your answer would've been in the very top thread.

              Please see following thread:
              http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58093