cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Re: Cocoon 2.1 + Tomcat 4.1 + reloadable="true"
Date Wed, 09 Oct 2002 16:00:52 GMT
Well, clearing Tomcat's "work" directory helps. Is this more Tomcat or
Cocoon-related then ? Since we know both of them use caching... We know that
Cocoon had (still has) some caching issues.

I also had hang ups of Tomcat after an error, thanks for the more precise
info you provided !

Barbara
----- Original Message -----
From: "Ilya A. Kriveshko" <ilya@kaon.com>
To: <cocoon-users@xml.apache.org>
Cc: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, October 09, 2002 3:21 PM
Subject: Re: Cocoon 2.1 + Tomcat 4.1 + reloadable="true"


> I am running Tomcat 3.3 on Win2k, and a recent snapshot of Cocoon
> from the HEAD of CVS. I am periodically having the same problems
> whereby Tomcat  is running out of memory when either Tomcat or
> Cocoon are reloading some stuff.
> Is it possible that some cache collections are not being cleared?
>
> Also, given that I'm having a similar problem with Tomcat 3.3, is
> Cocoon a more plausible suspect?
>
> On another note, every once in a while upon auto-reloading some of
> the updated components either Tomcat or Cocoon hang up, and stop
> responding to requests. CPU usage spikes at first, but then goes down.
> Seems like a dead-lock. However, I have saved the full VM thread
> dump, and cannot see anything unusual there that would indicate a
> deadlock of any sort. (BTW, If you are interested, I can post the thread
> dump.) I can see from it that three Tomcat threads are waiting in
> ServerSocket.accept() calls, but I cannot connect to any of the ports
> that it is supposed to listen on either with the browser or with telnet.
> Calling Tomcat's shutdown.bat does nothing to stop the hung up process.
> Killing Tomcat's Java process is the only thing that helps.
>
> Does anyone have any idea on this and the OutOfMemory issues?
>
> Sorry for "cross-replying," but... what she said. :-)
> --
> Ilya
>
> Barbara Post wrote:
>
> >Hi and sorry for the cross-posting, this might interest both lists
although
> >I think it may be purely a Tomcat-specific problem.
> >
> >Tomcat 4.1.12 - CATALINA_OPTS allow 128 MB of RAM (out of 512 physical),
> >with "catalina run" command to see more console log.
> >Cocoon 2.1-dev from CVS.
> >JDK 1.3.1
> >Windows NT4 SP6
> >Few other apps running, at least memory is not fully used.
> >Eclipse 2.0.1 to edit and compile java code.
> >reloadable="true" for my webapp (other webapps are defined in server.xml
and
> >also reloadable but I don't call their URI.
> >
> >Issue :
> >
> >I change some code in a java class, save so that it compiles
automaticaly.
> >After a few (3 to 6) compiles/reloads my webapp dies with
> >"ClassCastException", "IllegalStateException", or Tomcat dies with
> >"OutOfMemoryError".
> >
> >When I was using Tomcat 4.0.5 and JBuilder 6 I had few problems with
> >automatic reloads, at least not so many errors...
> >
> >Barbara
> >
> >
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message