Home » Developer & Programmer » JDeveloper, Java & XML » JDBC Connectivity error
JDBC Connectivity error [message #91697] Sun, 12 January 2003 22:42 Go to next message
workdude
Messages: 1
Registered: January 2003
Junior Member
i have set classpath correctly i guess
but it gives me the following error when connecting to the database
can somebody guide me ?
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred between lines: 12 and 63 in the jsp file: /jdbc.jsp

Generated servlet error:
/cis/castor/projects/srb5588/tomcat/jakarta-tomcat-4.0.6/work/Standalone/localhost/_/jdbc$jsp.java:69: ')' expected.
conn=DriverManager.getConnection("jdbc:oracle:thin:@oracle.cis.ksu.edu:1521:ORACLE,"vva4499","vva4499
Re: JDBC Connectivity error [message #91714 is a reply to message #91697] Sun, 19 January 2003 05:17 Go to previous messageGo to next message
Dave B
Messages: 2
Registered: January 2003
Junior Member
Can you post the lines in your JSP or generated servlet starting from Class.forname and perhaps the next 10-15 lines (which should show an attemp to execute a query). Change any password info.

Also check to see if the JDBC driver you use has any known bugs.
Re: JDBC Connectivity error [message #92373 is a reply to message #91697] Fri, 18 June 2004 00:16 Go to previous message
Ritu
Messages: 5
Registered: July 2000
Junior Member
type-exception report
javax.servlet.servletexception:[[ODBC driver manager]]invalid cursor state.
Previous Topic: websphere+jdbc pool+oracle amd JDBC thin driver and encryption
Next Topic: Accessing 'Q' from Java
Goto Forum:
  


Current Time: Fri Apr 26 20:26:58 CDT 2024