• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WindowsXP and Linux Post install....

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic