aspose file tools*
The moose likes Tomcat and the fly likes Failing to start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Failing to start" Watch "Failing to start" New topic
Author

Failing to start

Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 326

Hi,
I'm trying to start Tomcat from a cmd window but it doesn't appear to do anything and no logs are produced so I can't diagnose the problem, all I get is 4 lines telling what environment variables it is using. Any ideas?

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41821
    
  62
That looks like it started OK. The process runs in the background, and will write all further output to log files - check the C:\apache-tomcat-6.0.20\logs directory.


Ping & DNS - my free Android networking tools app
PrasannaKumar Sathiyanantham
Ranch Hand

Joined: Nov 12, 2009
Posts: 110
After running the startup.bat type in your browser http://localhost:8080/

if it shows the tomcat webpage then your tomcat is up and running...

If not then there is a file called bootstrap.rar in bin folder ......Just to make sure run the shudown.bat and then bootstrap.jar and startup.bat ...

It must be working fine for sure.......


To err is human,
To forgive is not company policy
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 326

Well it wasn't starting because it didn't like a value in my environment variables, there was no logging and no seperate window to tell me this, I had to retrace my steps one by one to find the issue, nice
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
Actually there was a window, it just opened and closed real fast.

You can change the last executable line of startup.bat to use "run" instead of "start" - this will continue the next bat file in the same window.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failing to start