Thu Jan 03, 9: You can not post a blank message. I found a very strange condtion: 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:. Criteria Usage Questions with keyword1 or keyword2 keyword1 keyword2 Questions with a mandatory word, e. After fresh installation, when user tries to start the PMPC solutions, the following error is displayed:. Please enable scripts and reload this page.

Uploader: Gokasa
Date Added: 20 November 2004
File Size: 60.23 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 56797
Price: Free* [*Free Regsitration Required]

Can you plz confirm the service that you want to access using API has been deployed as sling service or just a simple java class?

Here is another source of information that is related to your task. Even “recent” driver and JDK combinations may fail. But jdk 8 takes care of it.

Feedback Did this KB document help you? I then followed up with removing mysql-connector-java Another ,ysql to look out for is the syntax of the connection url.

Download the mysql jdbc driver and unzip it If you have not. Newer Post Older Post Home. This content has been marked as final. CustomerService cannot be resolved to a type” Thanks for your help.


Also I am using Java version 1. This way it is working for me.

Persisting Adobe CQ data in a relational database | Adobe Community

Say, if the installation directory is C: This page location is: Also make sure that you get your driver file into CQ. Yes I followed as is in the link. The reason you got this error: For starting up with new softwares and their installation, you can follow the links below. Copyright by Javin Paul What is curious is that nowhere is stated that connection provided shall be defined and no example show it.

Are you building and deploying your bundle to Maven some third party build tool or using CQ build using. This is strange — this code was tested on CQ 5.

This question has been asked before and already has an answer. What you should do is try and return a hard coded string in your code and comment out the JDBC app logic. 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.


tomcat-users mailing list archives

This document resolved my issue This document did not resolve my issue This document helped but additional information was required to resolve my issue What can we do to improve this information or fewer characters. Then see if you can call it from simple JSP like this: Last acquisition attempt exception: Skip to main content. 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 this is not a trivial case.

I also had the same problem some time before, but I solved that issue. You may be trying to access this site from a secured browser on the server. You might want to explain why the code works: YourFubarDriver” ; At least this solved this problem for me on one deployment. What can we do to improve this information or fewer characters.