2 Replies Latest reply on Jan 20, 2005 6:56 PM by Craig Johannsen

    Verification errors deploying DukesBank application

    Craig Johannsen Newbie

      Following the instructions in the Getting Started Guide, I encountered the following EJB verification errors. My environment in this case is Win 2000, j2sdk1.4.2_06, JBoss 4.0.1. Used j2ee-1_4-doc-tutorial_4.zip (12/17/2004; 16,969KB) and startguide.zip for JBoss 4.0.

      It seems others have successfully deployed this app. Did I get a Sun j2ee tutorial version that is too old?

      2005-01-18 21:27:36,467 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:36,467 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:36,467 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear -> E:\jboss-4.0.1\server\default\tmp\deploy\tmp40310JBossDukesBank.ear
      2005-01-18 21:27:36,497 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@c16b18
      2005-01-18 21:27:36,497 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:36,558 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
      2005-01-18 21:27:36,578 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: app-client.jar
      2005-01-18 21:27:36,598 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: bank-ejb.jar
      2005-01-18 21:27:36,668 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: web-client.war
      2005-01-18 21:27:36,688 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: roles.properties
      2005-01-18 21:27:36,698 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: users.properties
      2005-01-18 21:27:36,698 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
      2005-01-18 21:27:36,698 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=JBossDukesBank.ear
      2005-01-18 21:27:36,708 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@b3cadffd { url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar }
       deployer: null
       status: null
       state: CONSTRUCTED
       watch: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
       altDD: null
       lastDeployed: 0
       lastModified: 0
       mbeans:
      , isDirectory: false
      2005-01-18 21:27:36,718 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@8a641be8 { url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar }
       deployer: null
       status: null
       state: CONSTRUCTED
       watch: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
       altDD: null
       lastDeployed: 0
       lastModified: 0
       mbeans:
      , isDirectory: false
      2005-01-18 21:27:36,728 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@481b4da2 { url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client.war }
       deployer: null
       status: null
       state: CONSTRUCTED
       watch: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client.war
       altDD: null
       lastDeployed: 0
       lastModified: 0
       mbeans:
      , isDirectory: false
      2005-01-18 21:27:36,738 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:name=Default,service=LoaderRepository, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      2005-01-18 21:27:36,738 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear
      2005-01-18 21:27:36,738 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1aa57fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=0}
      2005-01-18 21:27:36,738 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1aa57fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=0}
      2005-01-18 21:27:36,738 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=0}
      2005-01-18 21:27:36,748 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg:
      2005-01-18 21:27:36,788 DEBUG [org.jboss.deployment.MainDeployer] found 3 subpackages of file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:36,788 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
      2005-01-18 21:27:36,788 DEBUG [org.jboss.deployment.ClientDeployer] Found a META-INF/application-client.xml file, di: org.jboss.deployment.DeploymentInfo@8a641be8 { url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar }
       deployer: null
       status: null
       state: CONSTRUCTED
       watch: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
       altDD: null
       lastDeployed: 0
       lastModified: 0
       mbeans:
      
      2005-01-18 21:27:36,788 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.ClientDeployer@145e5a6
      2005-01-18 21:27:36,788 DEBUG [org.jboss.deployment.ClientDeployer] looking for nested deployments in : file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
      2005-01-18 21:27:36,808 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=39}
      2005-01-18 21:27:36,808 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
      2005-01-18 21:27:36,808 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-18 21:27:36,808 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.ejb.EJBDeployer@65b738
      2005-01-18 21:27:36,808 DEBUG [org.jboss.ejb.EJBDeployer] init, bank-ejb.jar
      2005-01-18 21:27:36,838 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-18 21:27:36,858 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=39}
      2005-01-18 21:27:36,858 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-18 21:27:36,868 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client.war
      2005-01-18 21:27:36,868 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@e8606c
      2005-01-18 21:27:36,868 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init
      2005-01-18 21:27:36,868 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Unpacking war to: E:\jboss-4.0.1\server\default\tmp\deploy\tmp40310JBossDukesBank.ear-contents\web-client-exp.war
      2005-01-18 21:27:38,430 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Replaced war with unpacked contents
      2005-01-18 21:27:38,440 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: /bank
      2005-01-18 21:27:38,440 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client-exp.war/
      2005-01-18 21:27:38,460 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init
      2005-01-18 21:27:38,480 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client-exp.war/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@1913751{ url=file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear ,addedOrder=39}
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/web-client.war
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/E:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/app-client.jar
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying app-client.jar
      2005-01-18 21:27:38,490 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-18 21:27:38,490 DEBUG [org.jboss.ejb.EJBDeployer] create, bank-ejb.jar
      2005-01-18 21:27:38,751 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.ear-contents/bank-ejb.jar
      2005-01-18 21:27:38,891 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-18 21:27:38,931 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-18 21:27:38,971 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-18 21:27:39,021 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 <local> element.
      Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoaders found for: com.sun.ebank.ejb.customer.Customer
      
      2005-01-18 21:27:39,071 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-18 21:27:39,111 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-18 21:27:39,151 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-18 21:27:39,191 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-18 21:27:39,241 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 <local> element.
      Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders found for: com.sun.ebank.ejb.account.Account
      
      2005-01-18 21:27:39,291 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-18 21:27:39,332 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-18 21:27:39,362 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-18 21:27:39,402 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-18 21:27:39,452 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 <local> element.
      Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for: com.sun.ebank.ejb.tx.Tx
      
      2005-01-18 21:27:39,502 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-18 21:27:39,672 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: AccountControllerBean: Verified.
      2005-01-18 21:27:39,692 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: CustomerControllerBean: Verified.
      2005-01-18 21:27:39,722 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: TxControllerBean: Verified.
      2005-01-18 21:27:39,732 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2005-01-18 21:27:39,732 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2005-01-18 21:27:39,732 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2005-01-18 21:27:39,722 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/E:/jboss-4.0.1/server/default/tmp/deploy/tmp40310JBossDukesBank.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.GeneratedMethodAccessor48.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       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$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      ...