Problem when trying to use mysql and adding adding ds.xml file to \server\default\lib
posted 4 years ago
I am trying to create an applicatoin with an entity bean ,
I have MySQL database
I put under server\default\lib
the mysql-connector-java-5.1.13-bin.jar and mysql-ds.xml
When starting Jboss ( I am using Eclipse Helios )
I am getting the following exception :
Failed to mount "/C:/Java/jboss-18.104.22.16801110-CR1/server/default/lib/mysql-ds.xml"
Am I missing anything ??
1) Please upgrade to JBoss AS 6.0.0.Final instead of using a CR version
2) The -ds.xml file is expected to be placed in JBOSS_HOME/server/<servername>/deploy folder. Only the driver jar file is expected to be in JBOSS_HOME/server/<servername>/lib folder.