I don't think it really has anything to do with my not having sufficient system memory, as this error only comes when I try to access a URI that does even extremely simple database access AND only when using the "live/" context I newly defined in Tomcat's server.xml.
My normal Cocoon installation can do far more intensive db processing without ever getting a java.lang.OutOfMemoryError. There must be a deeper problem.
From: e nio <[EMAIL PROTECTED]>
In the bottom of your stack trace, OutOfMemoryError <-- you need to specify more memory for your JVM perhaps, which can be specified as an option to Tomcat. I have been experiencing this outofmemoryerror lately, I stopped the jvm (ie tomcat) and restarted and so far has recovered. Don't know if in the long run you can continually recover.
e nio --- Sonny Sukumar <[EMAIL PROTECTED]> wrote: > > Hmm, apparently I can read static html files under the /live > context (using > a simple Cocoon reader) but if I try to access *any* URI which > involves > database access I get: > > javax.servlet.ServletException: Servlet execution threw an > exception > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) > > with root cause: java.lang.OutOfMemoryError > > Does that give you any idea how to fix the problem? > > > >From: Bertrand Delacretaz <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Re: How To Run 2 Cocoons Simultaneously? > >Date: Thu, 28 Aug 2003 08:31:10 +0200 > > > >Le Jeudi, 28 ao� 2003, � 00:37 Europe/Zurich, Sonny Sukumar a > �crit : > >>...Nevertheless, I tried commenting out the <hsqldb-server> > section in > >>cocoon.xconf for both Cocoon instances. I still get a blank > server > >>response (if that's even a response) for the instance with > path "/live." > >>The instance with default path ("") still works.... > > > >There should be an error message somewhere, check the Cocoon > and tomcat > >logs. > > > >-Bertrand > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > Get MSN 8 and enjoy automatic e-mail virus protection. > http://join.msn.com/?page=features/virus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
