Sounds like you have a couple problems.

1. You haven't set a TOMCAT_HOME environment value.  This is not needed as
the start script can guess were to look but for your own sanity you may want
to set it.

2. You already have a service listening on port 8080.  Kill the other
service or change to port that Tomcat runs on.



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 8:07 AM
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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to