Hi,

 

Has anyone seen the similar error message when you deploy a local entity bean (as CMP) that will access a MySQL database table in JBOSS 3.0.0alpha? I had successfully setup the same bean in the JBOSS 2.4.4 as a BMP. The data source and JDBC connection were setup in the jboss.jcml xml file but couldn’t find similar setting in the JBOSS 3.0.0alpha’s setting xml files.

 

Any advice and suggestion are greatly appreciated.

 

Frank

 

=================

 

[09:43:13,521,ContainerFactory] Could not deploy file:/D:/java/jboss-3.0.0alpha/deploy/Default/mapservice.jar

org.jboss.ejb.DeploymentException: Error: can't find data source: java:/MySQLDS

        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.init(JDBCStoreManager.java:113)

        at org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:141)

        at org.jboss.ejb.EntityContainer.init(EntityContainer.java:313)

        at org.jboss.ejb.Application.start(Application.java:201)

        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:382)

        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:308)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

 

Reply via email to