You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Simon Twigger <si...@mcw.edu> on 2003/03/25 18:11:13 UTC
Mac: org.apache.catalina.startup.bootstrap app appears in dock?
Hi there,
Im using Tomcat 4.1.18 and Java 1.3.1 on a dual processor G4, 1.5GB RAM.
I'm using Tomcat to serve JSP and servlets and most of the time all is
well. However, when one particular servlet is called that generates a
variety of GIF images Tomcat starts another application that appears in
the dock: org.apache.catalina.startup.bootstrap.
This is in itself Ok, tomcat goes about its business and the
applications work fine. However, if I then log out, the new app closes
down and the tomcat server stops. When someone else logs in, Tomcat is
no longer running and so noone can use the JSP/servlet pages until
someone with root access restarts Tomcat. This is very inconvenient
when the app is installed on a clients machine!
Can anyone tell me what triggers the
org.apache.catalina.startup.bootstrap to appear and how to prevent it
from happening. If I could stop it appearing, it wouldnt close when the
user logs out and hence Tomcat would keep running.
If it makes a difference, Ive got Tomcat set to have 250Mb of RAM by
adding
export CATALINA_OPTS=-Xmx250m
to the startup.sh script in the {TOMCAT_HOME}/bin/startup.sh script
The bootstrap app only appears in the dock when this servlet generates
the images (using Acme GIF Encoder classes). Given that these Acme
classes are in the /classes directory for the servlet application and
the bootstrap app seems to have something to do with loading classes
and keeping them from the system classpath (see the Tomcat docs:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/org/
apache/catalina/startup/Bootstrap.html) Im wondering if I can fix this
by moving these classes somewhere or Jar'ing them up and moving to the
/lib directory...?
If anyone has any suggestions I would very much appreciate some help
with this.
Cheers,
Simon,