Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SAXParseException: Content is not allowed in prolog.

 
Jason Crest
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic