You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Colls <wi...@procomsys.com> on 2000/11/23 20:20:06 UTC

Address In use

I am trying to get tomcat up on a linux (2.2.12-20 kernel, RH6.1
distribution) and get the following messages when it starts:.

FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.bind(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
Code)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Code)

        at org.apache.tomcat.service.SimpleTcpConnector.start(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.start(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.main(Compiled Code)

[root@prosyssrv tomcat]# FATAL:java.net.BindException: Address already
in use
        at java.net.ServerSocket.<init>(Compiled Code)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
Code)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Co

What I have not been able to find is what address it is trying to use,
or where to change it. Any pointers will be most welcome.
 TIA
--
/* ============================================================== */

William E. Colls                                   Tel 613 591 0079
PROComputer Systems                                Fax 613 591 3924
67 Willow Glen Dr                                 www.procomsys.com
Kanata  Ontario  Canada                       PEG Member 1998051404

      Specialists in Progress Software development since 1985



Re: Address In use

Posted by Carlos Araya <el...@valinor.sjsu.edu>.
Try shutting it down before starting it and make sure that the port
you're using is not already in use by something else. The message means
that either tomcat was already started or that something else is using
the port you congifured tomcat in.

HTH,
Carlos
On Thu, 23 Nov 2000, William Colls
wrote:

|Date: Thu, 23 Nov 2000 14:20:06 -0500
|From: William Colls <wi...@procomsys.com>
|Reply-To: tomcat-user@jakarta.apache.org
|To: tomcat-user@jakarta.apache.org
|Subject: Address In use
|
|I am trying to get tomcat up on a linux (2.2.12-20 kernel, RH6.1
|distribution) and get the following messages when it starts:.
|
|FATAL:java.net.BindException: Address already in use
|java.net.BindException: Address already in use
|        at java.net.PlainSocketImpl.bind(Compiled Code)
|        at java.net.ServerSocket.<init>(Compiled Code)
|        at java.net.ServerSocket.<init>(Compiled Code)
|        at
|org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
|Code)
|        at
|org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Code)
|
|        at org.apache.tomcat.service.SimpleTcpConnector.start(Compiled
|Code)
|        at org.apache.tomcat.core.ContextManager.start(Compiled Code)
|        at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
|        at org.apache.tomcat.startup.Tomcat.main(Compiled Code)
|
|[root@prosyssrv tomcat]# FATAL:java.net.BindException: Address already
|in use
|        at java.net.ServerSocket.<init>(Compiled Code)
|        at
|org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
|Code)
|        at
|org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Co
|
|What I have not been able to find is what address it is trying to use,
|or where to change it. Any pointers will be most welcome.
| TIA
|--
|/* ============================================================== */
|
|William E. Colls                                   Tel 613 591 0079
|PROComputer Systems                                Fax 613 591 3924
|67 Willow Glen Dr                                 www.procomsys.com
|Kanata  Ontario  Canada                       PEG Member 1998051404
|
|      Specialists in Progress Software development since 1985
|
|

--
 p |Carlos E. Araya
 - |WebCT Project Coordinator - New Media Specialist
 G |
email	: araya@sjsu.edu (prefered)		| Phone (408) 924 2859
Web	: http://valinor.sjsu.edu/~elrond/	| fax 	(408) 924 2439
	  http://www.silverwolf-net.net (under construction)

finger elrond@valinor.sjsu.edu for PGP key
-- 
LIFE: You can't control the length, but you can control the depth and
width. -- From Randal Schwartz picture archive

``Paradoxically, a refusal to `put a monetary value on life' means that
life is often undervalued.'' -- Artificial Intelligence: A Modern Approach



RE: Address In use

Posted by Saurabh Shukla <sa...@cysphere.com>.
it might be referring to the port.
check server.xml for port 8080 and 8007.

Shuklix

-----Original Message-----
From: William Colls [mailto:william@procomsys.com]
Sent: Friday, November 24, 2000 12:50 AM
To: tomcat-user@jakarta.apache.org
Subject: Address In use


I am trying to get tomcat up on a linux (2.2.12-20 kernel, RH6.1
distribution) and get the following messages when it starts:.

FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.bind(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at java.net.ServerSocket.<init>(Compiled Code)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
Code)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Code)

        at org.apache.tomcat.service.SimpleTcpConnector.start(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.start(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
        at org.apache.tomcat.startup.Tomcat.main(Compiled Code)

[root@prosyssrv tomcat]# FATAL:java.net.BindException: Address already
in use
        at java.net.ServerSocket.<init>(Compiled Code)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Compiled
Code)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(Compiled Co

What I have not been able to find is what address it is trying to use,
or where to change it. Any pointers will be most welcome.
 TIA
--
/* ============================================================== */

William E. Colls                                   Tel 613 591 0079
PROComputer Systems                                Fax 613 591 3924
67 Willow Glen Dr                                 www.procomsys.com
Kanata  Ontario  Canada                       PEG Member 1998051404

      Specialists in Progress Software development since 1985