Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Configuration :
ERROR: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: 
Address already in use

If you are getting the above error, it is most likely that you have another 
copy of the JVM running. On a unix machine, type:

ps -uax | grep java
or
ps -ef | grep java

If you see a JVM running you must kill it.

----------
From: Pierpaolo Fumagalli p_fumagalli@fumagalli.org
To: Java Apache Users java-apache-users@list.working-dogs.com
Subject: Re: Me too java.net.BindException error
Date: Mon, Mar 29, 1999, 7:38 AM


Jonathan Buschmann wrote:
> 
> For the record I've got Apache/1.3.4, java 1.1.6, Apache-JServ-1.0b2 as
> a DSO on Solaris 2.7.
> (P.S Because I like DSOs).
> 
I think there's something buggy in JDK 1.1.6 on the ServerSocket. I can
remember it from a discussion ran here some months ago... I'd suggest
you to upgrade to the LATEST JVM for Solaris... (1.1.7 or 1.2 should
work)...

        Pier
I get this error when I restart the server too soon after stopping it. Apparently you just have to let it die gracefully, then restart, otherwise to socket hasn't freed up yet.
[Append to This Answer]
Previous: (Answer) Setting LD_LIBRARY_PATH and JDBC drivers
Next: (Answer) Blackdown Java on a machine with the X/Windows libraries not installed
This document is: http://java.apache.org/faq/?file=79
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.