You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "G.Nagarajan" <gn...@dkf.de> on 2000/12/14 09:47:17 UTC

RE: Installation problem

Hi,
The problem could be
1. Either PWS is running in your machine
2. Some other program is using the port number used by tomcat.
3. Tomcat is already running!

I guess the solution would be to either shutdown the other apps or bind
tomcat to another port.

Regards,
Nagaraj.


  -----Original Message-----
  From: Andy Sosnowski [mailto:longhaul@bestweb.net]
  Sent: Wednesday, December 13, 2000 10:39 PM
  To: tomcat-user@jakarta.apache.org
  Subject: Installtion problem


  Hi
  I have just downloaded Tomcat 3.2.1 onto Windows 98 machine.
  When I invoke

  tomcat run

  I get the following messages.

    2000-12-13 03:42:38 - ContextManager: Adding context Ctx( /admin )
    2000-12-13 03:42:38 - ContextManager: Adding context Ctx(  )
    2000-12-13 03:42:38 - ContextManager: Adding context Ctx( /test )
    FATAL:java.net.BindException: Address in use: JVM_Bind
    java.net.BindException: Address in use: JVM_Bind
            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(Default
    ServerSocketFactory.java:97)
            at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
    nt.java:239)
            at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
    a: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)


  But no ports are being used.:

    D:\tomcat\jakarta-tomcat-3.2.1>netstat

    Active Connections

      Proto  Local Address          Foreign Address        State

    D:\tomcat\jakarta-tomcat-3.2.1>
  Also I tried several different ports with the exact same message
  Also I am unsure that the installation finished properly:
  tomcat start returned the following. :

    2000-12-13-ContextManager: Adding context Ctx( /examples)
    Starting tomcat...
    ContexManager: Adding context Ctx(/ admin)
    ...
    2000-12-13 PoolTcpConnector: Starting HttpConnectionHandler on 88
    2000-12-13 -PoolTcpConnector: Starting ajp2ConnectionHandler on 8007

  Has anyone seen this?

  Thanks in advance
  Andrew Sosnowski