Writing that "I put jar files in all directories" I meant in all directories
where they should be ,so:
common/lib
/lib
webapps/dss/WEB-INF/lib
Pawel
-----Original Message-----
From: Vikramjit Singh [mailto:vikramjits@gtllimited.com]
Sent: Wednesday, June 19, 2002 10:27 AM
To: 'Tomcat Users List'
Subject: RE: Database connection - Catalina
you have to put all your jar files in common/lib.
Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031
-----Original Message-----
From: Skorupski Pawel ,(PZUZ) [mailto:P.Skorupski@pzuzycie.com.pl]
Sent: Wednesday, June 19, 2002 1:34 AM
To: 'Tomcat Users List'
Subject: RE: Database connection - Catalina
I put jdbc driver in all directories, in "regular directory" and in jar
file. In Tomcat 3.2 it worked, not in 4.0.
Pawel
-----Original Message-----
From: John Gregg [mailto:john.gregg@techarch.com]
Sent: Monday, June 17, 2002 7:12 PM
To: 'Tomcat Users List'
Subject: RE: Database connection - Catalina
Tomcat probably isn't finding your jdbc driver. The exception's
getMessage() method is returning a class name, which usually means
ClassNotFoundException or ClassCastException. Read this:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
john
-----Original Message-----
From:
tomcat-user-return-22871-john.gregg=techarch.com@jakarta.apache.org
[mailto:tomcat-user-return-22871-john.gregg=techarch.com@jakarta.apache.
org]On Behalf Of Skorupski Pawel ,(PZUZ)
Sent: Monday, June 17, 2002 7:32 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: Database connection - Catalina
Hello,
I've got a problem with Tomcat 4.0 (Catalina). After setting up REALM:
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority?user=test&password=test"
userTable="users" userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
I can not connect to mysql server which is running on localhost. The error I
received is:
Catalina.start:Lifecycle Exception: Exception opening database connection:
java.sql.SQLException: org.gjt.mm.mysql.Driver
I ran through many faq's lists and the only solution I found was: check
tables, all names etc. I've checked not twice but ten times receiving the
same type of error.
I use FORM type of authentication. Everything was ok with Tomcat 3.2 and got
worse after installing new version of Tomcat. Libraries: org.jar,
servlet.jar are added to classpath.
I would be grateful for any help.
Pawel
--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|