0 Replies Latest reply on Sep 4, 2006 9:33 PM by John Thomas

    CMP problem with MySQL Data Source

    John Thomas Newbie

      I cannot seem to get any of my CMP Entity Beans to work. I keep getting the following exception when I run jboss:

      org.jboss.deployment.DeploymentException: Couldn't create entity command: ; - ne
      sted throwable: (java.lang.NullPointerException)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateEntityC
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDB
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
      at org.jboss.ejb.EntityContainer.startPmAndInterceptors(EntityContainer.
      at org.jboss.ejb.EjbModule.startService(EjbModule.java:422)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart

      Can someone please point me in the right direction or give me clues as to what could be wrong. The connection to the database is working as I have verified this via a client application. I have the following files configured as well, jbosscmp-jdbc and jaws. Is there something I'm missing here, getting a little frustrated. Thanks,