3 Replies Latest reply on May 10, 2004 4:36 AM by Darran Lofthouse

    jboss-4.0.0DR3: could not load class: JDBCKeyGeneratorCreate

    Klaus Dirlewanger Newbie

      Hello together,

      i´m just trying to migrate to JBoss version 4 (jboss-4.0.0DR3). I installed it, started ist, set up an initial server configuration, started it again, all works fine.

      But now I deployed an EAR-File that works fine on JBoss version 3 (jboss-3.2.0RC3_tomcat-4.1.18), started it and the server has some problems:

      org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDBCKeyGeneratorCreateCommand
       at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.<init>(JDBCEntityCommandMetaData.java:62)
       at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:799)
       at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCApplicationMetaData.java:311)
       at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:81)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:710)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:408)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:356)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)
       at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:344)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
       at $Proxy17.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:360)
       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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy47.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:344)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
       at $Proxy17.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:360)
       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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy15.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:551)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:856)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:360)
       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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
       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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
       at org.jboss.Main.boot(Main.java:144)
       at org.jboss.Main$1.run(Main.java:389)
       at java.lang.Thread.run(Thread.java:536)
      [/code>
      
      I found out that there is looked for
      
      org.jboss.ejb.plugins.cmp.jdbc.JDBCKeyGeneratorCreateCommand
      
      
      
      the only existing in jboss.jar
      is
      
      org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCKeyGeneratorCreateCommand
      
      
      
      Has anybody an idea? Or is it a bug?