Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

browser not responding even tomcat started and restarted

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello
this way tomcat was started
D:\Program Files\apache\bin>startup.bat
Using CATALINA_BASE: D:\Program Files\apache\
Using CATALINA_HOME: D:\Program Files\apache\
Using CATALINA_TMPDIR: D:\Program Files\apache\\temp
Using JRE_HOME: D:\Program Files\Java\jre1.5.0_08
Using CLASSPATH: D:\Program Files\apache\\bin\bootstrap.jar

now(i hav screenshots too but unable to upload)
i typed http://localhost:8080/ in safari browser
following ocurred
Safari can’t connect to the server.
Safari can’t open the page “http://localhost:8080/” because Safari can’t connect to the server “localhost”.
tell me the correct suggestion
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One possibility is that Tomcat is not actually running. It may have opened another command prompt window, then closed it.

Try with the last executable line in startup.bat modified to use "run" instead of "start":



That will continue execution in the same command prompt window and you can see if it really started.

Bill
 
ankittt agarwala
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ankittt agarwala wrote:hello
this way tomcat was started
D:\Program Files\apache\bin>startup.bat
Using CATALINA_BASE: D:\Program Files\apache\
Using CATALINA_HOME: D:\Program Files\apache\
Using CATALINA_TMPDIR: D:\Program Files\apache\\temp
Using JRE_HOME: D:\Program Files\Java\jre1.5.0_08
Using CLASSPATH: D:\Program Files\apache\\bin\bootstrap.jar

now(i hav screenshots too but unable to upload)
i typed http://localhost:8080/ in safari browser
following ocurred
Safari can’t connect to the server.
Safari can’t open the page “http://localhost:8080/” because Safari can’t connect to the server “localhost”.
tell me the correct suggestion

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic