i have installed tomcat5.5 in windows xp ,now i am not being able to start it up.whenever i click on the tomcat monitor ,it says that an instance of tomcat is already running.also,please tell me how to set the environment variables in windows xp(professional)
it says that an instance of tomcat is already running
It says it all, doesn't it ? You have another instance already running. If running as a service, stop it. Or you can uninstall any previous version if you don't need it anymore.
The same happened to me in the first time I installed Tomcat.
By default, Tomcat enables itself as a Windows Service. So, you can either disable it to manually run whenever you want or keep the things as is. [ June 20, 2006: Message edited by: Edisandro Bessa ]
"If someone asks you to do something you don't know how to, don't tell I don't know, tell I can learn instead." - Myself
thanx for the reply,but in hfsj book ,while building the model mvc tutorial,they have given commands to shutdown tomcat,but when i try them from my command promt,it says "shutdown.sh" is not recognized as any command or batch file. is it because it is applicable only on linux\unix\osx?
1. Tomcat 5.5 requires JRE 5.0 by default. Did you installed Java 5 before installed Tomcat? 2. Did you start Tomcat service? Any error? 3. Try http://localhost:8080/. If tomcat page is shown, that means your tomcat works fine.
Best Regards,<br />DongShan<br /> <br />SCJP1.4, SCWCD1.4
For a windows installation , Tomcat automatically installs something called as Monitor. That will be present in your taskbar all the time. You can right click that and choose stop. Install JRE for tomcat to work and set the path to the JRE like this:
Right click the monitor on the taskbar and click Configure, once you click that , choose Java {tab} and type in the path of the JRE there (If it is not automatically set the first time).
In the rare case that you dont see the monitor on the taskbar , Click on Start Menu > Programs > Tomcat > Monitor. This entry will only be there in your Start Menu if you have downloaded the Tomcat Executable.
SCJP, SCWCD, SCBCD, IBM XML, IBM OOAD, SCEA 5, ITAC - Distinguished IT Architect.