• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem when trying to use mysql and adding adding ds.xml file to \server\default\lib

 
lucio bosque
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to create an applicatoin with an entity bean ,
I have MySQL database
I put under server\default\lib
2 files
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-6.0.0.20101110-CR1/server/default/lib/mysql-ds.xml"
Am I missing anything ??

thanks
Lucio
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic