Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss not recognizing the mysql driver

Vilpesh Mistry
Ranch Hand
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Well iam developing an application using EJb,JBoss and mysql.
Jboss version is jboss-4.0.3
mysql driver used is mysql-connector-java-3.1.2
I extracted & have copied the mysql-connector-java jar file in the folder
server/default/lib of jboss.

I have restarted my jboss server after copying the jar file.After invloking http://localhost:8080/jmx-console--- i have clicked on the link
"name=Default,Service=LoaderRepository" on the JImplementation domain.
On the Page displayed,now i have typed "com.mysql.jdbc.Driver" under the ParamValue column of displayClassInfo() and clicked on Invoke button.
This displays
"com.mysql.jdbc.Driver Information
Not Loaded in Repository Cache

### Instance 0 found in UCL"

With repeated restarts of jboss i get the same result.

Now with above resut displayed i understand that jboss is not loading the driver class.
1>Does it mean i wont be able to connect to jboss from jboss.

What do i do...

Thanks & Regards
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic