File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem while installing the tomcat" Watch "problem while installing the tomcat" New topic
Author

problem while installing the tomcat

meena latha
Ranch Hand

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

After downloading i followed all the step in the following website http://javaboutique.internet.com/tutorials/Tomcat/test.html#Start-Server.

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\jk2.properties

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.

Bill
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: http://aspose.com/file-tools
 
subject: problem while installing the tomcat