This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WindowsXP and Linux Post install....  RSS feed

 
Anthony Yulo
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first, i installed The webservices developer pack in a Linux Operating system.. it has its own Tomcat version... i followed the instrcutions on installing... and then when i'm starting up tomat thru ./startup.sh a message log was generated.....
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Attribute port: 8081
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 60000
[INFO] Http11Protocol - -Attribute timeout: 60000
[INFO] Http11Protocol - -Attribute secure: false
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8081
[INFO] Http11Protocol - -Attribute port: 8080
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 60000
[INFO] Http11Protocol - -Attribute timeout: 60000
[INFO] Http11Protocol - -Attribute secure: false
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8080
org.xml.sax.SAXParseException: Element type "user" must be followed by either attribute specifications, ">" or "/>".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213)
at

so i tried installing a separate-stand alone version of Tomcat in a different directory.. in LInux... but this time when I'm starting up, using ./startup.sh this i time i get the message
invalid interpreter: access denied
i also tried installing tomcat in WindowsXP... set the environment variables properly.. and i also got it to startup... but when i tried going to
http://localhost:8080/
it generates an error page sying it cannot find the server...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That SAXException indicates some configuration file in XML format has an error.
Installing Tomcat on WinXP normally works very easily. Exactly how are you running the startup.bat and what happens when you run it?
Bill
 
Anthony Yulo
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah.. i don't know what XML file too look for... and supposedly, everything must be OK when you install for the first time... right? no errors, like that should come out...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I don't know anything about the web services developer pack on Linux, but on WinXP a new install of Tomcat normally works.
You need to be able to see what errors the startup.bat file throws.
Try REMing out the @echo off at the start of startup.bat and catalina.bat so you can see all the messages. Also in the next to last "call" line of startup.bat change "start" to "run" in so catalina.bat executes in the same command window.
Execute startup.bat from a Command Prompt window in the tomcat /bin directory.
Usually this will reveal where things go wrong.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!