I am trying to connect to Sybase database from Tomcat 1) Included the <Resource> and <ResourceParams> tag in server.xml 2) Inlcuded <resource-ref> tag in web.xml file 3) Included the driver jar file in <tomcat>/common/lib folder.
Get the following exception when i try to lookup the datasource
SQLException : Cannot create JDBC driver of class '' for connect URL 'null'
Does anything more need to be done?
posted 11 years ago
Got it working. Strangely though, the "How-to" section in Tomcat(5.0.30) docs doesn't make a mention of <context> tag in server.xml - just had to include this and it worked. [ July 08, 2005: Message edited by: PNS Subramanian ]