Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failing to start

 
Will Myers
Ranch Hand
Posts: 388
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
PrasannaKumar Sathiyanantham
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.......
 
Will Myers
Ranch Hand
Posts: 388
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic