tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: OutOfMemoryError: PermGen space!!!! Dont know why?
Date Thu, 16 Sep 2010 07:48:55 GMT
abhishek jain wrote:
> hi
> ps axf --cols 1000 | grep java returns
> 
> 29807 pts/2    S+     0:00          \_ grep java
> 19511 ?        Ss     0:00 jsvc.exec -user tomcat -cp ./bootstrap.jar
> -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out
> -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.Bootstrap
> -security
> 19512 ?        Sl    11:57  \_ jsvc.exec -user tomcat -cp ./bootstrap.jar
> -Djava.endorsed.dirs=../common/endorsed -outfile ../logs/catalina.out
> -errfile ../logs/catalina.err -verbose org.apache.catalina.startup.Bootstrap
> -security
> 
> and echo $JAVA_OPTS
> 
> returns a blank line
> Pl advice what should i do,

Obviously on your system (a Linux or Unix -like system), Tomcat is being started using 
jsvc as a "wrapper" for the java JVM.

"jsvc" is not a part of Tomcat. If your system uses it to start Tomcat, it is because the

creators of the Tomcat package for your platform have decided to use it.

You should probably start by reading the jsvc documentation, at :
http://commons.apache.org/daemon/
Read the introduction on this page, and then follow the link to jsvc.
This will really clear things up, and will tell you also how to provide start-up 
parameters to jsvc, so that it starts java in the way you want, with the options you want.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message