aspose file tools*
The moose likes Tomcat and the fly likes tomcat installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat installation" Watch "tomcat installation" New topic
Author

tomcat installation

Sam Bluesman
Ranch Hand

Joined: Nov 21, 2004
Posts: 191
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?


Moosey knows best
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
The final solution would depend on the final (current) problem you are facing. Would you care to describe it?


Cheers!<br /><b>Annie</b>
Sam Bluesman
Ranch Hand

Joined: Nov 21, 2004
Posts: 191
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.

Cheers

Sorry for the first message. Was a bit abstract i now realise.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Moving to the Tomcat forum...


GenRocket - Experts at Building Test Data
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

There's really not that much to it. Unpack the zip, make sure JAVA_HOME is set corectly, and you should be able to start Tomcat in order to view the examples.

What do the log files (if any) have to say?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
'This page could not be displayed' message when i type in the URL http://localhost:8080.


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?

Bill
Sravan Kumar
Ranch Hand

Joined: Sep 11, 2005
Posts: 121
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.


keep smilin :: sravan<br /><a href="http://sravanpens.blogspot.com" target="_blank" rel="nofollow">I scribble here</a>
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Sravan Kumar:
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.


Not true.
When you install Tomcat as a windows service, it doesn't use environmental variables. It uses registry settings.

Look through the files under {your tomcat install dir}\logs
and see if there are any error messages there.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat installation