This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've been trying to install tomcat on my windows xp machine but whatever i try does not seem to work. I have searched google and people seem to have different methods of installing it and ive tried a few and none of them work.
Does anyone have a final soultion that I could use?
The final solution would depend on the final (current) problem you are facing. Would you care to describe it?
Joined: Nov 21, 2004
OK well i did what the people at Apache told me to do on their web site to install it but i keep getting a 'This page could not be displayed' message when i type in the URL http://localhost:8080. I was windering if any body could tell me exactly what the the steps are that enabled them to do install it.
Sorry for the first message. Was a bit abstract i now realise.
Additional information needed: The version of Tomcat, how you installed it, the SDK version you have installed. How you are trying to start Tomcat, what happnes when you start Tomcat, are ANY log files being written to the logs directory of the tomcat installation. Does your Windows Task Manager show the Tomcat process running?
The latest version starts tomcat as a windows service, but that doesn't work in most systems unless the following two environment variables are set.
NAME | VALUE ------------------------------------------------------- JAVA_HOME | <Java root dir> [C:\jdk1.4] CATALINA_HOME | <Tomcat root dir> [C:\tomcat]
Once you set these two variables in your system, run tomcat server. It should start without any problems. It is ideal to change the windows service startup type to manual and disable it, so u startup the server when you want.
These are the only settings required to get the server started.
You may also glean some more information by either using FireFox or by changing the settings in MSIE.
In particular the "Show Friendly HTTP Errors" setting (under the advanced tab) should be shut off. When it's on, MSIE will hide the true error message coming from the server and, instead, show you it's boiler plate error message which is prettier but completely uninformative.