when i deploy a entity bean, i encounter an error like this: 

2004-05-17 08:41:35,810 WARN [org.jboss.system.ServiceController] Problem starting 
service jboss.j2ee:jndiName=City,service=EJB 
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : 
datasource-mapping MYSQL not found 
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:374)
 
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:237)
 
... 

in standardjbosscmp-jdbc.xml i defined 
   < datasource >java:/MYSQLDS < /datasource >
   < datasource-mapping >MYSQL< /datasource-mapping> 
and in standardjaws.xml i defined 
   < datasource >java:/MySqlDS< /datasource >
   < type-mapping >mySql< /type-mapping >

did i do anything wrong? what might cause such an error?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to