Filip,
thank you for your help.
Your suggestion actually helped to identify the root of our issues: it
was not related to Tomcat 6 but instead it was an issue in the version
of DBCP we were using (a snapshot of November 2007); we have upgraded
it to the HEAD and the errors seem gone away (we are running some load
testing sessions right now).
Thanks so much and sorry for the off-topic.
Jacopo
On Jul 7, 2008, at 6:03 PM, Filip Hanik - Dev Lists wrote:
just use the -XX:+HeapDumpOnOutOfMemoryError and see what is causing
the OOME
Filip
Jacopo Cappellato wrote:
Hi all,
I am one of the committers and PMC member of the Apache OFBiz
project (ofbiz.apache.org).
Our project is using an embedded instance of Tomcat to run the web
applications that compose the OFBiz suite of ERP applications.
A few weeks ago, with rev. 659490, we have upgraded Tomcat from to
5.5.23 to 6.0.16.
Since then, we have noticed in some production server some
"OutOfMemoryError: Java heap space" exceptions that make the
instances pretty unstable after some time they are up.
My suspect is that we are not creating the Tomcat instance in the
right way, but I am not sure where is the error... and I'm not sure
about the question I should ask here.
However, maybe someone of you could help with some advices or hints.
This is the code we used to create the instance of Tomcat 5.5.23
(that was working fine):
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?revision=585848&view=markup
and this is the new code for 6.0.16:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?view=markup
Thanks so much,
Jacopo
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]