tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Serje (@canada.com)" <jse...@home.com>
Subject Re: oracle - tomcat connection/performance /configuration problem
Date Sat, 16 Dec 2000 14:04:09 GMT
Are you closing all JDBC objects, including ResultSets AND Statements? you
must close them explicitly.

You may also consider a connection pool. You may find references in the
tomcat user mail archives and in  java.sun.com.

Julio

----- Original Message -----
From: rahul pawar <rahulrp@usa.net>
To: <tomcat-user@jakarta.apache.org>
Cc: <tomcat-user-help@jakarta.apache.org>; <xheemske@factotum.nl>;
<georgecheng@olvision.com>
Sent: Saturday, December 16, 2000 1:07 AM
Subject: oracle - tomcat connection/performance /configuration problem


hello sir,
i am working on tomcat-apache on linux.
i have employ.jsp file which opens connection and connects to the oracle
database and retrives the results from the EMP table and it closes the
connection. it works fine for first few attempts but on requesting it
continiously , gets hanged and bumps an error saying document contained no
data try again later. is this a tomcat-apache performance /configuration
problem. if so any solution for configuration.

 It seems that the problem is with the closing of the connection. beacuse
everthing works fine and displays the output on the console till i end the
connection.

any solutions please reply i would be highly obliged.

Thanks in Advance
Rahul .Pawar




____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


Mime
View raw message