Hey.... yea it just doesent seem to want to work... i tried creating a simple
.jsp file as well which connects to the database using the driver but still
no luck....
when i do echo $CLASSPATH... this is what i get:
/usr/local/apache-tomcat-6.0.16/common/lib/jsp-api.jar:/usr/local/apache-tomcat-6.0.16/common/lib/servlet-api.jar:/usr/share/java/mysql-connector-java-5.1.5.jar:/usr/lib/jvm/java-1.5.0-sun/jre/lib/mysql-connector-java-5.1.5.jar:/usr/lib/jvm/java-6-sun/jre/lib/mysql-connector-java-5.1.5.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/mysql-connector-java-5.1.5.jar
I am pretty sure it is the way i have added the connector jar to the
classpath....
Pinaki Poddar wrote:
>
> Hi,
> Do a Class.forName("com.mysql.jdbc.Driver") in the very first line of
> whatever test program to see if your environment can find the driver
> OpenJPA needs.
>
--
View this message in context: http://n2.nabble.com/%3Copenjpa-1.1.0-r422266%3A657916-nonfatal-general-error%3E------tp642040p662046.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
|