1 Reply Latest reply on May 11, 2007 9:57 AM by rcq

    jboss 3.2.1 in which jar file is org.jboss.ejb.plugins.cmp ?

    rcq

      hi all, i'm trying to find the right entity command for jboss 3.2.1 and sql server 2005.

      I've tried already several possibilities in standardjbosscmp-jdbc.xml, but currently i've got only one that works (but not completely):

      <entity-command
      name="get-generated-keys" class="org.jboss.ejb.plugins.cmp.jdbc.jdbc3.JDBCGetGeneratedKeysCreateCommand" />

      if i use this one, the row gets inserted in my table (with DB-generated identity), but later on in my application, i can not retrieve the ID.

      therefore, i tried others, but almost every other gives a "could not load class exception"...
      <!--<entity-command
      name="mssql-fetch-key" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand" />-->
      AND ALSO THIS ONE:
      <entity-command
      name="mssql-fetch-key" class="org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand " />


      error when starting up jboss:
      15:12:43,304 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      <none>
      Incompletely deployed packages:
      <none>
      MBeans waiting for classes:
      <none>
      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=LocalBridgeTypeEJB,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDBCIdent
      ityColumnCreateCommand , ObjectName: jboss.j2ee:jndiName=LocalHullTypeEJB,service=EJB


      so first I would like to know the jar file where the org.jboss.ejb.plugins.cmp.* is located.... I think i've already opened every jar file in the jboss installation, but i don't find it.

      anyone more experience with this?

        • 1. Re: jboss 3.2.1 in which jar file is org.jboss.ejb.plugins.c
          rcq

          i have found it by accident, after two days google-ing
          <entity-command
          name="mssql-fetch-key" class="org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand" />

          another question: where can i find the right documentation to know this configuration for jboss 3.2.1