• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat & NT

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is an NT4.0 with SP6.
1. I have Tomcat3.1 'zip' & is extracted in d:\Tomcat directory.
2. PATH, CLASSPATH, J2EE_HOME=e:\j2sdkee1.2, JAVA_HOME=d:\jdk1.3 & TOMCAT_HOME=d:\Tomcat have been properly set.
I use 'tomcat start' or 'tomcat run' in a proper 'command.com' console (with 8096 environment space), the response from the system is:
"The name specified is not recognized as an internal or external command, operable program or batch file. Using classpath: ...<entire classpath>....".
How to ascertain if the server is running? Setup is okay? Anything else to be run, started, built?
thanks
--Shiny
 
Shiny
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I open the browser with http://localhost:8080/ or http://127.0.0.1:8080/ it says:
"The Page can not be displayed".
....?
regards
--Shiny
 
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
It sounds like something failed in the start.bat or tomcat.bat files. Comment out the @echo at the start of the files so you can see what is failing. If startup succeeds, you should get a 2nd window where Tomcat is running.
Bill
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shiny:
let me share my wisdom from yesterday night.....
Last night when I was trying to get my jSDK server to run,
I noticed that a new window is started and immediately
dies. ofcourse I got similar msgs on the browser saying
file not found whats that number ...404 ? whatever...
My trick was to use the Pause button on the keyboard
in the new window and temporarily stop the server run. Doing
this some 20-25 times, I could catch the error...everytime
I started the jsdk server (jsdk2.1\startserver) I was getting
an exception in the new window and so it died....
The fix was that my classpath was missing a jar file....
I put all the jar files in the classpath and it worked fine.
Btw, today night I will be trying the Tomcat, I have already
downloaded it.
BTW, if you use pause key then you could continue using the
CTRL-C combination....
Best of luck...
- the satya (much wiser than yesterday night)
did you see my other post and discussions with Rahul..
 
Shiny
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bill & Satya.
I got it working finally. But I think I need to provide 'xml.jar' for enhancing its functionality.
But I saw some messages between developers contributing to this 'tomcat' project that 'xml.jar' has been nullified & has been packaged as 'ant.jar'. I don't know what's the exact status now... anyway my hunt goes on.......
Satya:
Yes, I followed your disco.. with rahul...till both of you slept off
regards
--Shiny
 
reply
    Bookmark Topic Watch Topic
  • New Topic