Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-14 Thread Mark Thomas
On 14/05/2013 04:34, Chirag Dewan wrote: You need to destroy the connector to close the port. Mark, That seems to work. :) Now the port is free. But is it the right approach? You had a problem you couldn't solve. Someone with an @apache.org e-mail address (i.e. an Apache committer

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-14 Thread David Kerber
On 5/14/2013 5:27 AM, Mark Thomas wrote: On 14/05/2013 04:34, Chirag Dewan wrote: You need to destroy the connector to close the port. Mark, That seems to work. :) Now the port is free. But is it the right approach? You had a problem you couldn't solve. Someone with an @apache.org

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/13/13 11:34 AM, Chirag Dewan wrote: I am embedding Apache Tomcat 7.0.30 in my application. I am using the Tomcat class,and my application requires dynamic addition and removal of connectors(HTTP). Now while removing the

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Chirag Dewan
on port 1090 and 8080. I really dont understand what wrong I might be doing. Thanks From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Monday, 13 May 2013 9:47 PM Subject: Re: Port still busy after

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread André Warnier
Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Monday, 13 May 2013 9:47 PM Subject: Re: Port still busy after removing connector in Embedded Tomcat 7.0.30 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/13/13 11:34 AM, Chirag Dewan wrote

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Chirag Dewan
@tomcat.apache.org Sent: Monday, 13 May 2013 10:13 PM Subject: Re: Port still busy after removing connector in Embedded Tomcat 7.0.30 Chirag Dewan wrote: How do you observe that the connector is still bound to the port? Yes. I used netstat to observe that. Plus when I try to add another

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/13/13 1:03 PM, Chirag Dewan wrote: If the context was removed, but the Connector was still there, should you not get a 404 Not Found, rather than a timeout ? If I am calling the removeConnector, shouldn't it cleanup the

RE: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Port still busy after removing connector in Embedded Tomcat 7.0.30 If I am calling the removeConnector, shouldn't it cleanup the context and the free the port? In theory, yes, but ... How long are you

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Mark Thomas
On 13/05/2013 16:34, Chirag Dewan wrote: Hi, I am embedding Apache Tomcat 7.0.30 in my application. I am using the Tomcat class,and my application requires dynamic addition and removal of connectors(HTTP). Now while removing the connectors,the application gets undeployed but the port

RE: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Port still busy after removing connector in Embedded Tomcat 7.0.30 How long are you waiting? Can you give us the specifics of your connector configuration? I wonder if the connector is remaining open for something like a keepalive timeout (I

Re: Port still busy after removing connector in Embedded Tomcat 7.0.30

2013-05-13 Thread Chirag Dewan
List users@tomcat.apache.org Sent: Tuesday, 14 May 2013 2:41 AM Subject: Re: Port still busy after removing connector in Embedded Tomcat 7.0.30 On 13/05/2013 16:34, Chirag Dewan wrote: Hi, I am embedding  Apache Tomcat 7.0.30 in my application. I am using the Tomcat class,and my