Solved

Easy Tomcat Setup Question- Windows XP

Posted on 2003-12-11
5
165 Views
Last Modified: 2010-04-20
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
Comment
Question by:frankis
  • 2
5 Comments
 

Author Comment

by:frankis
ID: 9937254
I want to close this question. I have the answer, had JAVA_HOME includiing the bin directory!
0
 
LVL 3

Expert Comment

by:luckynh
ID: 10055485
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
 
LVL 3

Expert Comment

by:luckynh
ID: 10055491
that would do it too.... :)
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11810439
PAQed, with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now