facebook

myeclipse jboss and mysql [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #209251 Reply

    aharasymiw
    Member

    I am trying the detail xdoclet and jboss tutorial and everything is working properly until I try to deploy the application SimpleBean. At that poing I get the error below:

    [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; – nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: com.mysql.jdbc.Driver; – nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.mysql.jdbc.Driver))

    I have tryied adding mysql to the library list and I have checked jboss configuration, however I am not able to figure this out. Do you have any suggestions?

    #209256 Reply

    Riyad Kalla
    Member

    Have you dropped the mysql driver into the lib directory of your application server so it can find the driver and load it?

    #209274 Reply

    aharasymiw
    Member

    I tried to place the mysql-connector-java-3.0.14-production-bin.jar in the lib directory in jboss (the one under /jboss3.2.4) then I tried in the application src directory, then I tried adding the jar to the project. In the end what finally worked was to place the msys*.jar in
    /jboss3.2.4/server/default/lib. Thank you very much for your suggestion.

    #209287 Reply

    Riyad Kalla
    Member

    Ahh, I’m glad you found the solution and we appreciate you posting it here for others as well.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: myeclipse jboss and mysql [Closed]

You must be logged in to post in the forum log in