2 Replies Latest reply on Oct 5, 2004 10:17 AM by SaurabhVyas

    jboss4 JDBCPkSqlCreateCommand

    thorsten maus Newbie

      im trying to deploy a simple entity bean to jboss4 ...
      the bean was properly deployed to jboss 3.2.5 ...
      has anyone seen this error before ??


      12:54:09,611 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=User,service=EJB
      org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDBCPkSqlCreateCommand
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:62)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:280)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:72)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:719)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:417)

        • 1. Re: jboss4 JDBCPkSqlCreateCommand
          thorsten maus Newbie

          looks to me as if the server is looking into the wrong path ...
          if you look at the sources youll find the class in

          jboss-4.0.0RC1-src/server/src/main/org/jboss/ejb/plugins/cmp/jdbc/keygen/JDBCPkSqlCreateCommand.java

          in the logfile the "keygen" is missing ..

          the next question would be .. how do i get around this ???

          • 2. Re: jboss4 JDBCPkSqlCreateCommand
            SaurabhVyas Newbie

            I am getting the same error when i place the .ear file of my project in JBoss4 at an appropriate place. Here i am using hsql as my database. Can anyone plz help me how to solve this error.
            =========== My Error ================
            17:12:57,234 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ApplicationInfo,service=EJB
            org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.hsqldb.JDBCHsqldbCreateCommand
            at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:112)
            at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:906)
            at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:363)
            at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
            at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
            at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
            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:141)