Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MySQL Datasource

 
Jotnarta Jot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Any one know how to configure a mysql datasource in JBoss??? I am using JBoss 5 and mysql 5, I tried everything, and read everything, , can anyone help me , pleassssssssse... I always get the following error


following is my mysql-ds.xml file:


and following is my client:


Another questions is, do i have to change something in other files?? and where can i find the log for JBoss server???

Any help please???
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this the same as what is being discussed in your other post here?
 
Jotnarta Jot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, I am still trying to solve this problem, but I couldn't
 
Jotnarta Jot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

Here is the solution for my problem..

In JBoss 5, you have to put the mysql-ds.xml file in the following location:
$JBOSS_HOME/server/all/deploy... It's different than JBoss 4..

Thank you alot
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume then that you are running the 'all' configuration. Where did you have the file before?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic