Easy Tomcat Setup Question- Windows XP

I have been trying to set-up tomcat for a few weeks now but to no avail.  I have done it before (with windows2000) but this time round its not working at all. I downloaded the tomcat from jakarta and made an environment variable called CATALINA_HOME pointing to the tomca\bin, I also have the j2sdk1.4 and set up an environment variable called JAVA_HOME pointing to it.  When I call the startup.bat from the dos window, the dos window closes and no other action occurs.  I even went in to the server.xml file in tomcat and changed the port from 8080 to 1977 in case there was something else using that port, as I do have Java WebServices on my pc also.  Does anyone have any idea what is goig wrong here?
Many Thanks
Frankis
frankisAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed, with points refunded (50)

modulo
Community Support Moderator
0
 
frankisAuthor Commented:
I want to close this question. I have the answer, had JAVA_HOME includiing the bin directory!
0
 
Timothy GoldenWeb DevCommented:
Did you run the windows installer?
you should not need the batch file to start/stop the service if you ran the windows installer

Tomcat 4.x + has a windows EXE installer that will install Tomcat as a service on your PC.

Right click My computer > Manage > Services and Applcations > Services > look for the Apache tomcat service
Make sure that it's runinng
if not the clcik 'Start'
also check the proerties to insure that it's set to Automatic Startup (if you want it to start on reboot)


0
 
Timothy GoldenWeb DevCommented:
that would do it too.... :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.