Re: multiple servers and digest authentication

2013-11-27 Thread Mark Thomas
On 27/11/2013 07:34, Dehaudt, Christophe wrote: Is there a way to share the nonce between servers so they can act as one? No. You'd need to customise the DigestAuthenticator to do that. I would like to get your advices , how to make a multiple server deployment running with Http digest. Use

Re: multiple servers and digest authentication

2013-11-27 Thread André Warnier
Mark Thomas wrote: On 27/11/2013 07:34, Dehaudt, Christophe wrote: Is there a way to share the nonce between servers so they can act as one? No. You'd need to customise the DigestAuthenticator to do that. I would like to get your advices , how to make a multiple server deployment running

Re: Another Non-blocking IO Question

2013-11-27 Thread Daniel Mikusa
On Nov 26, 2013, at 2:57 PM, Mark Thomas ma...@apache.org wrote: On 26/11/2013 15:26, Daniel Mikusa wrote: On Nov 26, 2013, at 10:13 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Nov 26, 2013, at 6:06 AM, Mark Thomas ma...@apache.org wrote: On 26/11/2013 10:46, Mark Thomas wrote: On

User Realm for Tomcat Builtin SPNEGO

2013-11-27 Thread Chris Fors
Is using the JNDI the best option? Any examples of this or other/better methods? Thanks Chris

RE: Another Non-blocking IO Question

2013-11-27 Thread Konstantin Preißer
Hi Dan, -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Wednesday, November 27, 2013 1:48 PM To: Tomcat Users List Subject: Re: Another Non-blocking IO Question I'm seeing another issue with the same basic test though. After I tested the previous

wifi access to tomcat on wired mc

2013-11-27 Thread Dave Pawson
Scenario. Tomcat install on Linux, wired to router. Windows 7 connected to router via wifi. from windows. ping ip.address no problem http access to tomcat from windows. Nothing telnet access to tomcat ip port Nothing wired access to tomcat from a.n.other no problem I've got Zone

Re: Tomcat Websocket failover

2013-11-27 Thread Nir A
Thanks! On Tue, Nov 26, 2013 at 11:48 AM, Mark Thomas ma...@apache.org wrote: On 25/11/2013 10:58, Nir A wrote: Hello, In our current generation web application we used session replication with tomcat clustering. (and a load balancer) That way, we recieved an auto failover when a

RE: wifi access to tomcat on wired mc

2013-11-27 Thread Leo Donahue - OETX
-Original Message- From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: wifi access to tomcat on wired mc http access to tomcat from windows. Nothing Can you elaborate on this? What url did you try?

RE: Another Non-blocking IO Question

2013-11-27 Thread Konstantin Preißer
-Original Message- From: Konstantin Preißer [mailto:kpreis...@apache.org] Sent: Wednesday, November 27, 2013 5:18 PM To: 'Tomcat Users List' Subject: RE: Another Non-blocking IO Question 2) If I read correctly, when onAllDataRead() is called, you call asyncContext.complete();

Re: wifi access to tomcat on wired mc

2013-11-27 Thread Dave Pawson
basic is from wifi mc ping 192.168.1.65 no problem My local net is that, 192.168.1.* putting that in the window(Chrome) browser says no. http://192.168.1.65:8081 Just times out. regards On 27 November 2013 16:37, Leo Donahue - OETX leodona...@mail.maricopa.gov wrote: -Original

Logging Best Practices on RHEL

2013-11-27 Thread Tomcat Random
I'm running Tomcat 7.0.42 on RHEL. Currently all my exceptions are handled with e.printStackTrace() and go to catalina.out, which doesn't rotate. Could someone be so kind as to recommend a better way to handle logging, with specific steps. Daily error logs would be a good start, instead of one

Re: Another Non-blocking IO Question

2013-11-27 Thread Daniel Mikusa
On Nov 27, 2013, at 11:18 AM, Konstantin Preißer kpreis...@apache.org wrote: Hi Dan, -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Wednesday, November 27, 2013 1:48 PM To: Tomcat Users List Subject: Re: Another Non-blocking IO Question I'm seeing

Re: multiple servers and digest authentication

2013-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 11/27/13, 5:15 AM, André Warnier wrote: Mark Thomas wrote: On 27/11/2013 07:34, Dehaudt, Christophe wrote: Is there a way to share the nonce between servers so they can act as one? No. You'd need to customise the

Re: wifi access to tomcat on wired mc

2013-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 11/27/13, 11:18 AM, Dave Pawson wrote: Scenario. Tomcat install on Linux, wired to router. Windows 7 connected to router via wifi. from windows. ping ip.address no problem Which IP address? The local one or the public one of the

Re: Logging Best Practices on RHEL

2013-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 11/27/13, 11:45 AM, Tomcat Random wrote: I'm running Tomcat 7.0.42 on RHEL. Currently all my exceptions are handled with e.printStackTrace() and go to catalina.out, which doesn't rotate. Yuk. Could someone be so kind as to

seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-11-27 Thread Bob DeRemer
When testing our WebSocket application under heavy load we eventually get the following exception from the JSR-356 ServerEndpoint's RemoteEndpoint.Basic when trying to write our binary response message: java.lang.IllegalStateException: The remote endpoint was in state [BINARY_FULL_WRITING]

Re: Logging Best Practices on RHEL

2013-11-27 Thread Tomcat Random
Yes, Yuk indeed. So just to clarify, you recommend using log4j, and replacing all my printStackTrace with log4j specific code. Would that be correct? Cheers, Alec On Wed, Nov 27, 2013 at 12:18 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE-

Re: wifi access to tomcat on wired mc

2013-11-27 Thread Dave Pawson
On 27 November 2013 17:10, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 11/27/13, 11:18 AM, Dave Pawson wrote: Scenario. Tomcat install on Linux, wired to router. Windows 7 connected to router via wifi. from windows.

Re: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-11-27 Thread Mark Thomas
On 27/11/2013 17:28, Bob DeRemer wrote: When testing our WebSocket application under heavy load we eventually get the following exception from the JSR-356 ServerEndpoint's RemoteEndpoint.Basic when trying to write our binary response message: java.lang.IllegalStateException: The remote

Re: Logging Best Practices on RHEL

2013-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 11/27/13, 12:35 PM, Tomcat Random wrote: Yes, Yuk indeed. So just to clarify, you recommend using log4j, and replacing all my printStackTrace with log4j specific code. Would that be correct? It's really a matter of personal

Re: wifi access to tomcat on wired mc

2013-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 11/27/13, 12:39 PM, Dave Pawson wrote: On 27 November 2013 17:10, Christopher Schultz You mean when you try to reach Tomcat's HTTP port from a machine hard-wired on the network using the local IP, it works fine? No, sorry , I lie

Re: wifi access to tomcat on wired mc

2013-11-27 Thread Dave Pawson
On 27 November 2013 18:24, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 11/27/13, 12:39 PM, Dave Pawson wrote: On 27 November 2013 17:10, Christopher Schultz You mean when you try to reach Tomcat's HTTP port from a machine

Re: Another Non-blocking IO Question

2013-11-27 Thread Daniel Mikusa
On Nov 27, 2013, at 11:47 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Nov 27, 2013, at 11:18 AM, Konstantin Preißer kpreis...@apache.org wrote: Hi Dan, -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Wednesday, November 27, 2013 1:48 PM To:

RE: Logging Best Practices on RHEL

2013-11-27 Thread Dale Ogilvie
We chose slf4j with log4j underneath. 1. slf4j has nice optimal syntax: Log.debug(The logged in user is {} {},firstName,lastName); http://www.slf4j.org/faq.html#logging_performance 2. It has bridging apis to route other logging frameworks. If you are using other libraries which use a different

Re: Logging Best Practices on RHEL

2013-11-27 Thread Tomcat Random
Thanks Dave, I'll take a look at it. Chris, thanks as well. Out of curiosity, do either of you know if/how you'd consolidate logging for things like say clustering. I have clustering configured for two physical servers each running an instance of tomcat. I have logging configured as per the

Pooled Connections Lost After 10 Minutes (600 seconds)

2013-11-27 Thread Tomcat Random
I have two instances of Tomcat 7.0.42, each on their own physical server (RHEL6). There's nothing in front of them, I'm using IPTABLES to route 80 to 8080. They're clustered using the native Tomcat clustering. I'm using the non blocking NIO connector. Everything behaves as expected, except after

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-11-27 Thread Tomcat Random
I should add this is with MySQL 5.5.34 On Wed, Nov 27, 2013 at 5:32 PM, Tomcat Random tomcat.ran...@gmail.comwrote: I have two instances of Tomcat 7.0.42, each on their own physical server (RHEL6). There's nothing in front of them, I'm using IPTABLES to route 80 to 8080. They're clustered

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-11-27 Thread Neven Cvetkovic
On Wed, Nov 27, 2013 at 5:32 PM, Tomcat Random tomcat.ran...@gmail.com wrote: Everything behaves as expected, except after 600 seconds (10 minutes) all the pooled connections expire. As far as I can tell the default is to not remove/evict pooled connections below 'minIdle' but that's

Patch information required

2013-11-27 Thread kanishk.sethi
Hi All, We are using Apache tomcat version 6.0.26 and we need to install below patches on our servers to fix some Vulnerabilities. http://svn.apache.org/viewvc?view=revisionrevision=958911 http://svn.apache.org/viewvc?view=revisionrevision=958977

Re: Patch information required

2013-11-27 Thread Ben Stringer
On Thu, November 28, 2013 5:15 pm, kanishk.se...@accenture.com wrote: Hi All, Hi Kanishhk, We are using Apache tomcat version 6.0.26 and we need to install below patches on our servers to fix some Vulnerabilities. http://svn.apache.org/viewvc?view=revisionrevision=958911

Re: Patch information required

2013-11-27 Thread Mark Thomas
On 28/11/2013 06:36, Ben Stringer wrote: On Thu, November 28, 2013 5:15 pm, kanishk.se...@accenture.com wrote: Hi All, Hi Kanishhk, We are using Apache tomcat version 6.0.26 and we need to install below patches on our servers to fix some Vulnerabilities.