Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Help with Tomcat & Oracle on localhost
Hello!
My shop recently relocated our Oracle 10g instance to a new box. Since, this action, I can no longer run JSP's from my local host (Windows XP) running the Tomcat 5.5.17 web server that came with NetBeans 5.5.1.
However, the JSP's do connect to Oracle and run as they should on the HP UNIX host.
I was able to compile my JSP code using NetBeans on my local host and run it with Tomcat prior to the migration. I am using the J2EE 1.4 framework.
This is an extract of the error I get in Tomcat:
org.apache.jasper.JasperException: Exception in JSP: /gtc_ord.jsp:43
40: ResultSetMetaData rsmd; 41: 42: try { 43: Class.forName("oracle.jdbc.driver.OracleDriver"); 44: conn = DriverManager.getConnection(dbConn,"userName", "passWord");
When the above code runs on the Oracle Application Server, it is successful. Data is pulled from the database and the page displays as it should.
Actions Taken:
Does anyone out there have any ideas?
I prefer to develop code locally before deploying it to the UNIX server. This used to work.
Thank you, --- Mark Received on Tue Oct 23 2007 - 13:46:02 CDT