tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Ma" <anton...@system-pro-solutions.com>
Subject RE: jdbc, oracle, connection problem
Date Wed, 10 May 2000 17:45:54 GMT
Do you change your computing enviornment? 
It seems to me the JDBC driver is not working or not the correct version for your computing
enviornment.

Try the JDBC driver version for 8.1.5. In most case it works.


Antony 

-----Original Message-----
From:	Benjamin M. Ohloff [SMTP:benjamin.ohloff@wwl.de]
Sent:	Wednesday, May 10, 2000 3:24 PM
To:	tomcat-user@jakarta.apache.org
Subject:	jdbc, oracle, connection problem

Hi!

I want to connect from a servlet to my oracle-db. in the old days (with
apache and jserv) everything worked fine. now under tomcat i get after a few
seconds an error message (see below). it is no problem with the driver i
think (thin driver) and no username/passwort problem. the oracle listener
listens on port 1521 and seems to work fine. is there any problem with
tomcat and jdbc/oracle ??? does it work different from apache/jserv in case
of connecting to a database???

error: No more data to read from socket

StackTrace: java.sql.SQLException: No more data to read from socket at
oracle.jdbc.dbaccess.DBError.check_error(DBError.java) at
oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java) at
oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java) at
oracle.jdbc.ttc7.Oclose.receive(Oclose.java) at
oracle.jdbc.ttc7.TTC7Protocol.close(TTC7Protocol.java) at
oracle.jdbc.driver.OracleStatement.close(OracleStatement.java) at
oracle.jdbc.driver.OracleConnection.initUserName(OracleConnection.java) at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java) at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java) at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at
java.sql.DriverManager.getConnection(DriverManager.java:83) at
java.sql.DriverManager.getConnection(DriverManager.java:126) at
test2.doGet(test2.java:41) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156) at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
) at java.lang.Thread.run(Thread.java)


Sincerly
Benjamin M. Ohloff

Benjamin M. Ohloff, M.A.    benjamin.ohloff@wwl.de
Development wwl interactive

WWL Internet GmbH
Magdeburger Stra?e 13                http://wwl.de
4. Boden               Tel: ++49/ 40/ 303 793 9-17
D-20457 Hamburg        Fax: ++49/ 40/ 303 793 9-11
Germany                Mobile: +49/ 172/ 301 65 97


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message