[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CMP problem with MySQL Data Source

miecma do-not-reply at jboss.com
Mon Sep 4 21:33:49 EDT 2006


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
ommand(JDBCCommandFactory.java:174)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDB
CStoreManager.java:481)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
r.java:396)
        at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
er.java:172)
        at org.jboss.ejb.EntityContainer.startPmAndInterceptors(EntityContainer.
java:1063)
        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,

John

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969338#3969338

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969338



More information about the jboss-user mailing list