aspose file tools
The moose likes Tomcat and the fly likes SAXParseException: Content is not allowed in prolog. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply 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: 12324
    
    1
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


Java Resources at www.wbrogden.com
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!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SAXParseException: Content is not allowed in prolog.
 
Similar Threads
Posting to bump up my count...
WA #1.....word association
media player applet
The x900 effect ?
Text box value is not being completely filled with request attribute