• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

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

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic