I recently installed tomcat, and ran the example servlets. A week later, I receive "This page cannot be displayed" on attempts to run the examples or load http://localhost:8080. I ultimately re- downloaded the binaries and reset my PATH variables CATALINA_HOME, JAVA_HOME, and TOMCAT_HOME. I changed the port number to 8090 (and back) in server.xml. I get following DOS screen on running startup and shutdown:
C:\jakarta-tomcat-4.0.1\bin>startup Using CATALINA_BASE: C:\jakarta-tomcat-4.0.1 Using CATALINA_HOME: C:\jakarta-tomcat-4.0.1 Using CLASSPATH: C:\jakarta-tomcat-4.0.1 \bin\bootstrap.jar;C:\jdk1.3\lib\tools.jar Using JAVA_HOME: C:\jdk1.3 C:\jakarta-tomcat-4.0.1\bin>shutdown Using CATALINA_BASE: C:\jakarta-tomcat-4.0.1 Using CATALINA_HOME: C:\jakarta-tomcat-4.0.1 Using CLASSPATH: C:\jakarta-tomcat-4.0.1 \bin\bootstrap.jar;C:\jdk1.3\lib\tools.jar Using JAVA_HOME: C:\jdk1.3 Catalina.stop: java.net.ConnectException: Connection refused: no further information java.net.ConnectException: Connection refused: no further information at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:312) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:125) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112) at java.net.Socket.<init>(Socket.java:273) at java.net.Socket.<init>(Socket.java:100) at org.apache.catalina.startup.Catalina.stop (Catalina.java:826) at org.apache.catalina.startup.Catalina.execute (Catalina.java:683) at org.apache.catalina.startup.Catalina.process (Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:243) My localhost_examples log reads: 2001-12-08 17:10:05 WebappLoader[/examples]: Deploying class repositories to work directory C:\jakarta-tomcat-4.0.1 \work\localhost\examples 2001-12-08 17:10:05 WebappLoader[/examples]: Reloading checks are enabled for this Context 2001-12-08 17:10:05 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom 2001-12-08 17:10:05 StandardManager[/examples]: Seeding of random number generator has been completed Does anyone have an answer? Thanks ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
