Try to stop tomcat and start it again.
Something when you create a new class (or recompile), you need to stop and
start tomcat.

Connie


> -----Original Message-----
> From: Craig Pfeifer [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:23 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: tomcat startup problem
> 
> This should be in an FAQ somewhere..
> 
> If I'm not mistaken, this error :
> 
> > FATAL:java.net.BindException: Address already in use
> >          at java.net.PlainSocketImpl.socketBind(Native Method)
> 
> means that there's already another application that has bound to the
> socket
> that you are trying to use.
> 
> So, chances are another instance of Tomcat is running on this machine
> already.
> 
> Craig Pfeifer
> Software Engineer
> Aether Systems, Software Products Division
> 703.847.3303 x2053
> [EMAIL PROTECTED]
> 
>   
> 
> 
> > -----Original Message-----
> > From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 1:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: tomcat startup problem
> > 
> > 
> > 
> > redhat 7
> > sun jdk 1.3
> > 
> > when I try to run tomcat I get
> > 
> > #./startup.sh
> > 
> > Using classpath: 
> > /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> > :/usr/local/
> > tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> > l/tomcat/lib/
> > servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> > ebserver.jar:
> > /usr/java/jdk1.3.0_02/lib/tools.jar
> > 
> > # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> > /examples )
> > 
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> > FATAL:java.net.BindException: Address already in use
> > java.net.BindException: Address already in use
> >          at java.net.PlainSocketImpl.socketBind(Native Method)
> >          at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
> >          at java.net.ServerSocket.<init>(ServerSocket.java:170)
> >          at java.net.ServerSocket.<init>(ServerSocket.java:121)
> >          at 
> > org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> > (DefaultServerSocketFactory.java:97)
> >          at 
> > org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> > pEndpoint.java:
> > 239)
> >          at 
> > org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> > tor.java:188)
> >          at 
> > org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> >          at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> >          at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > 

Reply via email to