You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Renato <we...@cienciapura.com.br> on 2002/01/07 17:27:12 UTC

Re: TC 3.3.3 with Apache stack space error

Try to put something like -Xms400m -Xmx500m on TOMCAT_OPTS of tomcat.sh in 
the $TOMCAT_HOME/bin directory.


On 07 Jan 2002 12:08:44 -0600, Ray Pitmon <rp...@digitalcyclone.com> escreveu :

> 
> 
> Hi,
> 
> I have many machines running older versions of tomcat(3.2.x), but now I
> am setting up a new one, with 3.3.1, and I get this error whenever I try
> to hit a JSP:
> 
> 2002-01-07 12:41:21 - Ctx() : compile error: req=R(  + /index.jsp +
> null) - org.apache.jasper.JasperException: Unable to compile The
> compiler has run out of stack space.  Consider using the
> "-J-oss<number>" command line option to increase the memory allocated
> for the Java stack.
> 
> 
> I am using the following:
> tomcat-mod-3.3-1 rpm
> tomcat-3.3-3 rpm
> apache 1.3.20-16 rpm
> IBM 1.3.0 JDK
> 
> all on redhat 7.2.  It gives the same error whether thru apache or
> directly to tomcat's webserver.
> 
> 
> thx for any ideas anyone has...
> 
> -Ray
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> 
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: TC 3.3.3 with Apache stack space error

Posted by Renato <we...@cienciapura.com.br>.
Good question. You might want to try to ask this on the tomcat-dev list. 

On 07 Jan 2002 13:07:17 -0600, Ray Pitmon <rp...@digitalcyclone.com> escreveu :

> Ok, that works.  I tried all sorts of different values less than that,
> but -Xms needed to be 400 to get it to work.
> 
> That doesn't make alot of sense to me.  
> My tomcat is using 32 megs of RAM now.
> 
> Why in the world would I have to specify that it use 400-500 megs?
> 
> Is this a bug?
> 
> thx,
> 
> -Ray
> 
> 
> 
> 
> On Mon, 2002-01-07 at 10:27, Renato wrote:
> > Try to put something like -Xms400m -Xmx500m on TOMCAT_OPTS of tomcat.sh 
in 
> > the $TOMCAT_HOME/bin directory.
> > 
> > 
> > On 07 Jan 2002 12:08:44 -0600, Ray Pitmon <rp...@digitalcyclone.com> 
escreveu :
> > 
> > > 
> > > 
> > > Hi,
> > > 
> > > I have many machines running older versions of tomcat(3.2.x), but now 
I
> > > am setting up a new one, with 3.3.1, and I get this error whenever I 
try
> > > to hit a JSP:
> > > 
> > > 2002-01-07 12:41:21 - Ctx() : compile error: req=R(  + /index.jsp +
> > > null) - org.apache.jasper.JasperException: Unable to compile The
> > > compiler has run out of stack space.  Consider using the
> > > "-J-oss<number>" command line option to increase the memory allocated
> > > for the Java stack.
> > > 
> > > 
> > > I am using the following:
> > > tomcat-mod-3.3-1 rpm
> > > tomcat-3.3-3 rpm
> > > apache 1.3.20-16 rpm
> > > IBM 1.3.0 JDK
> > > 
> > > all on redhat 7.2.  It gives the same error whether thru apache or
> > > directly to tomcat's webserver.
> > > 
> > > 
> > > thx for any ideas anyone has...
> > > 
> > > -Ray
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > > 
> > > 
> > > 
> > > 
> > 
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> > 
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> 
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: TC 3.3.3 with Apache stack space error

Posted by Ray Pitmon <rp...@digitalcyclone.com>.
Ok, that works.  I tried all sorts of different values less than that,
but -Xms needed to be 400 to get it to work.

That doesn't make alot of sense to me.  
My tomcat is using 32 megs of RAM now.

Why in the world would I have to specify that it use 400-500 megs?

Is this a bug?

thx,

-Ray




On Mon, 2002-01-07 at 10:27, Renato wrote:
> Try to put something like -Xms400m -Xmx500m on TOMCAT_OPTS of tomcat.sh in 
> the $TOMCAT_HOME/bin directory.
> 
> 
> On 07 Jan 2002 12:08:44 -0600, Ray Pitmon <rp...@digitalcyclone.com> escreveu :
> 
> > 
> > 
> > Hi,
> > 
> > I have many machines running older versions of tomcat(3.2.x), but now I
> > am setting up a new one, with 3.3.1, and I get this error whenever I try
> > to hit a JSP:
> > 
> > 2002-01-07 12:41:21 - Ctx() : compile error: req=R(  + /index.jsp +
> > null) - org.apache.jasper.JasperException: Unable to compile The
> > compiler has run out of stack space.  Consider using the
> > "-J-oss<number>" command line option to increase the memory allocated
> > for the Java stack.
> > 
> > 
> > I am using the following:
> > tomcat-mod-3.3-1 rpm
> > tomcat-3.3-3 rpm
> > apache 1.3.20-16 rpm
> > IBM 1.3.0 JDK
> > 
> > all on redhat 7.2.  It gives the same error whether thru apache or
> > directly to tomcat's webserver.
> > 
> > 
> > thx for any ideas anyone has...
> > 
> > -Ray
> > 
> > 
> > 
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> > 
> > 
> > 
> > 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>