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 Connection
On Wed, Nov 10, 2010 at 3:02 AM, 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?
>
Some other DAOs are t
Sorry for that. I changed it 300 seconds.
On Wed, Nov 10, 2010 at 2:12 AM, Pid 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 conne
GP SIGNED 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
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. Her
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
org.apache.tomcat.dbcp.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.java:160
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 org.apache.commons.logging
On Thu, Nov 4, 2010 at 4:24 PM, Mark Thomas 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
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 connec
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 = dataSource.getConne
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 cr
icsBO.updateVisitor(StatisticsBO.java:27)
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 wrote:
yes I can get through SQLDeveloper.
On Thu, Sep 9, 2010 at 12:32 PM, Wesley Acheson wrote:
> On Thu, Sep 9, 2010 at 8:57 AM, sasidhar prabhakar
> wrote:
> > My application sometimes responding very slow.
> > When I observed the logs, it is showing these lines
> >
>
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 t
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: s
Thanks I will follow that
On Tue, Aug 17, 2010 at 6:12 PM, Pid 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
:
> On 17 August 2010 10:48, sasidhar prabhakar
> 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.
> >
Post your JDBC code
On Tue, Aug 17, 2010 at 4:23 PM, Sunil Sharma wrote:
>
> 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 jstack during hunged sta
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 consisten
; Hash: SHA1
>
> Sasidhar,
>
> 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.
>
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.
> >
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 th
22 matches
Mail list logo