File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache 6.0 service won't start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache 6.0 service won Watch "Apache 6.0 service won New topic

Apache 6.0 service won't start

Fiona McBrearty

Joined: May 06, 2008
Posts: 1
Firstly, please excuse any "greenhorn" language I may use as I'm not a programmer...
I sent a private message to Jesper Young about my problem and his reply was as follows:

- On Windows, you can use the command netstat -a to get a list of network ports that programs are listening on. In the output, look if there is something other than Tomcat that is listening on port 8080. If there is, then Tomcat can't claim port 8080 and won't start.

- You can also see if you can find log files in the Tomcat directory which might contain messages that could give you an idea why Tomcat won't start.

No luck with the first suggestion, but I did notice the Tomcat log files indicated an error with Java. So, I checked in the Control Panel and it turns out I had several versions of Java coexisting. So, I uninstalled all of them, manually deleted any stray folders left over, then reinstalled Java SE DK 6. Eureka!

Thanks Jasper and hope this can help someone else!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15094

Thanks for posting it here and good to hear that the problem is solved.
[ May 07, 2008: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Apache 6.0 service won't start
It's not a secret anymore!