aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem when trying to use mysql and adding adding ds.xml file to  \server\default\lib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem when trying to use mysql and adding adding ds.xml file to  \server\default\lib" Watch "Problem when trying to use mysql and adding adding ds.xml file to  \server\default\lib" New topic
Author

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

lucio bosque
Greenhorn

Joined: Apr 28, 2010
Posts: 11
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

Joined: Jul 20, 2005
Posts: 10033
    
163

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.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem when trying to use mysql and adding adding ds.xml file to \server\default\lib