This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?
Joined: Jul 13, 2004
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 ]