1 Reply Latest reply on May 11, 2007 9:57 AM by Roberto Cabeceiro Quint

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

    Roberto Cabeceiro Quint Newbie

      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):

      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"...
      name="mssql-fetch-key" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand" />-->
      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:
      Incompletely deployed packages:
      MBeans waiting for classes:
      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?