openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anish <ab...@doc.ic.ac.uk>
Subject Re: <openjpa-1.1.0-r422266:657916 nonfatal general error> ????
Date Thu, 31 Jul 2008 10:06:54 GMT

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.


Mime
View raw message