Link to home
Start Free TrialLog in
Avatar of frankis
frankisFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of frankis
frankis
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I want to close this question. I have the answer, had JAVA_HOME includiing the bin directory!
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)


that would do it too.... :)
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial