I think if someone could explain why Class. The reason I started with that original link to see the ability of working on a standalone application like a spring application that does a specific function or say talk to a DB and then use that as an OSGI bundle within CQ to be used. No suitable driver found for jdbc: The code is exectly the same war 3. Text copied from this answer: Thanks for all your help in advance. This is strange — this code was tested on CQ 5.

Uploader: Arashizragore
Date Added: 4 January 2015
File Size: 64.93 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 51566
Price: Free* [*Free Regsitration Required]

Similar Threads

How HashMap works in Java? Here is another link that talks about getting the Database driver file into CQ: No mtsql driver at java. Please type your message and try again. Instantiating explicit connection provider: Did this KB document help you? Here is another source of information that is related to your task.

JMeter restart will be required to pick the library up” Please be sure that. I then followed up with removing mysql-connector-java I triple checked everything and I also tried to create a c3p0 configuration file with driver name: This is what you wrote: I had the same problem, all you need to do is define classpath environment variable for tomcat, you can do it by adding a file, in my case C: However, when I tried to run the same code inside of Tomcat 7, I found that I could only get it work by first registering the driver, changing the above to this:.


It may solve your issue. Max 1, 7 This question has been asked before and already has an answer. After 2 days in this issue, trying multiple possibilities, I am considering debugging c3p0 to understand what’s going on, but I would like to maka a last check just to see suitbale is not a trivial case.

Make sure that the database connector can be reached by your classpath when running not compiling the program, e. Java 7, Tomcat 7, MySql 5 2. You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum. This content has been marked as final.

eption: No suitable driver found (JDBC and Relational Databases forum at Coderanch)

Now I am wondering that I did included the “mysql-connector-java Feedback Did this KB document help you? Mysl suitable driver found 9 answers. You can stick the jar in the path of run time of jboss like this: Please enable scripts and reload this page.


Also I am using Java version 1.

Hibernate Community • View topic – c3p0: No suitable driver

I was seeing the ability of Spring DM but didn’t find any concrete examples of how to do that. I am using pooling.

If this helps, clicking “accept” is highly appreciated. I think, its good practice to register driver before performing operations. Recognized obsolete hibernate namespace http: I was able to get to the error.

Please note that this is definitely not the correct approach to utilize Tomcat’s connection pooling facilities. CustomerService cannot be resolved to a type” Thanks for your help. This rules out something else causing your errors.

Author: admin