Hi,
Try turning off the fork parameter of the JSP server in conf/web.xml.
It's true by default, and that's usually a good idea.  I don't know the
root cause for your problem.

You have an interesting JDK version, by the way ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Hans [mailto:[EMAIL PROTECTED]
>Sent: Friday, March 05, 2004 10:23 AM
>To: Tomcat Users List
>Subject: ghost tomcat process after uploading new sources
>
>Hi,
>I have a strange problem which I don't know how to describe accurately,
but
>here goes:
>
>we have a tomcat server running and every time a lot of jsp pages
running
>under are changed, it seems the process forks and starts an additional
>tomcat process. When this happens neither process seems able to handle
>requests anymore.
>
>Additional info:
>Tomcat runs as: (using ps -aux)
>/usr/local/jdk1.4.1/bin/java -jar
>-Dcatalina.home=/usr/local/jakarta-tomcat4.1 bin/bootstrap.jar start
>
>java version:
>Java version "1.4.1-p3"
>Java(TM) 2 Runtime Environment, Standard Edition (build
>1.4.1-p3-webedit_12_sep_2003_15_53)
>Java HotSpot(TM) Client VM (build 1.4.1-p3-webedit_12_sep_2003_15_53,
mixed
>mode)
>
>OS : freebsd versie 4.8
>
>In the logs I see something like:
>type Exception report
>
>message
>
>description The server encountered an internal error () that prevented
it
>from fulfilling this request.
>
>exception
>org.apache.jasper.JasperException: Unable to compile class for JSP
>An error occurred at line: -1 in the jsp file: null
>Generated servlet error:
>[javac] Since fork is true, ignoring compiler setting.
>[javac] Compiling 1 source file
>[javac] Since fork is true, ignoring compiler setting.
>
>After killing all processes and starting tomcat again, everything works
>fine.
>
>I can reproduce it as follows:
>(16:47:43)[EMAIL PROTECTED]
>/usr/local/jakarta-tomcat4.1/webapps/ROOT/teletop >touch *
>(16:47:47)[EMAIL PROTECTED]
>/usr/local/jakarta-tomcat4.1/webapps/ROOT/teletop >ps -ax | grep cata
>32392 ?? S 4:46.83 /usr/local/jdk1.4.1/bin/java -jar
>-Dcatalina.home=/usr/local/jakarta-tomcat4.1 bin/bootstrap.jar start
>
>Still ok up to this point, but after giving it some more time:
>
>(16:50:16)[EMAIL PROTECTED]
>/usr/local/jakarta-tomcat4.1/webapps/ROOT/teletop >ps -ax | grep cata
>32392 ?? S 4:58.50 /usr/local/jdk1.4.1/bin/java -jar
>-Dcatalina.home=/usr/local/jakarta-tomcat4.1 bin/bootstrap.jar start
>34112 ?? R 0:28.19 /usr/local/jdk1.4.1/bin/java -jar
>-Dcatalina.home=/usr/local/jakarta-tomcat4.1 bin/bootstrap.jar start
>34114 p1 S+ 0:00.00 grep cata
>
>tada 2 processes...
>
>haven't got a clue, anyone?
>
>regards,
>Hans W
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to