1 Reply Latest reply on Mar 2, 2004 10:21 AM by osoe

    JBOSS CMP documentation

    osoe

      I need some help in deploying the ganster-cmp2.jar to JBOSS 3.2.3.
      I downloaded the JBossCMP30x.zip and extracted to some folder and rant "ant" to build the jar file.

      Build is successful and the jar was copied to the deploy folder under "default". In my JBoss console I get the following error message:

      15:27:58,203 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/gangster-cmp2.jar
      15:27:58,828 WARN [verifier] EJB spec violation:
      Bean : GangsterEJB
      Section: 10.6.2
      Warning: CMP entity beans may not define the implementation of a finder.
      
      15:27:58,937 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/deploy/gangster-cmp2.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
       at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
       at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      


      It is using the defult Hypersonic database and the document does not mention where to get the script to create the tables

      Thanks