hi,
we are using tomcat 6, jdk1.5, CentOS 5, with 4gb of ram, data base is
Oracle 11g.
For the past one month we are getting this problem before that we don't.
Tomcat hangs after running for several hours.
Means initially it is taking around 24hr now it is hanging every 3 to 4 hr
we can not say
.
On Tue, Dec 15, 2009 at 9:48 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sasidhar,
On 12/15/2009 9:21 AM, sasidhar prabhakar wrote:
Tomcat hangs after running for several hours.
Means initially it is taking around 24hr now
,
On 12/15/2009 11:17 PM, sasidhar prabhakar wrote:
DDOS is definitely not the cause we are accurately monitoring the
incoming
traffic and all the mails we are sending from the application are user
generated like friend requests.
Ok.
we are unable to identify the cause by seeing thread
Tomcat hangs ever few hours.
In server.xml maxThreads are 300.
In thread dump I observed every thread doing the same thing.
In my code I sends sms to users by using HttpURLConnection.
I am using this code for months I didn't get the problem earlier.
For few days I am getting this problem
Post your JDBC code
On Tue, Aug 17, 2010 at 4:23 PM, Sunil Sharma sunil.sharm...@hotmail.comwrote:
Hi All,
Kindly help me to resolve an issue in our production system, where tomcat
is frequenctly getting hunged and axis request threads are been in BLOCKED
state. Below is the snaphot of
peter.crowt...@melandra.com
wrote:
On 17 August 2010 10:48, sasidhar prabhakar sasidhar1...@gmail.com
wrote:
In thread dump I observed every thread doing the same thing.
In my code I sends sms to users by using HttpURLConnection.
I am using this code for months I didn't get the problem earlier
Thanks I will follow that
On Tue, Aug 17, 2010 at 6:12 PM, Pid p...@pidster.com wrote:
On 17/08/2010 10:48, sasidhar prabhakar wrote:
Tomcat hangs ever few hours.
*Exact* Tomcat, JVM and OS versions?
In server.xml maxThreads are 300.
In thread dump I observed every thread doing
I don't know what wireshark is can we install it in production servers. If
my webapp is not handling the responses what can I do.
Could you please suggest that.
On Tue, Aug 17, 2010 at 9:22 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: sasidhar prabhakar [mailto:sasidhar1
My application sometimes responding very slow.
When I observed the logs, it is showing these lines
Cannot get a connection, pool error Timeout waiting for idle object.
The maximum connections on oracle I set 150.
When I query for present sessions or process it is showing 70 to 80 and
decreasing
yes I can get through SQLDeveloper.
On Thu, Sep 9, 2010 at 12:32 PM, Wesley Acheson wesley.ache...@gmail.comwrote:
On Thu, Sep 9, 2010 at 8:57 AM, sasidhar prabhakar
sasidhar1...@gmail.com wrote:
My application sometimes responding very slow.
When I observed the logs, it is showing
)
at org.apache.jsp.jsp.common_jsp._jspService(main_jsp.java:650)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
On Thu, Sep 9, 2010 at 2:31 PM, Mark Thomas ma...@apache.org wrote:
On 09/09/2010 07:57, sasidhar prabhakar
hi,
We are running application on
Apache Tomcat Version 6.0.29
Java Version 1.5.0_22
CentOS 5
I didn't understand below, in DAO class everything fine.
Connection,PreparedStatement,ResultSet are all declared method local, and
closed properly.
Please guide me to solve the problem.
DBCP object
We are using struts and following DAO pattern.
This is the code
public String getCountryName(long ipSum){
String name = null;
Connection connection = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
try{
connection =
Yes it is.
I have one doubt. Is abandoned trace really shows the code where the
connection established and did not close it.
Is remove abandoned, will close the connection after time out and places it
back to pool. Is it really closes the connection?
for example I configured pool with 200
On Thu, Nov 4, 2010 at 4:24 PM, Mark Thomas ma...@apache.org wrote:
On 04/11/2010 05:01, sasidhar prabhakar wrote:
Is abandoned trace really shows the code where the
connection established and did not close it.
Yes.
The code I posted above is clean and properly closed all
The complete class has only two methods. And class is
import connection.ConnectionUtil;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Calendar;
import javax.sql.DataSource;
import
The class is fine but in log it is showing this one. Here everything closed
fine.
Then why it is showing like this
DBCP object created 2010-11-04 11:07:59 by the following code was never
closed:
java.lang.Exception
at
On Thu, Nov 4, 2010 at 9:10 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sasidhar,
On 11/4/2010 8:34 AM, sasidhar prabhakar wrote:
The class is fine but in log it is showing this one. Here everything
closed
fine.
Then why
MESSAGE-
Hash: SHA1
Sasidhar,
On 11/8/2010 12:31 AM, sasidhar prabhakar wrote:
On Thu, Nov 4, 2010 at 9:10 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
I have found that these exceptions can occur even when there is no leak.
Specifically, if your SQL query takes
Sorry for that. I changed it 300 seconds.
On Wed, Nov 10, 2010 at 2:12 AM, Pid p...@pidster.com wrote:
On 10/11/2010 06:51, sasidhar prabhakar wrote:
After changing time out value now I am getting this problem
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection,
pool
On Wed, Nov 10, 2010 at 3:02 AM, Pid p...@pidster.com wrote:
On 04/11/2010 12:04, sasidhar prabhakar wrote:
dataSource = ConnectionUtil.getDataSource();
}
Is the class you posted the only DAO? Could the leak be from another
class?
Some other DAOs are there. Which takes more than
:
On 10/11/2010 09:02, Pid wrote:
On 04/11/2010 12:04, sasidhar prabhakar wrote:
dataSource = ConnectionUtil.getDataSource();
}
Is the class you posted the only DAO? Could the leak be from another
class?
Can you post ConnectionUtil.java?
Given the SQL seen so far and that some queries
22 matches
Mail list logo