6 Replies Latest reply on Jul 23, 2005 3:54 PM by Timothy Murray

    JBossDukesBank

    Timothy Murray Newbie

      Howdy all.

      Envirionment:
      java version "1.5.0_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
      Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

      jboss04.0.2

      j2ee-1_4-doc-tutorial_2.zip

      jbossj2ee-src.zip

      Everything builds nicely, database connection works fine, but when I deploy

      ant -f jboss-build.xml deploy


      I get a bunch of warnings about the EJB's not complying with the standard :
      Here is the first:

      BUILD SUCCESSFUL
      Total time: 1 second
      bash-3.00# 12:08:11,769 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/JBossDukesBank.ear
      12:08:12,944 WARN [verifier] EJB spec violation:
      Bean : CustomerBean
      Section: 10.6.2
      Warning: The entity bean class must be defined as public and abstract.


      a bunch of similar warnings scroll by and then the exception dump
      at the bottom of this post.

      If anybody can provide a pointer to information on how to fix this, I would much appreciate it.

      thx.

      t.


      12:20:36,197 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-4.0.2/server/default/tmp/deploy/tmp50781JBossDukesBank.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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       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:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
       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)
      12:20:36,235 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-4.0.2/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.GeneratedMethodAccessor48.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:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       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:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
       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)
      
      
      
      


        • 1. Re: JBossDukesBank--figured it out!
          Timothy Murray Newbie

          Howdy all,


          Fixed it.

          On a whim, I replaced the j2ee-1_4-doc-tutorial_2.zip with the
          j2ee-1_4-doc-tutorial_4.zip.

          did the basic jboss-build.properties config , redeployed the ear and
          restarted the server.

          All the server messages came up correctly just like the documenation for
          4.0 startguide.pdf says.


          Glad that's over, hope it helps somebody else.

          t.

          • 2. Re: JBossDukesBank
            papabaugh Newbie

            Thank you, tmurray, it did help somebody else: me.

            If anyone else is having this problem - on 2005-06-20, Sun released update 5 to the j2ee-1_4-doc-tutorial. So use the file j2ee-1_4-doc-tutorial_5.zip. j2ee-1_4-doc-tutorial_4.zip, mentioned above doesn't appear to be available any longer. Update 5 works fine. -Ryan

            • 3. Re: JBossDukesBank
              D Torrejón Newbie

              Hi PapaBaugh and TMurray,

              I'm having the same problem when I deploy the JBossDukeBank, and I'm using the j2ee-1_4-doc-tutorial_5.zip

              Any idea?

              11:08:46,705 WARN [verifier] EJB spec violation:
              Bean : CustomerBean
              Section: 22.2
              Warning: The Bean Provider must specify the fully-qualified name of the Java cla
              ss that implements the enterprise bean's business methods in the <ejb-class> element.
              .......
              11:08:46,725 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
              0.2RC1/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)
              ...
              


              Many thanks in advance

              • 4. Re: JBossDukesBank
                D Torrejón Newbie

                Hi PapaBaugh and TMurray,

                I'm having the same problem when I deploy the JBossDukeBank, and I'm using the j2ee-1_4-doc-tutorial_5.zip

                Any idea?

                11:08:46,705 WARN [verifier] EJB spec violation:
                Bean : CustomerBean
                Section: 22.2
                Warning: The Bean Provider must specify the fully-qualified name of the Java cla
                ss that implements the enterprise bean's business methods in the <ejb-class> element.
                .......
                11:08:46,725 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
                0.2RC1/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)
                ...
                


                Many thanks in advance

                • 5. Re: JBossDukesBank
                  NGUYEN Hong-Thai Newbie

                  I've same problem. I tried with *4 and *5. The same pro exists. Some one help me ?

                  • 6. Re: JBossDukesBank
                    Timothy Murray Newbie

                    Hi,

                    Just to get back in the swing of it, I removed the DukesBank.ear file from the server/default/deploy directory and tried to build it again from scratch.

                    Here goes again:

                    Envirionment:
                    java version "1.5.0_02"
                    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
                    Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

                    jboss04.0.2

                    j2ee-1_4-doc-tutorial_5.zip (The latest, per PapaBaugh)

                    jbossj2ee-src.zip (special jboss build files for the tutorial)

                    I followed the directions in Chapter 4 Dukes Bank Application of the jboss startguide40.pdf documentation.
                    (I did not re-populate the database as I saw no need to).

                    The application is working fine so know I get to teach myself j2ee! wee!

                    Hope it helps,

                    t.