Problems with Tomcat and Jdbc
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hai_Yang
Posted On:   Wednesday, April 18, 2001 02:23 AM

I have install Apache,Tomcat 3.2.1 and Oracle client in a NT server. Application using jdbc can work normally in the machine. However, servlet using jdbc cann't be browsed, I get the message: Thank you Error: 500 Location: /examples/servlet/Servlet1 Internal Servlet Error: java.lang.UnsatisfiedLinkError: make_c_state at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method) at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:148) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:103) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConn   More>>

I have install Apache,Tomcat 3.2.1 and Oracle client in a NT server.
Application using jdbc can work normally in the machine. However,
servlet using jdbc cann't be browsed, I get the message: Thank you

Error: 500
Location: /examples/servlet/Servlet1
Internal Servlet Error:

java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:148)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at Servlet1.getConnection(Servlet1.java:102)
at Servlet1.doGet(Servlet1.java:28)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

   <<Less
About | Sitemap | Contact