Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

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
0
frankis
Asked:
frankis
  • 2
1 Solution
 
frankisAuthor Commented:
I want to close this question. I have the answer, had JAVA_HOME includiing the bin directory!
0
 
Timothy GoldenCommented:
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 GoldenCommented:
that would do it too.... :)
0
 
moduloCommented:
PAQed, with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now