tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miles poindexter <mi...@openly.com>
Subject Re: tomcat dies in OS X
Date Tue, 27 Mar 2001 03:51:26 GMT
What does your .out file say? It should be in your logs folder. In 
Tomcat 4.0, its called catalina.out. Not sure what its called in 
3.2.1. If I remember correctly, 3.2.1 would just print to the command 
line if there was an error. If you're not getting msgs there. Maybe 
Tomcat is never really getting started up. Since the msg you're 
receiving when you run the shutdown script is similar to what I would 
get if I accidently ran the shutdown.sh script when Tomcat was 
already shutdown. I would try 4.0beta.

- miles

>I'm running tomcat 3.2.1 on Mac OS X and it seems to just die after I make
>a request...here's a breakdown of the chain of events...
>
>//-----first I turn on tomcat 3.2.1
>
>cripes% bin/startup.sh
>Using classpath:
>/Users/Shared/jakarta/tomcat/lib/ant.jar:/Users/Shared/jakarta/tomcat/lib/jasper.
>jar:/Users/Shared/jakarta/tomcat/lib/jaxp.jar:/Users/Shared/jakarta/tomcat/lib/parser.jar:/Users/S
>hared/jakarta/tomcat/lib/servlet.jar:/Users/Shared/jakarta/tomcat/lib/test:/Users/Shared/jakarta/t
>omcat/lib/webserver.jar:/System/Library/Java:/Users/Shared/jakarta/tomcat/lib
>cripes% 2001-03-26 01:58:24 - ContextManager: Adding context Ctx(
>/examples )
>2001-03-26 01:58:24 - ContextManager: Adding context Ctx( /admin )
>Starting tomcat. Check logs/tomcat.log for error messages
>2001-03-26 01:58:24 - ContextManager: Adding context Ctx( /pa2 )
>2001-03-26 01:58:24 - ContextManager: Adding context Ctx(  )
>2001-03-26 01:58:24 - ContextManager: Adding context Ctx( /test )
>2001-03-26 01:58:25 - PoolTcpConnector: Starting HttpConnectionHandler on
>8080
>2001-03-26 01:58:25 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
>8007
>
>//-----then I make a request like:
>http://localhost:8080/pa2/step1.jsp
>
>//-----this is what my browser tells me
>Cannot Load Address
>Temporarily unable to connect: Connection refused
>
>//-----then I attempt to shutdown tomcat 3.2.1 and this is what I get
>
>cripes% bin/shutdown.sh
>Using classpath:
>/Users/Shared/jakarta/tomcat/lib/ant.jar:/Users/Shared/jakarta/tomcat/lib/jasper.
>jar:/Users/Shared/jakarta/tomcat/lib/jaxp.jar:/Users/Shared/jakarta/tomcat/lib/parser.jar:/Users/S
>hared/jakarta/tomcat/lib/servlet.jar:/Users/Shared/jakarta/tomcat/lib/test:/Users/Shared/jakarta/t
>omcat/lib/webserver.jar:/System/Library/Java:/Users/Shared/jakarta/tomcat/lib
>Stop tomcat
>java.net.ConnectException: Connection refused
>         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.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
>         at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>cripes%
>
>//-----please help!!!!!!!!!!
>
>sandeep


Mime
View raw message