• 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

problems running Tomcat on Vista

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I'm running a simple installation of jdk1.5, tomcat 5 on vista and it doesn't work/run.

I'm running the identical configuration on xp (by copying) and it works fine - the catalina log file isn't helpful - there are some socket error messages - but these are on the xp logs too.

Thanks
 
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

it doesn't work/run.


1. Is this Tomcat installed as a service or an application?
2. How are you trying to start Tomcat?
3. Exactly what happens when you try to start Tomcat?

Bill
 
jeff randall
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


1. Is this Tomcat installed as a service or an application?
2. How are you trying to start Tomcat?
3. Exactly what happens when you try to start Tomcat?



Thanks Bill

1. an app
2. using startup.bat
3. it goes to start up in the dos window then ends without starting

I may say I've copied EXACTLY the folder containing tomcat and the same jdk onto a windows xp machine and it works perfectly - and there is nothing in the logs to indicate a problem - I've used XP quite a few years without problem - but I don't know how to troubleshoot - I also tried switching the firewall off but that didn't help.
 
Hooplehead
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you post the logs? Even if you don't see anything helpful we might.

"socket error message"...would make me instinctively thinking that something is already bound to the port tomcat is trying to use. Do you have a web server on the Vista box? Maybe skype? You can find out what ports are being used with the "netstat -a" at the command prompt. (I am assuming it works the same on Vista)

Stu
 
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
OK, the first thing to do is to capture the messages that vanish before you can read them. In your startup.bat change the last executable line to use "run" instead of "start". Execute startup.bat from an open Command prompt window, NOT by clicking on it.



This will cause catalina.bat to run in the open command prompt window and you can see the error messages you are missing currently.

Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic