This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes SAXParseException: Content is not allowed in prolog. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SAXParseException: Content is not allowed in prolog." Watch "SAXParseException: Content is not allowed in prolog." New topic
Author

SAXParseException: Content is not allowed in prolog.

Jason Crest
Greenhorn

Joined: Oct 17, 2002
Posts: 29
i keep getting this error whenever i run ./shutdown.sh in the bin direcotry of tomcat
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Have you modified any xml files in Tomcat? Particularly the server.xml file?
As I recall, the shutdown process has to read server.xml in order to learn which port Tomcat is listening for the shutdown instruction on.
Bill
Jason Crest
Greenhorn

Joined: Oct 17, 2002
Posts: 29
ok i feel lame now, haha

my keyboard has a habbit of inserting the ` character without me pressing the key. i found it at the very beginning of the server.xml file and removed it.

it works now

thanks!
 
 
subject: SAXParseException: Content is not allowed in prolog.
 
Similar Threads
media player applet
WA #1.....word association
Posting to bump up my count...
Text box value is not being completely filled with request attribute
The x900 effect ?