You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/02/06 15:49:34 UTC

RE: problem starting tomcat 3.2 under solaris

	The problem is exactly what it says it is - something else is using
the ports that Tomcat wants.  You can edit the server.xml file in the conf
directory to change the ports (it currently uses 8080 and 8007, you can
search for these numbers).  A possibility is that the last time you ran
Tomcat it didn't shutdown cleanly.  Look for extra Java processes and kill
them if this is a possiblitity.

	Randy

-----Original Message-----
From: jteh@it.uts.edu.au [mailto:jteh@it.uts.edu.au]
Sent: Tuesday, February 06, 2001 10:07 AM
To: tomcat-user@jakarta.apache.org
Subject: problem starting tomcat 3.2 under solaris


Hi

I have recently installed tomcat 3.2 into my unix user account as it has
been
described in the doco.
I have problems though when I try and start up Tomcat as it spits out the
following error message:

Guessing TOMCAT_HOME from tomcat.sh to ./..
   Setting TOMCAT_HOME to ./..
   Using classpath:
./../lib/ant.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/parser.jar:.
/../lib/servlet.jar:./../lib/test:./../lib/webserver.jar:/usr/j2se/bin/../li
b/tools.jar
   
   jasont_thea:/export/home/jasont/tom/jakarta-tomcat-3.2.1/bin> 2001-02-06
03:41:01 - ContextManager: Adding context Ctx( /examples )

   Starting tomcat. Check logs/tomcat.log for error messages 
   2001-02-06 03:41:01 - ContextManager: Adding context Ctx( /admin )
   2001-02-06 03:41:16 - ContextManager: Adding context Ctx(  )
   2001-02-06 03:41:19 - 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:397)
           at java.net.ServerSocket.<init>(ServerSocket.java:170)
           at java.net.ServerSocket.<init>(ServerSocket.java:121)
           at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
ocketFactory.java:97)
           at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:239)
           at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.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)

This line seems to be the worrying one
'FATAL:java.net.BindException: Address already in use'

Any help would be appreciated

Jason



-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org