The JVM is running jserv which is already bound to the port. But you say no
JVM is running, which is unusual--I've never seen this problem unless
another copy of jserv were running.

Maybe some other process is listening on the port? Try a different port number.

Maybe your jvm starts up, doesn't respond properly to ajpv11, and then
doesn't exit; so when the wrapper module tries to relaunch the jvm a second
time it can't.

I ran netstat on my linux box and it doesn't report processes listening for
connections; that is, even though jserv is listening on 8007 netstat did
not report this. I ran it on solaris 2.6 and it also didn't report the
listening jserv process.

Jonathan Buschmann <[EMAIL PROTECTED]> wrote:
>I'm also suffering from the problem:
>
>Apache JServ: Exception creating the server socket:
>java.net.BindException: Address already in use
>
>The answer in the Faq-O-matic doesn't convince me:
>...
>This error occurs when  JServ tries to bind to the ajp11 socket (by
>default 8007), doesn't seem to have anything to do with the JVM.
>In any case, before starting up Apache, I checked to make sure no other
>JVM or Jserv is still alive. I netstat'd to make sure nobody was still
>bound to 8007, and I still get these errors.
>Immediately afterwards i see that there is a connection in time wait on
>8007, which means the server bound to the socket and then died. It seems
>maybe that somehow Jserv (or two instances of Jserv) are binding to the
>socket twice.
>...

-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to