9 Replies Latest reply on Feb 23, 2005 4:41 AM by fire-fly

    Error when deploying dukes bank application

    George Icho Newbie

      I get the following error messages everytime I try to deploy the application. I would appreciate if someone could help me.

      14:40:46,982 INFO [EARDeployer] Init J2EE application: file:/C:/jboss4/jboss-4.
      0.1RC2/server/default/deploy/JBossDukesBank.ear
      14:40:48,284 INFO [EARDeployment] Registration is not done -> stop
      14:40:48,284 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
      s4/jboss-4.0.1RC2/server/default/deploy/JBossDukesBank.ear
      org.jboss.deployment.DeploymentException: Error in accessing application metadat
      a: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss
      .j2ee:service=EARDeployment,url='JBossDukesBank.ear' already registered.)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:270)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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:175)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:463)
      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)
      Caused by: javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=E
      ARDeployment,url='JBossDukesBank.ear' already registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistr
      y.java:755)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:211)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1397)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1392)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:359)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:262)
      ... 21 more

        • 1. Re: Error when deploying dukes bank application
          Darran Lofthouse Master

          It looks as if you have already deployed the ear once and validation failed. There is currently an issue with JBoss and subsequent attempts to deploy the ear will always fail with the error you have reported.

          The solution at the moment is to restart JBoss after undeploying the failed deployment, alterntively give the ear a different name for the second deployment and you will not encounter this error.

          • 2. Re: Error when deploying dukes bank application
            George Icho Newbie

            I restarted JBoss and undeployed the application like you said, but this time I got another error I dont understand.

            ss_4_0_1_RC2 date=200411302349)
            09:05:44,241 INFO [Server] Home Dir: C:\jboss4\jboss-4.0.1RC2
            09:05:44,241 INFO [Server] Home URL: file:/C:/jboss4/jboss-4.0.1RC2/
            09:05:44,241 INFO [Server] Library URL: file:/C:/jboss4/jboss-4.0.1RC2/lib/
            09:05:44,241 INFO [Server] Patch URL: null
            09:05:44,241 INFO [Server] Server Name: default
            09:05:44,241 INFO [Server] Server Home Dir: C:\jboss4\jboss-4.0.1RC2\server\def
            ault
            09:05:44,241 INFO [Server] Server Home URL: file:/C:/jboss4/jboss-4.0.1RC2/serv
            er/default/
            09:05:44,251 INFO [Server] Server Data Dir: C:\jboss4\jboss-4.0.1RC2\server\def
            ault\data
            09:05:44,251 INFO [Server] Server Temp Dir: C:\jboss4\jboss-4.0.1RC2\server\def
            ault\tmp
            09:05:44,251 INFO [Server] Server Config URL: file:/C:/jboss4/jboss-4.0.1RC2/se
            rver/default/conf/
            09:05:44,251 INFO [Server] Server Library URL: file:/C:/jboss4/jboss-4.0.1RC2/s
            erver/default/lib/
            09:05:44,251 INFO [Server] Root Deployment Filename: jboss-service.xml
            09:05:44,261 INFO [Server] Starting General Purpose Architecture (GPA)...
            09:05:48,347 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc.
            09:05:48,347 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03
            ,Sun Microsystems Inc.
            09:05:48,347 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
            09:05:49,960 INFO [Server] Core system initialized
            09:05:55,908 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
            ce:log4j.xml
            09:05:56,239 INFO [WebService] Using RMI server codebase: http://EG68E002026K32
            1:8083/
            09:05:56,960 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
            1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
            Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
            09:06:11,521 INFO [Embedded] Catalina naming disabled
            09:06:12,462 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
            -8080
            09:06:12,713 INFO [Catalina] Initialization processed in 1092 ms
            09:06:12,713 INFO [StandardService] Starting service jboss.web
            09:06:12,713 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2
            8
            09:06:12,743 INFO [StandardHost] XML validation disabled
            09:06:12,773 INFO [Catalina] Server startup in 60 ms
            09:06:13,003 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jb
            oss4/jboss-4.0.1RC2/server/default/deploy/http-invoker.sar/invoker.war/
            09:06:14,395 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jbos
            s4/jboss-4.0.1RC2/server/default/tmp/deploy/tmp23113jboss-ws4ee-exp.war/
            09:06:14,626 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss4/jb
            oss-4.0.1RC2/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
            09:06:15,026 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
            :/C:/jboss4/jboss-4.0.1RC2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-
            httpil.war/
            09:06:21,325 INFO [MailService] Mail Service bound to java:/Mail
            09:06:22,958 INFO [RARDeployment] Required license terms exist view the META-IN
            F/ra.xml: file:/C:/jboss4/jboss-4.0.1RC2/server/default/deploy/jboss-local-jdbc.
            rar
            09:06:23,308 INFO [RARDeployment] Required license terms exist view the META-IN
            F/ra.xml: file:/C:/jboss4/jboss-4.0.1RC2/server/default/deploy/jboss-xa-jdbc.rar

            09:06:23,669 INFO [RARDeployment] Required license terms exist view the META-IN
            F/ra.xml: file:/C:/jboss4/jboss-4.0.1RC2/server/default/deploy/jms/jms-ra.rar
            09:06:23,919 INFO [RARDeployment] Required license terms exist view the META-IN
            F/ra.xml: file:/C:/jboss4/jboss-4.0.1RC2/server/default/deploy/mail-ra.rar
            09:06:25,261 INFO [STDOUT] [Server@1398cac]: [Thread[hypersonic-default,5,jboss
            ]]: checkRunning(false) entered
            09:06:25,271 INFO [STDOUT] [Server@1398cac]: [Thread[hypersonic-default,5,jboss
            ]]: checkRunning(false) exited
            09:06:25,271 INFO [STDOUT] [Server@1398cac]: Startup sequence initiated from ma
            in() method
            09:06:25,271 INFO [STDOUT] [Server@1398cac]: Loaded properties from [C:\jboss4\
            jboss-4.0.1RC2\bin\server.properties]
            09:06:25,271 INFO [STDOUT] [Server@1398cac]: Initiating startup sequence...
            09:06:25,291 INFO [STDOUT] [Server@1398cac]: Server socket opened successfully
            in 0 ms.
            09:06:26,763 INFO [STDOUT] [Server@1398cac]: Database [index=0, id=1, db=file:C
            :\jboss4\jboss-4.0.1RC2\server\default\data\hypersonic\default, alias=] opened s
            ucessfully in 1462 ms.
            09:06:26,763 INFO [STDOUT] [Server@1398cac]: Startup sequence completed in 1472
            ms.
            09:06:26,763 INFO [STDOUT] [Server@1398cac]: 2005-02-09 09:06:26.763 HSQLDB ser
            ver 1.7.2 is online
            09:06:26,763 INFO [STDOUT] [Server@1398cac]: To close normally, connect and exe
            cute SHUTDOWN SQL
            09:06:26,763 INFO [STDOUT] [Server@1398cac]: From command line, use [Ctrl]+[C]
            to abort abruptly
            09:06:26,984 INFO [WrapperDataSourceService] Bound connection factory for resou
            rce adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBi
            nding to JNDI name 'java:DefaultDS'
            09:06:27,755 INFO [A] Bound to JNDI name: queue/A
            09:06:27,765 INFO [B] Bound to JNDI name: queue/B
            09:06:27,765 INFO [C] Bound to JNDI name: queue/C
            09:06:27,775 INFO [D] Bound to JNDI name: queue/D
            09:06:27,775 INFO [ex] Bound to JNDI name: queue/ex
            09:06:27,805 INFO [testTopic] Bound to JNDI name: topic/testTopic
            09:06:27,815 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
            09:06:27,815 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

            09:06:27,815 INFO [testQueue] Bound to JNDI name: queue/testQueue
            09:06:27,995 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
            0.0:8093
            09:06:28,065 INFO [DLQ] Bound to JNDI name: queue/DLQ
            09:06:28,626 INFO [ConnectionFactoryBindingService] Bound connection factory fo
            r resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=Connectio
            nFactoryBinding to JNDI name 'java:JmsXA'
            09:06:28,776 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C
            :/jboss4/jboss-4.0.1RC2/server/default/deploy/jmx-console.war/
            09:06:29,758 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C
            :/jboss4/jboss-4.0.1RC2/server/default/deploy/management/web-console.war/
            09:06:30,889 INFO [EARDeployer] Init J2EE application: file:/C:/jboss4/jboss-4.
            0.1RC2/server/default/deploy/SimpleMessage.ear
            09:06:32,131 INFO [EjbModule] Deploying SimpleMessageEJB
            09:06:33,513 WARN [JMSContainerInvoker] Could not find the queue destination-jn
            di-name=queue/MyQueue
            09:06:33,523 WARN [JMSContainerInvoker] destination not found: queue/MyQueue re
            ason: javax.naming.NameNotFoundException: MyQueue not bound
            09:06:33,523 WARN [JMSContainerInvoker] creating a new temporary destination: q
            ueue/MyQueue
            09:06:33,543 INFO [MyQueue] Bound to JNDI name: queue/MyQueue
            09:06:34,244 INFO [EJBDeployer] Deployed: file:/C:/jboss4/jboss-4.0.1RC2/server
            /default/tmp/deploy/tmp23164SimpleMessage.ear-contents/simplemessage.jar
            09:06:34,294 INFO [EARDeployer] Started J2EE application: file:/C:/jboss4/jboss
            -4.0.1RC2/server/default/deploy/SimpleMessage.ear
            09:06:34,645 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
            0
            09:06:34,795 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
            09:06:34,815 INFO [JkMain] Jk running ID=0 time=0/80 config=null
            09:06:34,835 INFO [Server] JBoss (MX MicroKernel) [4.0.1RC2 (build: CVSTag=JBos
            s_4_0_1_RC2 date=200411302349)] Started in 50s:294ms
            09:06:54,424 INFO [EARDeployer] Init J2EE application: file:/C:/jboss4/jboss-4.
            0.1RC2/server/default/deploy/JBossDukesBank.ear
            09:06:57,158 WARN [verifier] EJB spec violation:
            Bean : CustomerBean
            Section: 12.2.2
            Warning: The class must be defined as public and must not be abstract.

            09:06:57,168 WARN [verifier] EJB spec violation:
            Bean : CustomerBean
            Section: 12.2.5
            Warning: Every entity bean must define the ejbFindByPrimaryKey method.

            09:06:57,168 WARN [verifier] EJB spec violation:
            Bean : CustomerBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se bean's local home interface, if any, in the <local-home> element.
            Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassL
            oaders found for: com.sun.ebank.ejb.customer.CustomerHome

            09:06:57,168 WARN [verifier] EJB spec violation:
            Bean : CustomerBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se bean's local interface, if any, in the element.
            Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade
            rs found for: com.sun.ebank.ejb.customer.Customer

            09:06:57,168 WARN [verifier] EJB spec violation:
            Bean : CustomerBean
            Section: 12.2.1
            Warning: The Bean Provider must provide a remote interface and a remote home int
            erface or a local interface and a local home interface for the bean.

            09:06:57,168 WARN [verifier] EJB spec violation:
            Bean : AccountBean
            Section: 12.2.2
            Warning: The class must be defined as public and must not be abstract.

            09:06:57,178 WARN [verifier] EJB spec violation:
            Bean : AccountBean
            Section: 12.2.5
            Warning: Every entity bean must define the ejbFindByPrimaryKey method.

            09:06:57,178 WARN [verifier] EJB spec violation:
            Bean : AccountBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se bean's local home interface, if any, in the <local-home> element.
            Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoa
            ders found for: com.sun.ebank.ejb.account.AccountHome

            09:06:57,178 WARN [verifier] EJB spec violation:
            Bean : AccountBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se 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

            09:06:57,178 WARN [verifier] EJB spec violation:
            Bean : AccountBean
            Section: 12.2.1
            Warning: The Bean Provider must provide a remote interface and a remote home int
            erface or a local interface and a local home interface for the bean.

            09:06:57,188 WARN [verifier] EJB spec violation:
            Bean : TxBean
            Section: 12.2.2
            Warning: The class must be defined as public and must not be abstract.

            09:06:57,188 WARN [verifier] EJB spec violation:
            Bean : TxBean
            Section: 12.2.5
            Warning: Every entity bean must define the ejbFindByPrimaryKey method.

            09:06:57,188 WARN [verifier] EJB spec violation:
            Bean : TxBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se 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

            09:06:57,188 WARN [verifier] EJB spec violation:
            Bean : TxBean
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterpri
            se 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

            09:06:57,188 WARN [verifier] EJB spec violation:
            Bean : TxBean
            Section: 12.2.1
            Warning: The Bean Provider must provide a remote interface and a remote home int
            erface or a local interface and a local home interface for the bean.

            09:06:57,568 ERROR [MainDeployer] could not create deployment: file:/C:/jboss4/j
            boss-4.0.1RC2/server/default/tmp/deploy/tmp23165JBossDukesBank.ear-contents/bank
            -ejb.jar
            org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
            d, 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.GeneratedMethodAccessor44.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:122)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.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:175)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
            tScanner.java:305)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
            canner.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)
            09:06:57,578 ERROR [MainDeployer] could not create deployment: file:/C:/jboss4/j
            boss-4.0.1RC2/server/default/deploy/JBossDukesBank.ear
            org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
            d, 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.GeneratedMethodAccessor44.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:122)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.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:175)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
            tScanner.java:305)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
            canner.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)

            • 3. Re: Error when deploying dukes bank application
              Jeff McDougal Newbie

              I too am getting errors from the JBoss deployer after a successful compile and packaging of the application.
              The error messages from the console follow:


              2005-02-09 09:09:18,234 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:18,234 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:18,234 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear -> C:\jboss-4.0.1\server\default\tmp\deploy\tmp49740JBossDukesBank.ear
              2005-02-09 09:09:18,795 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@15fb38
              2005-02-09 09:09:18,795 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:18,815 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
              2005-02-09 09:09:18,825 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: app-client.jar
              2005-02-09 09:09:18,835 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: bank-ejb.jar
              2005-02-09 09:09:18,865 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: web-client.war
              2005-02-09 09:09:18,875 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: roles.properties
              2005-02-09 09:09:18,885 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: users.properties
              2005-02-09 09:09:18,885 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
              2005-02-09 09:09:18,895 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@674064b3 { url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar }
              deployer: null
              status: null
              state: CONSTRUCTED
              watch: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              altDD: null
              lastDeployed: 0
              lastModified: 0
              mbeans:
              , isDirectory: false
              2005-02-09 09:09:18,895 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@368b4b1e { url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar }
              deployer: null
              status: null
              state: CONSTRUCTED
              watch: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              altDD: null
              lastDeployed: 0
              lastModified: 0
              mbeans:
              , isDirectory: false
              2005-02-09 09:09:18,895 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@f4427cd8 { url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client.war }
              deployer: null
              status: null
              state: CONSTRUCTED
              watch: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client.war
              altDD: null
              lastDeployed: 0
              lastModified: 0
              mbeans:
              , isDirectory: false
              2005-02-09 09:09:18,905 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:name=Default,service=LoaderRepository, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
              2005-02-09 09:09:18,905 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear
              2005-02-09 09:09:18,905 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@d19bc8, cl=org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=0}
              2005-02-09 09:09:18,905 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@d19bc8, cl=org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=0}
              2005-02-09 09:09:18,905 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=0}
              2005-02-09 09:09:18,915 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg:
              2005-02-09 09:09:18,935 DEBUG [org.jboss.deployment.MainDeployer] found 3 subpackages of file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:18,935 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              2005-02-09 09:09:18,935 DEBUG [org.jboss.deployment.ClientDeployer] Found a META-INF/application-client.xml file, di: org.jboss.deployment.DeploymentInfo@368b4b1e { url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar }
              deployer: null
              status: null
              state: CONSTRUCTED
              watch: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              altDD: null
              lastDeployed: 0
              lastModified: 0
              mbeans:

              2005-02-09 09:09:18,935 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.ClientDeployer@1d59d3c
              2005-02-09 09:09:18,935 DEBUG [org.jboss.deployment.ClientDeployer] looking for nested deployments in : file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              2005-02-09 09:09:18,945 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=40}
              2005-02-09 09:09:18,945 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              2005-02-09 09:09:18,945 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              2005-02-09 09:09:18,945 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.ejb.EJBDeployer@1f1680f
              2005-02-09 09:09:18,945 DEBUG [org.jboss.ejb.EJBDeployer] init, bank-ejb.jar
              2005-02-09 09:09:18,965 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              2005-02-09 09:09:18,995 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=40}
              2005-02-09 09:09:18,995 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              2005-02-09 09:09:19,005 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client.war
              2005-02-09 09:09:19,005 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@135605a
              2005-02-09 09:09:19,005 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init
              2005-02-09 09:09:19,005 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Unpacking war to: C:\jboss-4.0.1\server\default\tmp\deploy\tmp49740JBossDukesBank.ear-contents\web-client-exp.war
              2005-02-09 09:09:19,496 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Replaced war with unpacked contents
              2005-02-09 09:09:19,496 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: /bank
              2005-02-09 09:09:19,496 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client-exp.war/
              2005-02-09 09:09:19,516 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init
              2005-02-09 09:09:19,526 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client-exp.war/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@e72f0c{ url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear ,addedOrder=40}
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/web-client.war
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/app-client.jar
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying app-client.jar
              2005-02-09 09:09:19,526 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              2005-02-09 09:09:19,526 DEBUG [org.jboss.ejb.EJBDeployer] create, bank-ejb.jar
              2005-02-09 09:09:19,686 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.ear-contents/bank-ejb.jar
              2005-02-09 09:09:19,756 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-02-09 09:09:19,766 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-02-09 09:09:19,766 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-02-09 09:09:19,766 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-02-09 09:09:19,766 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-02-09 09:09:19,776 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-02-09 09:09:19,776 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-02-09 09:09:19,776 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-02-09 09:09:19,786 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-02-09 09:09:19,786 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-02-09 09:09:19,786 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-02-09 09:09:19,786 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-02-09 09:09:19,796 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-02-09 09:09:19,796 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-02-09 09:09:19,796 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-02-09 09:09:19,826 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: AccountControllerBean: Verified.
              2005-02-09 09:09:19,836 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: CustomerControllerBean: Verified.
              2005-02-09 09:09:19,846 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: TxControllerBean: Verified.
              2005-02-09 09:09:19,856 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
              2005-02-09 09:09:19,856 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
              2005-02-09 09:09:19,856 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
              2005-02-09 09:09:19,846 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp49740JBossDukesBank.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.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: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.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.GeneratedMethodAccessor10.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.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: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 $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:534)
              2005-02-09 09:09:19,866 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear
              org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.

              • 4. Re: Error when deploying dukes bank application
                Norman Richards Master

                Try using the most recent getting started guide. You are using a nearlier one that is targeted at an earlier update of the sun J2EE tutorial.

                • 5. Re: Error when deploying dukes bank application
                  Sébastien ARBOGAST Newbie

                  I've got exactly the same issue, which reassures me in a way. I think that the JBoss hack over the J2EE tutorial from sun doesn't take the last changes of the latter into account, which causes a bunch of incompatibility errors.

                  I really think that you guys should provide us with your own working and stable version of Duke's Bank application rather than giving us the link to download it if it's possible. Because obviously the code of the J2EE tutorial is not stable...

                  • 6. Re: Error when deploying dukes bank application
                    Norman Richards Master

                    The original getting started guide was written around the J2EE tutorial, and I'm sure it was a good idea at the time. But we can all agree that working with it is a big pain. We are working on a developing an entirely new getting started guide with no external dependencies and larger scope. Until then, as long as you stick to the right versions (tutorial update 4 and getting started guide release 3) then it will all work.

                    • 7. Re: Error when deploying dukes bank application
                      Sébastien ARBOGAST Newbie

                      I'm really happy that you chose to make a brand new getting started guide and I'm looking forward to its publication. But the problem is that until then, it's hard to stick to the right versions because Sun doesn't provide with links for older versions of the tutorial (or I didn't find those links).

                      Anyway for me it's not so bad since I'm using Presentation Server on top of JBoss but for other newbies it can be.

                      By the way JBoss is one of the most well documented J2EE servers and it's one of its major qualities. That's why I really appreciate your effort to write a new getting started and I'm sure every J2EE newbie does...

                      Good luck...

                      • 8. Re: Error when deploying dukes bank application
                        Jeff McDougal Newbie

                        Actually, I had the latest versions of both Sun's tutorial and JBoss' guide. I screwed up the unzip of the guide into the tutorial's directory structure. I've got it working now, but I agree that trying to learn JBoss from Sun's tutorial is not much fun. I've decided to work through the tutorial using
                        Sun's app server. I'll then turn my attention to JBoss.

                        • 9. Re: Error when deploying dukes bank application
                          fire-fly Newbie

                          Hi
                          I got the same the problem.
                          you mentioned " I screwed up the unzip of the guide into the tutorial's directory structure."

                          my j2eetutorial is in srcCode/j2eetutorial14.
                          cd srcCode/j2eetutorial14
                          unzip jbossj2ee-src.zip

                          which directory you purpose to unzip jbossj2ee-src.zip
                          ??