Two Laptop Bag
The moose likes Tomcat and the fly likes problem while installing the tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem while installing the tomcat" Watch "problem while installing the tomcat" New topic

problem while installing the tomcat

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
Hi all...
I downloaded the tomcat for website.

After downloading i followed all the step in the following website

In which they have asked to test the server by clicking the startup.bat file.When i did that command prompt window gets opened.After running few lines the window gets hanged.

The final line in the command prompt appears like this

INFO:JK running ID=0 time=0/40 config=C:\jakarat-tomcat-4.1.31\bin\..\conf\

after which the window is hanging.

It will be great if someone helps me to solve this problem.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
If you get to that INFO line, Tomcat may be running just fine - that window should stay open and will show System.out output. Did you try to connect to localhost:8080

In general, when trying to get Tomcat running DO NOT use the click on startup.bat method. Instead open a command prompt window, navigate to the TOMCAT_HOME /bin directory.
Do the "set" command and verify that the environment variable JAVA_HOME points to the correct SDK.
If that looks right, run startup.bat directly. Take a look at the paths that startup says it is using to see if they make sense.

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
Thanks....the problem was the netconnection.
When i disabled the connection and tested the server it was worked ,it didnt give me an error page.
I agree. Here's the link:
subject: problem while installing the tomcat
It's not a secret anymore!