yes it will

shutdown tomcat and edit the server.xml file by hand.
(add the ResourceParams entry under your context)
add the necessary entries, start tomcat and the admin console should work.

(at least that's what happens with my tomcat 4.1.18)
hope this helps,
cristi

-----Original Message-----
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 11:03 AM
To: Tomcat Users List
Subject: Cannot load JDBC driver class 'null'


hello

I have run into that problem too, I defined a datasource and put driver and
common/lib and defined <resource-ref> in web.xml
of my web. app.  but if throws exception when I try to get a connection from
datasource I have found.

I tried to do it at home with different database with the same result, so I
dont think I have mistyped something.

I know this problem has been adressed before but I havent found any solution
from maillist archives.

BTW I have found one related thing:  If you open Tomcat admin tool, choose
host -> context -> <context name> -> Data sources
it will throw an exception:

org.apache.jasper.JasperException: Exception retrieving attribute
'driverClassName'

so...

I there any known solution ?


Maris Orbidans
www.datapro.lv

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to