netstat -a will tell you the ports currently being
used.

Ajith Unnikrishnan

--- "Nair, Nipun" <[EMAIL PROTECTED]> wrote:
> Hi,
> Tomcat attempts to start the Ajp12ConnectionHandler
> at port 8007
> ( by default ) as configured in the server.xml
> 
> snippet from server.xml :-
>       <Connector
>
className="org.apache.tomcat.service.PoolTcpConnector">
>             <Parameter name="handler" 
>       
>
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
>             <Parameter name="port" value="8007"/>
>         </Connector>
> 
> It also starts the HttpConnectionHandler on the port
> 8080.
> 
> Make sure that these ports are free ( available for
> Tomcat ) - b4
> you try to start it. Else, change these ports in the
> server.xml and 
> try again.
> 
> Hope this helps -- Nipun.
> 
> -----Original Message-----
> From: Christopher Nallo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 4:54 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat will not start
> 
> 
> When I try to start tomcat this is the error I get.
> 
> 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
> 
> [root@elfkingdom bin]# 2001-01-26 01:55:03 -
> ContextManager: Adding
> context Ctx( /examples )
> 2001-01-26 01:55:03 - ContextManager: Adding context
> Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error
> messages
> 2001-01-26 01:55:03 - ContextManager: Adding context
> Ctx(  )
> 2001-01-26 01:55:03 - ContextManager: Adding context
> Ctx( /test )
> FATAL:java.io.IOException: Address already in use
> java.io.IOException: Address already in use
>         at
>
java.net.PlainSocketImpl.socketBind(PlainSocketImpl.java:native)
>         at
>
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:43)
>         at
> java.net.ServerSocket.<init>(ServerSocket.java:53)
>         at
> java.net.ServerSocket.<init>(ServerSocket.java:30)
>         at
>
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.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)
> 
> If anyone can help I would appreciate it.
> 
> Thanks
> 
> Chris
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

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

Reply via email to