RE: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-23 Thread Fenlason, Josh
. , Josh. > -Original Message- > From: Sean Neeley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 22, 2006 10:59 AM > To: Tomcat Users List > Subject: RE: Using APR with tomcat leaves port 8009 bound > when tomcat is terminated? > > > I built the native conne

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-23 Thread Jim Jagielski
Neeley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 10:59 AM To: Tomcat Users List Subject: RE: Using APR with tomcat leaves port 8009 bound when tomcat is terminated? I built the native connector myself. The platform is Red Hat linux 8.0, kernel 2.4.32. Many, many thanks for

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-23 Thread Remy Maucherat
Jim Jagielski wrote: I agree that the change is a big benefit, and for most OSs we care about, SO_REUSEADDR is available. The APR call should gracefully fail... I'll plug this in later on today after some edge-case tests. In AprEndpoint, there are a lot of Socket.optSet(serverSock, Socket.APR

RE: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-23 Thread Fenlason, Josh
Thanks!! > -Original Message- > From: Jim Jagielski [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 23, 2006 10:49 AM > To: Tomcat Developers List > Subject: Re: Using APR with tomcat leaves port 8009 bound > when tomcat is terminated? > > > I agr

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-24 Thread Jim Jagielski
On Feb 23, 2006, at 11:53 AM, Remy Maucherat wrote: Jim Jagielski wrote: I agree that the change is a big benefit, and for most OSs we care about, SO_REUSEADDR is available. The APR call should gracefully fail... I'll plug this in later on today after some edge-case tests. In AprEndpoint, th

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-24 Thread Jim Jagielski
On Feb 24, 2006, at 11:15 AM, Jim Jagielski wrote: On Feb 23, 2006, at 11:53 AM, Remy Maucherat wrote: Jim Jagielski wrote: I agree that the change is a big benefit, and for most OSs we care about, SO_REUSEADDR is available. The APR call should gracefully fail... I'll plug this in later on

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-24 Thread William A. Rowe, Jr.
Jim Jagielski wrote: On Feb 23, 2006, at 11:53 AM, Remy Maucherat wrote: Jim Jagielski wrote: I agree that the change is a big benefit, and for most OSs we care about, SO_REUSEADDR is available. The APR call should gracefully fail... I'll plug this in later on today after some edge-case test

Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?

2006-02-24 Thread William A. Rowe, Jr.
D'OH!!! Why doesn't this become an apr_sockattr element to the apr_socket_create or apr_socket_bind call, so that APR determines the before/after thingy? One side note, you setopt *after* the bind if you want to know you are the absolute owner of the socket. you setopt *before* the bind on win3