Please stop top posting.

On 26.07.2011, at 12:02, A Df wrote:
>> On 25.07.2011, at 22:40, A Df wrote:
>> 
>>> Dear All:
>>> 
>>> I have read numerous posts and documentation and now I really need help.
>>> 
>>> 
>>> I am using the following:
>>> 
>>> Product Version: NetBeans IDE 7.0 (Build 201104080000)
>>> 
>>> I performed the steps below as follows:
>>> 
>>> I have added the MySQL Connector/J JDBC Driver to the $CATALINA_HOME/lib 
>>> directory
>>> However, it gives the error:
>>> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver
>>> OR
>>> java.sql.SQLException: No suitable driver
>> 
>> Are you launching Tomcat from within Netbeans? Then I'd suspect that 
>> Netbeans sets it 
>> up with its own configuration, and esp. with a project specific class path. 
>> Most instructions
>> out there imply that you launch Tomcat with the supplied scripts or service 
>> utilities, and not with 
>> an IDE plugin.
>> 
>> Try
>> * launching Tomcat manually, by shell/batch scripts OR
>> * add the JDBC driver also to your Netbeans project class path

> Hi Rainer:
> 
> I had already added the JDBC driver to my Netbeans project class path and 
> that worked for awhile then stopped.

Well sorry, no idea, as I don't use Netbeans. Maybe ask on a Netbeans 
list/forum.
> 
> I will have to do some reading on launching Tomcat manually by shell/batch 
> scripts but I don't have much time as I have a deadline to meet which is my 
> major concern.

Not much to read. See RUNNING.txt in a tomcat distribution. $CATALINA_HOME/lib 
is the correct place for the driver.

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to