Re: Servlet Memory Leak

2008-08-29 Thread Richard S. Huntrods
I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a Windows 2003 server. I have been looking into memory profiling to help me find the leak but nothing seems to be or do what I need. Simply put I want a list of all of the objects/primitives (and if possible their values)

Re: Would like to monitor memory use offline

2008-08-12 Thread Richard S. Huntrods
Richard, Richard S. Huntrods wrote: | Everything is local except the pooled connections, so I would say this | is the problem. This code was originally written before tomcat had good | connection pools, and so I had to write my own. The pool is basically a | vector of connections. I wouldn't

Re: Would like to monitor memory use offline

2008-08-12 Thread Richard S. Huntrods
Chris, | If I close the resultset AND the statement, then the connector | should release all the objects created by those two. The connection is, | after all, just a pipe between the database and the java code. The | connector should not (IMO) be hanging on to statement or resultset | objects

Re: Would like to monitor memory use offline

2008-08-11 Thread Richard S. Huntrods
Richard, Richard S. Huntrods wrote: | Richard, | | Richard S. Huntrods wrote: | |public static Vector listLookup(String table) { | | //Connection connection = null; // connection is managed by a | | connection pool | | So, is 'connection' a local or not? | It's part of my code (I

Re: Would like to monitor memory use offline

2008-08-08 Thread Richard S. Huntrods
Chris, Richard, Richard S. Huntrods wrote: | In my code I was calling resultSet.close(), but not statement.close(). That'll do it. Actually, fixing it did NOT help. See more below... | The problem is, even though I verified (debug statements) that the call | is being made, the memory

Re: Would like to monitor memory use offline

2008-08-07 Thread Richard S. Huntrods
Well, thanks to Lamda probe and then to jmap, I have found my memory leak. Here are the gory details in case anyone is interested. It's not really a Tomcat issue, but rather the boundary between Tomcat and MySQL: I have a memory leak in my application, and jmap shows me that all my objects of

Re: Would like to monitor memory use offline

2008-08-06 Thread Richard S. Huntrods
To Ben Mark, Thanks for the replies. I've been trying various things based on your suggestions. I find my best tool at the moment is Lambda Probe - though it hasn't been updated in a while, it does show me all the things (for the most part) that I wanted to watch. There's definitely some

Would like to monitor memory use offline

2008-08-02 Thread Richard S. Huntrods
I've been running Tomcat for many versions now, mostly without incident. However with the latest set of upgrades rather forced upon me all at once (instead of managed more properly), my application appears to have a severe memory leak. System Info: OS is Solaris 10-u5 (2008); java

RE: Would like to know what might be causing this exception in servlet

2006-02-06 Thread Richard S. Huntrods
Thank you Chuck and Tim for the information. I did wonder if it was a normal exception, now I know that it's at least nothing to worry about. I have one more. This *IS* a real error, and is caused by something breaking between MySQL and my servlets. SQL Problem: Communication link failure:

MySQL Database / Tomcat Exceptions

2006-02-06 Thread Richard S. Huntrods
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] Subject: RE: Would like to know what might be causing this exception in servlet I have one more. This *IS* a real error, and is caused by something breaking between MySQL and my servlets. (Should probably start a new thread

Would like to know what might be causing this exception in servlet

2006-02-04 Thread Richard S. Huntrods
I am getting this exception from time to time (maybe once in a day every few days) with my application (Servlets). None of the code involved in the stack trace is my code, so I'm wondering if anyone knows what is the cause of this exception? Also, is there a workaround / fix? Thanks very much in

help in setup ssl in tomcat

2005-12-29 Thread Richard S
hi all I would like to establish public key private key ssl setup in tomcat. I dont know how to proceed please help me regarding this. regards Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional