Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shutdown gives fatal error

Status
Not open for further replies.

glevenelm

Programmer
Sep 14, 2005
3
US
Hi,

I hope someone will know what might cause this problem.

I'm running tomcat 5.0.28 on Unix. Started tomcat using startup.sh and it's running fine.

When I try to shut it down using shutdown.sh I get the following error:

Sep 14, 2005 5:11:14 PM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 384 column 2: The markup in the document following the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.

and tomcat does not stop. I can kill -9 to stop it, but I would like to understand why it won't stop with the shell script.

Thanks for your help!

 
what does "catalina.sh stop" do for you ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Thanks Sedj for responding.

I tried catalina.sh stop - but got the same error.
 
Sounds like you've knackered one of the tomcat xml config files ... have you tried a re-install ?

BTW, in UNIX/Linux, quite often the java process running Tomcat does not shutdown - this is due to how processes in UNIX/Linux handle spwaned threads. In Win32, if a process is asked to exit, then the whole app will exit, terminating any running threads, but in UNIX/Linux, the process will hang around until the threads die (which in Tomcat is never), so you will probably have to do a pkill or kill anyhow, even if you do fix that error !

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Hi Sedj,

Yes - I came to the conclusion that I need to do a kill to shutdown tomcat. I don't remember touching any .xml files, but who knows?

I'll be installing tomcat on another machine, and I'll check for differences then.

Thanks again for your help.
 
Sedj

I have a client that is recieving the errors on shutdown and then are on windows. Do you know of any documented problems.

The version is tomcat 4.1.3 using jdk 1.4.2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top