Re: Tomcat 9x NIO connector socket timeout

2022-11-07 Thread Mark Thomas
/2 things get more complex. For example, the socket timeout for async is infinite and Tomcat manages the async timeout separately. The docs could do with an update. Mark On 04/11/2022 11:45, Pawel Veselov wrote: Hello. I was wondering what exact value does Tomcat 9x use for NIO connector

Tomcat 9x NIO connector socket timeout

2022-11-04 Thread Pawel Veselov
Hello. I was wondering what exact value does Tomcat 9x use for NIO connector socket timeouts? I.e., when the following exception occurs: org.apache.catalina.connector.ClientAbortException java.net.SocketTimeoutException at org.apache.catalina.connector.OutputBuffer.realWriteBytes

Re: BIO connector vs NIO connector

2022-10-20 Thread Christopher Schultz
: https://tomcat.apache.org/migration-9.html#BIO_connector_removed) May I know the major difference on BIO connector and NIO connector ? https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Connector_Comparison Note also that the APR/native Connector has been deprecated and removed in Tomcat

Re: BIO connector vs NIO connector

2022-10-20 Thread Mark Thomas
#BIO_connector_removed) May I know the major difference on BIO connector and NIO connector ? https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Connector_Comparison Note also that the APR/native Connector has been deprecated and removed in Tomcat 10.1.x onwards. if NIO have better performance, where

BIO connector vs NIO connector

2022-10-20 Thread Terry ST SY/OGCIO
connector and NIO connector ? if NIO have better performance, where can I get the bench mark comparison report ? Regards, Terry

Re: Understanding NIO connector

2019-10-10 Thread Christopher Schultz
t is in charge of Tomcat. I would like to understand all > the steps a request goes through in order to be handled and alsohow > does the NIO connector works considering mainly those three > parameters: - maxConnections - acceptCount - maxThreads There's a lot of information to giv

Understanding NIO connector

2019-10-10 Thread Filippo Machi
which way the application is handling incoming connections from the clients. Is there any resource that explains what is in charge of the operating system and what is in charge of Tomcat. I would like to understand all the steps a request goes through in order to be handled and alsohow does the NIO

Re: tomcat 8.5.35 warning using NIO 2 (or NIO) connector w APR: An unknown setting with identifier [2147483647] and value [2] was ignored

2018-12-20 Thread Rémy Maucherat
On Thu, Dec 20, 2018 at 9:37 PM John Palmer wrote: > I'm working with tomcat 8.5.35 to configure SSL > (current system is tomcat 7.5 using JKS keystore and truststore).. > > I finally have the certificate parts working with the default (commented > out) APR connector.. > it bothers me (doesn'

tomcat 8.5.35 warning using NIO 2 (or NIO) connector w APR: An unknown setting with identifier [2147483647] and value [2] was ignored

2018-12-20 Thread John Palmer
I'm working with tomcat 8.5.35 to configure SSL (current system is tomcat 7.5 using JKS keystore and truststore).. I finally have the certificate parts working with the default (commented out) APR connector.. it bothers me (doesn't seem intuitive) that the logging shows "useAprConnector [false

Re: Basic question related to NIO connector and Async servlet processing

2017-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 10/11/17 8:56 AM, Saurav Sarkar wrote: > I have got a basic question related to usage of Async servlet with > tomcat NIO connector. > > I want to use Async servlet with Non Block I/O as per servlet spec > https://docs.or

Basic question related to NIO connector and Async servlet processing

2017-10-11 Thread Saurav Sarkar
Hi All, I have got a basic question related to usage of Async servlet with tomcat NIO connector. I want to use Async servlet with Non Block I/O as per servlet spec https://docs.oracle.com/javaee/7/tutorial/servlets013.htm?lipi=urn%3Ali%3Apage%3Ad_flagship3_pulse_read%3BmL0Q5Y7ESTy4lpYPU%2Br77w

Re: Tomcat 8.5.4 making sessions when used with NIO connector

2016-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Swati, On 8/11/16 2:16 AM, swati jain wrote: > Tomcat Version - 8.5.4 ( Embedded) Platform - Linux > > When NIO connector is used with Embedded Tomcat, it creates a > session per request. The session lasts for 30 minutes. Is ther

Tomcat 8.5.4 making sessions when used with NIO connector

2016-08-10 Thread swati jain
Tomcat Version - 8.5.4 ( Embedded) Platform - Linux  When NIO connector is used with Embedded Tomcat, it creates a session per request. The session lasts for 30 minutes. Is there a way to configure connector in such a way that no session is created. I have traffic of around 4 requests per

Re: nio connector

2016-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 5/24/16 6:52 PM, Igor Cicimov wrote: > On 24 May 2016 12:33 pm, "Christopher Schultz" > wrote: >> > Jakub, > > On 5/23/16 8:03 PM, Ja kub wrote: Christopher, Thx for response, pleas confirm or deny if I understand well. >>

Re: nio connector

2016-05-24 Thread Igor Cicimov
On 24 May 2016 12:33 pm, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 5/23/16 8:03 PM, Ja kub wrote: > > Christopher, Thx for response, pleas confirm or deny if I > > understand well. > > > > BIO uses thread per http connection (tcp connectio

Re: nio connector

2016-05-24 Thread Ja kub
Christopher, Great Thanks. BR Jakub On Tue, May 24, 2016 at 4:33 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 5/23/16 8:03 PM, Ja kub wrote: > > Christopher, Thx for response, pleas confirm or deny if I > > un

Re: nio connector

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 5/23/16 8:03 PM, Ja kub wrote: > Christopher, Thx for response, pleas confirm or deny if I > understand well. > > BIO uses thread per http connection (tcp connection). (Shame I > didn't realize it!) NIO uses thread per request. It's more

Re: nio connector

2016-05-23 Thread Ja kub
schultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 5/23/16 11:38 AM, Ja kub wrote: > > In which scenario nio connector will outerform basic io connector > > and vice versa ? > > In Tomcat 8.5 and higher, NIO will always outperfo

Re: nio connector

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 5/23/16 11:38 AM, Ja kub wrote: > In which scenario nio connector will outerform basic io connector > and vice versa ? In Tomcat 8.5 and higher, NIO will always outperform the BIO connector because the BIO connector has been comp

nio connector

2016-05-23 Thread Ja kub
Hello, In which scenario nio connector will outerform basic io connector and vice versa ? What would be high level design of corresponding performance tests showing advantages of each connector ? BR Jakub

Re: NullPointerException when using NIO connector

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 João, On 1/28/16 3:09 PM, João Sávio wrote: > I'm using Tomcat 7.0.53 and I've changed it to use the NIO > connector recently. So, the following error start appearing on the > logs (few per day) > >

NullPointerException when using NIO connector

2016-01-28 Thread João Sávio
Hello guys I'm using Tomcat 7.0.53 and I've changed it to use the NIO connector recently. So, the following error start appearing on the logs (few per day) Jan 25, 2016 3:10:16 PM org.apache.tomcat.util.net.NioEndpoint processSocket SEVERE: Error allocating socket

[OT] Re: Effects of turning off sendFile in the NIO connector

2014-03-25 Thread Mark Thomas
On 23/03/2014 12:41, Martin Gainty wrote: > >> Date: Sat, 22 Mar 2014 14:24:01 -0400 >> Subject: Effects of turning off sendFile in the NIO connector >> From: tomcat.ran...@gmail.com >> To: users@tomcat.apache.org >> >> What effect would setting useSendfil

Re: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread John Smith
> > John > > The consequences for disabling sendFile are extremely hard to quantify > as there are so many variables. I would normally expect there to be more > CPU load but how much more? No idea. It might be impossible to detect, > it might leaver your CPUs pegged at 100%. > > The only way you wi

Re: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread Mark Thomas
On 23/03/2014 19:37, John Smith wrote: >>> We also only really need compression on XML data, the site has minimal >>> HTML, SWF's don't really benefit from gzip and some binary data we send >>> back and forth is already compressed. I could manually implement >>> compression on XML at the applicati

Re: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread John Smith
.0.42 > > RHEL6 > > ~4T outbound traffic/day > > > > Best, > > John > > Your first link refers to using sendFile for asynchronous writes from a servlet. "Any servlet can instruct Tomcat to perform a sendfile call by setting the appropriate request attributes.&qu

RE: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread Martin Gainty
> Date: Sat, 22 Mar 2014 14:24:01 -0400 > Subject: Effects of turning off sendFile in the NIO connector > From: tomcat.ran...@gmail.com > To: users@tomcat.apache.org > > What effect would setting useSendfile=false have on a web application using > the NIO connector?

Effects of turning off sendFile in the NIO connector

2014-03-22 Thread John Smith
What effect would setting useSendfile=false have on a web application using the NIO connector? I'm asking because I may want to use gzip compression in the connector. The docs state: *"There is a tradeoff between using compression (saving your bandwidth) and using the sendfile featu

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
> > > Collecting some peak usage data might be interesting. You definitely want > your max thread limit to be a bit above the number of concurrent requests > you're handling. Of course, that has to be balanced against limits on > other resources, such as memory and data base connections. > > - C

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
> From: John Smith [mailto:tomcat.ran...@gmail.com] > Subject: Re: NIO connector - connections and threads > If you're implying are 200 people simultaneously, hitting the same page at > the same time, or making the same HTTP POST at the same time, the answer > is, yes, probab

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
On Mon, Mar 10, 2014 at 11:48 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: John Smith [mailto:tomcat.ran...@gmail.com] > > Subject: Re: NIO connector - connections and threads > > Don't top post. > > > So are the open HTTP connec

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
> From: John Smith [mailto:tomcat.ran...@gmail.com] > Subject: Re: NIO connector - connections and threads Don't top post. > So are the open HTTP connections that use my web application code waiting > in line to be processed by the available threads specified in maxThreads?

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
gt; Sorry, forgot: Tomcat 7.0.42 > > > > > > On Fri, Mar 7, 2014 at 3:59 PM, John Smith > wrote: > > > >> The NIO connector has two attributes from the standard HTTP Connector > >> implementation, maxConnections and maxThreads with defaults of 1 and &

Re: NIO connector - connections and threads

2014-03-09 Thread Konstantin Kolinko
2014-03-09 2:08 GMT+04:00 John Smith : > Sorry, forgot: Tomcat 7.0.42 > > > On Fri, Mar 7, 2014 at 3:59 PM, John Smith wrote: > >> The NIO connector has two attributes from the standard HTTP Connector >> implementation, maxConnections and maxThreads with defaults of 100

Re: NIO connector - connections and threads

2014-03-08 Thread John Smith
Sorry, forgot: Tomcat 7.0.42 On Fri, Mar 7, 2014 at 3:59 PM, John Smith wrote: > The NIO connector has two attributes from the standard HTTP Connector > implementation, maxConnections and maxThreads with defaults of 1 and > 200, respectively. > > Can anyone shine some lig

NIO connector - connections and threads

2014-03-07 Thread John Smith
The NIO connector has two attributes from the standard HTTP Connector implementation, maxConnections and maxThreads with defaults of 1 and 200, respectively. Can anyone shine some light on how these work together? If I'm allowing up to 1 connections, would that mean I only hav

Re: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Terence M. Bandoian
On 11/7/2013 12:51 PM, Mark Thomas wrote: > On 07/11/2013 18:20, Bob DeRemer wrote: >> Guys, >> >> I wanted to follow back around on some of the websocket load testing >> we’ve been doing in EC2.The good news is, we were able to get 100K >> websockets connected directly to a single Tomcat insta

RE: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Bob DeRemer
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, November 07, 2013 1:52 PM > To: Tomcat Users List > Subject: Re: (working) high load (100K+) websocket + NIO connector setting > comparison on 1 Tomcat 7 instance > > On 07/11

Re: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Mark Thomas
On 07/11/2013 18:20, Bob DeRemer wrote: > Guys, > > I wanted to follow back around on some of the websocket load testing > we’ve been doing in EC2.The good news is, we were able to get 100K > websockets connected directly to a single Tomcat instance (EASILY) Excellent. > My theory is it’s a

(working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Bob DeRemer
Guys, I wanted to follow back around on some of the websocket load testing we've been doing in EC2.The good news is, we were able to get 100K websockets connected directly to a single Tomcat instance (EASILY) - once we got the settings right. As a result, I wanted to post my results here f

Re: Using NIO connector with Apache Httpd 2.4

2013-08-06 Thread Christopher Schultz
Hi All, >>>> >>>> We are currently using HTTP connector in tomcat 7.42 and >>>> planning to switch to AJP NIO connector. When I was reading >>>> through the docs I found "WARNING: The NIO connector for AJP >>>> is experimental."

Re: Using NIO connector with Apache Httpd 2.4

2013-08-06 Thread Mark Thomas
On 06/08/2013 16:09, Christopher Schultz wrote: > Mark, > > On 8/5/13 10:12 AM, Mark Thomas wrote: >> On 05/08/2013 15:50, Abhijith Prabhakar wrote: >>> Hi All, >>> >>> We are currently using HTTP connector in tomcat 7.42 and planning >>>

Re: Using NIO connector with Apache Httpd 2.4

2013-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/5/13 10:12 AM, Mark Thomas wrote: > On 05/08/2013 15:50, Abhijith Prabhakar wrote: >> Hi All, >> >> We are currently using HTTP connector in tomcat 7.42 and planning >> to switch to AJP NIO connector. Whe

Re: Using NIO connector with Apache Httpd 2.4

2013-08-05 Thread Abhijith Prabhakar
currently using HTTP connector in tomcat 7.42 and planning to >> switch to AJP NIO connector. When I was reading through the docs I >> found "WARNING: The NIO connector for AJP is experimental." >> >> This made me think that NIO connector might not be mature at t

Re: Using NIO connector with Apache Httpd 2.4

2013-08-05 Thread Mark Thomas
On 05/08/2013 15:50, Abhijith Prabhakar wrote: > Hi All, > > We are currently using HTTP connector in tomcat 7.42 and planning to > switch to AJP NIO connector. When I was reading through the docs I > found "WARNING: The NIO connector for AJP is experimental." > &

Using NIO connector with Apache Httpd 2.4

2013-08-05 Thread Abhijith Prabhakar
Hi All, We are currently using HTTP connector in tomcat 7.42 and planning to switch to AJP NIO connector. When I was reading through the docs I found "WARNING: The NIO connector for AJP is experimental." This made me think that NIO connector might not be mature at this point. Can

Re: Setting Nio connector in embedded tomcat7

2013-04-24 Thread Praveen Peddi
Hi, Not sure if anyone has used NIO connector in embedded tomcat 7 but I am out of luck so far. It seems so simple but I could not get it work. I am wondering if this is a bug in embedded version of tomcat because it works fine on standalone version. If this turns out to be a bug in tomcat 7

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Sorry I meant "nio" connector not bio connector. Outlook auto-correct is not smart enough :) On 4/23/13 Apr 23, 12:08 PM, "Praveen Peddi" wrote: >I am not sure if this is the same issue I am having but apparently I am >also using atmosphere for web sockets and make

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
/apache/catalina/start up/TomcatBaseTest.java Thanks Praveen On 4/23/13 Apr 23, 10:40 AM, "Tribon Cheng" wrote: >Just like this issue: > >http://atmosphere-framework.2306103.n4.nabble.com/WebSocket-not-working-on >-Tomcat-7-With-NIO-connector-was-WebSocket-not-working-on-Tomc

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Tribon Cheng
Just like this issue: http://atmosphere-framework.2306103.n4.nabble.com/WebSocket-not-working-on-Tomcat-7-With-NIO-connector-was-WebSocket-not-working-on-Tomcat-7-td4652351.html On Tue, Apr 23, 2013 at 10:16 PM, Mark Thomas wrote: > On 23/04/2013 15:11, Praveen Peddi wrote: > > Hi

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Mark Thomas
On 23/04/2013 15:11, Praveen Peddi wrote: > Hi all, I am trying to set Nio connector in tomcat7 so I can use > WebSocket support. I did the following (as simple as it can get) but > it doesn't seem to work. When I do this I can't connect to the > server. For example I have a

Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Hi all, I am trying to set Nio connector in tomcat7 so I can use WebSocket support. I did the following (as simple as it can get) but it doesn't seem to work. When I do this I can't connect to the server. For example I have a GET REST request that should work but I get connection ref

Re: Unix domain socket leak using NIO connector

2013-03-15 Thread Lucian I
ike we can grep > the Tomcat code for "new UNIXDomainSocket" or anything like that. > >> The leak is absent when Tomcat runs using the BIO connector, and >> this would indicate a problem in the NIO connector implementation. >> >> I've seen the same situation i

Re: Unix domain socket leak using NIO connector

2013-03-15 Thread Christopher Schultz
like we can grep the Tomcat code for "new UNIXDomainSocket" or anything like that. > The leak is absent when Tomcat runs using the BIO connector, and > this would indicate a problem in the NIO connector implementation. > > I've seen the same situation indicated by

Re: NIO connector issue: SEVERE: Error processing request

2013-01-17 Thread Brett Delle Grazie
to:icici...@gmail.com] > Sent: Tuesday, January 15, 2013 5:19 PM > To: Tomcat Users List > Subject: Re: NIO connector issue: SEVERE: Error processing request > > On Wed, Jan 16, 2013 at 9:34 AM, Kevin Priebe >wrote: > > > Hi, > > > > > > > > We have a

RE: NIO connector issue: SEVERE: Error processing request

2013-01-16 Thread Kevin Priebe
and will gather a bunch of more info as Igor and Chris suggested. Kevin -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Tuesday, January 15, 2013 5:19 PM To: Tomcat Users List Subject: Re: NIO connector issue: SEVERE: Error processing request On Wed, Jan 16,

Re: NIO connector issue: SEVERE: Error processing request

2013-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 1/15/13 5:34 PM, Kevin Priebe wrote: > We have a setup with Nginx load balancing between 2 clustered > tomcat instances. 1 instance is on the same server as Nginx and > the other is on a separate physical server (same rackspace). We’re >

Re: NIO connector issue: SEVERE: Error processing request

2013-01-15 Thread Igor Cicimov
27;t hurt to ask), switch problems etc? What else is between nginx and tomcat 2? Can you see in the nginx logs how much time the requests to instance 1 and instance 2 take? Also by comparing timestamps you should be able to find in nginx the request that failed (there must be error on nginx side too) and

NIO connector issue: SEVERE: Error processing request

2013-01-15 Thread Kevin Priebe
Hi, We have a setup with Nginx load balancing between 2 clustered tomcat instances. 1 instance is on the same server as Nginx and the other is on a separate physical server (same rackspace). We’re using pretty standard default settings and are using the NIO tomcat connector. Tomcat versio

Re: HTTP NIO connector not supporting IPv6

2012-09-13 Thread Aditi Sinha
usa [mailto:dmik...@vmware.com] > > Sent: Wednesday, September 12, 2012 2:14 PM > > To: Tomcat Users List > > Subject: Re: HTTP NIO connector not supporting IPv6 > > > > On Sep 12, 2012, at 2:44 PM, Jeffrey Janner wrote: > > > > >> -Original Me

RE: HTTP NIO connector not supporting IPv6

2012-09-13 Thread Jeffrey Janner
> -Original Message- > From: Daniel Mikusa [mailto:dmik...@vmware.com] > Sent: Wednesday, September 12, 2012 2:14 PM > To: Tomcat Users List > Subject: Re: HTTP NIO connector not supporting IPv6 > > On Sep 12, 2012, at 2:44 PM, Jeffrey Janner wrote: > &g

Re: HTTP NIO connector not supporting IPv6

2012-09-12 Thread Daniel Mikusa
On Sep 12, 2012, at 2:44 PM, Jeffrey Janner wrote: >> -Original Message- >> From: Daniel Mikusa [mailto:dmik...@vmware.com] >> Sent: Wednesday, September 12, 2012 10:00 AM >> To: Tomcat Users List >> Subject: Re: HTTP NIO connector not supporting IPv6 >

RE: HTTP NIO connector not supporting IPv6

2012-09-12 Thread Jeffrey Janner
> -Original Message- > From: Daniel Mikusa [mailto:dmik...@vmware.com] > Sent: Wednesday, September 12, 2012 10:00 AM > To: Tomcat Users List > Subject: Re: HTTP NIO connector not supporting IPv6 > > On Sep 12, 2012, at 1:29 AM, Aditi Sinha wrote: &g

Re: HTTP NIO connector not supporting IPv6

2012-09-12 Thread Daniel Mikusa
xx"/> > > > > Please let me know if something missing here? > > > > Thanks & Regards, > > Aditi > > > On Tue, Sep 11, 2012 at 7:30 PM, Jeffrey Janner > wrote: > >>> -Original Message- >>> From: Jeffrey Janner [ma

Re: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Aditi Sinha
ower versions, but I don't think any > that affect the connector mechanism. > > > > > -Original Message- > > > From: Aditi Sinha [mailto:adisinha0...@gmail.com] > > > Sent: Tuesday, September 11, 2012 7:21 AM > > > To: Tomcat Users List > > &

RE: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Jeffrey Janner
> -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Tuesday, September 11, 2012 8:57 AM > To: 'Tomcat Users List' > Subject: RE: HTTP NIO connector not supporting IPv6 > > Aditi - > > All connectors support both I

RE: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Jeffrey Janner
errors in your catalina.log file, those would be helpful as well. Jeff > -Original Message- > From: Aditi Sinha [mailto:adisinha0...@gmail.com] > Sent: Tuesday, September 11, 2012 7:21 AM > To: Tomcat Users List > Subject: HTTP NIO connector not supporting IPv6 > >

Re: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Daniel Mikusa
SSL requests: Connector with > protocol="org.apache.coyote.http11.Http11NioProtocol" (HTTP NIO > connector) > > > > With the above configuration server is not accessible through the IPv6 > address. The “netstat –an” command also does not list the connector &

HTTP NIO connector not supporting IPv6

2012-09-11 Thread Aditi Sinha
connector) 2. For SSL requests: Connector with protocol="org.apache.coyote.http11.Http11NioProtocol" (HTTP NIO connector) With the above configuration server is not accessible through the IPv6 address. The “netstat –an” command also does not list the connector ports(d

Re: Odd NIO connector behavior

2012-02-23 Thread Matthew Tyson
Just a heads up to the Tomcat team - I switched all our comet handling to Jetty, and these issues are resolved. Something is definitely amiss in the NIO connector. Regards, Matt Tyson On Sat, Dec 31, 2011 at 10:23 AM, Mark Thomas wrote: > On 31/12/2011 16:35, Matthew Tyson wrote: > &g

Re: Odd NIO connector behavior

2011-12-31 Thread Mark Thomas
On 31/12/2011 16:35, Matthew Tyson wrote: > On Wed, Dec 28, 2011 at 1:04 AM, wrote: > >> Matthew Tyson wrote: >> >>> That's right, there is an f5 load balancer. The valve is used to keep >>> track of whether the request was via HTTPS or not. >> >> What happens if you go direct to Tomcat and byp

Re: Odd NIO connector behavior

2011-12-31 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 1:04 AM, wrote: > Matthew Tyson wrote: > > >That's right, there is an f5 load balancer. The valve is used to keep > >track of whether the request was via HTTPS or not. > > What happens if you go direct to Tomcat and bypass the F5? > > >tcpdump seems to confirm the same.

Re: Odd NIO connector behavior

2011-12-31 Thread Pid
On 29/12/2011 19:22, Matthew Tyson wrote: > On Thu, Dec 29, 2011 at 11:07 AM, Pid wrote: > >> On 29/12/2011 17:27, Matthew Tyson wrote: >>> On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson >>> wrote: >>> On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr >> wrote: > Am 28.12.2011 10:04, sch

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 12:02 PM, Tim Watts wrote: > On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: > > > > > How an empty 200 response could be generated > > without executing the logging statement here is a mystery. > > > > Do you still have that MonitoringFilter configured in the web

Re: Odd NIO connector behavior

2011-12-29 Thread Tim Watts
On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: > How an empty 200 response could be generated > without executing the logging statement here is a mystery. > Do you still have that MonitoringFilter configured in the web app? Perhaps it is short circuiting the chain. > protected void

Re: Odd NIO connector behavior

2011-12-29 Thread Pid
On 29/12/2011 17:27, Matthew Tyson wrote: > On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson > wrote: > >> On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: >> >>> Am 28.12.2011 10:04, schrieb ma...@apache.org: >>> >>> Matthew Tyson> wrote: That's right, there is an f5 load balan

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 11:07 AM, Pid wrote: > On 29/12/2011 17:27, Matthew Tyson wrote: > > On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson > > wrote: > > > >> On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr >wrote: > >> > >>> Am 28.12.2011 10:04, schrieb ma...@apache.org: > >>> > >>> Matthew Tyso

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson wrote: > On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: > >> Am 28.12.2011 10:04, schrieb ma...@apache.org: >> >> Matthew Tyson> >>> wrote: >>> >>> That's right, there is an f5 load balancer. The valve is used to keep track of whether th

Re: Odd NIO connector behavior

2011-12-28 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: > Am 28.12.2011 10:04, schrieb ma...@apache.org: > > Matthew Tyson> >> wrote: >> >> That's right, there is an f5 load balancer. The valve is used to keep >>> track of whether the request was via HTTPS or not. >>> >> >> What happens if you go

Re: Odd NIO connector behavior

2011-12-28 Thread Stefan Mayr
Am 28.12.2011 10:04, schrieb ma...@apache.org: Matthew Tyson wrote: That's right, there is an f5 load balancer. The valve is used to keep track of whether the request was via HTTPS or not. What happens if you go direct to Tomcat and bypass the F5? tcpdump seems to confirm the same. What

Re: Odd NIO connector behavior

2011-12-28 Thread markt
Matthew Tyson wrote: >That's right, there is an f5 load balancer. The valve is used to keep >track of whether the request was via HTTPS or not. What happens if you go direct to Tomcat and bypass the F5? >tcpdump seems to confirm the same. What are you thinking? Probably, like me, that the F5

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 1:31 PM, Stefan Mayr wrote: > Am 24.12.2011 00:39, schrieb Matthew Tyson: > > Hello, >> >> We have been having quite a few problems with using long-polling >> connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 >> d

Re: Odd NIO connector behavior

2011-12-27 Thread Stefan Mayr
Am 24.12.2011 00:39, schrieb Matthew Tyson: Hello, We have been having quite a few problems with using long-polling connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 definitely improved things, but we are still seeing major issues. The problems only crop up after a

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 11:11 AM, Mark Thomas wrote: > On 25/12/2011 02:17, Matthew Tyson wrote: > > >> INFO 2011-12-24 10:25:35,578 COMET REQUEST: 75.149.42.46 POST null | > >> TRACE: > >> java.lang.Throwable > >> at > org.cometd.server.CometdServlet.service(CometdServlet.java:149) >

Re: Odd NIO connector behavior

2011-12-27 Thread Mark Thomas
On 25/12/2011 02:17, Matthew Tyson wrote: >> INFO 2011-12-24 10:25:35,578 COMET REQUEST: 75.149.42.46 POST null | >> TRACE: >> java.lang.Throwable >> at org.cometd.server.CometdServlet.service(CometdServlet.java:149) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java

Re: Odd NIO connector behavior

2011-12-25 Thread Konstantin Kolinko
; We have been having quite a few problems with using long-polling >>> > connections in Tomcat, via the NIO connector.  Upgrading to Tomcat >>> 7.0.23 >>> > definitely improved things, but we are still seeing major issues. >>> >>> Glad to hear things are get

Re: Odd NIO connector behavior

2011-12-24 Thread Matthew Tyson
On Sat, Dec 24, 2011 at 10:33 AM, Matthew Tyson wrote: > On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: > >> On 23/12/2011 23:39, Matthew Tyson wrote: >> > Hello, >> > >> > We have been having quite a few problems with using long-polling >> &

Re: Odd NIO connector behavior

2011-12-24 Thread Stefan Mayr
Am 24.12.2011 19:33, schrieb Matthew Tyson: On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: On 23/12/2011 23:39, Matthew Tyson wrote: Hello, We have been having quite a few problems with using long-polling connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23

Re: Odd NIO connector behavior

2011-12-24 Thread Matthew Tyson
On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: > On 23/12/2011 23:39, Matthew Tyson wrote: > > Hello, > > > > We have been having quite a few problems with using long-polling > > connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 > > d

Re: Odd NIO connector behavior

2011-12-24 Thread Mark Thomas
On 23/12/2011 23:39, Matthew Tyson wrote: > Hello, > > We have been having quite a few problems with using long-polling > connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 > definitely improved things, but we are still seeing major issues. Glad to hear thi

Odd NIO connector behavior

2011-12-23 Thread Matthew Tyson
Hello, We have been having quite a few problems with using long-polling connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 definitely improved things, but we are still seeing major issues. The problems only crop up after a couple minutes under some load (modest load

Re: Advantage of using HTTP NIO Connector

2011-02-17 Thread Mark Thomas
gt;> In which scenarios would we tend to use the default connector, and in >>> which >>> scenarios will it be more appropriate to use the NIO connector? >>> >> NIO and APR use one thread per currently processing request. >> BIO uses one thread per connect

Re: Advantage of using HTTP NIO Connector

2011-02-17 Thread Filip Hanik - Dev Lists
the NIO connector? NIO and APR use one thread per currently processing request. BIO uses one thread per connection. Since usually connections>> currently processing request, NIO and APR scale better. BIO has slightly better raw performance than NIO (excluding sendfile). It used

Re: Advantage of using HTTP NIO Connector

2011-02-17 Thread Afkham Azeez
onnector, and in > which > > scenarios will it be more appropriate to use the NIO connector? > > NIO and APR use one thread per currently processing request. > BIO uses one thread per connection. Since usually connections >> > currently processing request, NIO and APR scale bette

Re: Advantage of using HTTP NIO Connector

2011-02-17 Thread Mark Thomas
On 17/02/2011 14:56, Afkham Azeez wrote: > Hi folks, > What is the advantage of using this connector as opposed to the default one? > In which scenarios would we tend to use the default connector, and in which > scenarios will it be more appropriate to use the NIO connector? NIO and

Advantage of using HTTP NIO Connector

2011-02-17 Thread Afkham Azeez
Hi folks, What is the advantage of using this connector as opposed to the default one? In which scenarios would we tend to use the default connector, and in which scenarios will it be more appropriate to use the NIO connector? Thanks Azeez * *

RE: Nio Connector and self signed SSL certificate giving "No client certificate chain in this request"

2011-02-06 Thread Parag Thakur
Christopher, Thanks for the help. I will log this in Bugzilla shortly. -parag -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Saturday, February 05, 2011 4:06 AM To: Tomcat Users List Subject: Re: Nio Connector and self signed SSL certificate

RE: Nio Connector and self signed SSL certificate giving "No client certificate chain in this request"

2011-02-06 Thread Parag Thakur
. Regards, Parag -Original Message- From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com] Sent: Saturday, February 05, 2011 1:30 PM To: Tomcat Users List Subject: Re: Nio Connector and self signed SSL certificate giving "No client certificate chain in this request"

Re: Nio Connector and self signed SSL certificate giving "No client certificate chain in this request"

2011-02-05 Thread Brett Delle Grazie
Hi, On 4 February 2011 22:36, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Parag, > > On 2/4/2011 5:04 AM, Parag Thakur wrote: > >> When I try to access a secure URL (e.g. /secure/foo.do) from a java >> program using apache httpclient library (where the client

Re: Nio Connector and self signed SSL certificate giving "No client certificate chain in this request"

2011-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Parag, On 2/4/2011 5:04 AM, Parag Thakur wrote: > When I try to access a secure URL (e.g. /secure/foo.do) from a java > program using apache httpclient library (where the client is configured > to use "C:\keys\webserver.keystore" as the truststore an

  1   2   3   >