Re: Connection pool in a clustered environment

2016-03-08 Thread Daniel Savard
Hi Chris, thanks for the explanations. I just completed a first dirty test and it is actually working fine. I believe I did something wrong on my first trial. I did put the distributable="true" attribute in the Context element of my context file in

Re: Modjk surfacing errno 115

2016-03-08 Thread Max Lynch
If we're receiving an error 115, could this mean that any timeout is kind of irrelevant? The first attempt to create the socket immediately ends with this code. 100ms later, per retry_interval, the same error is immediately returned. The code at line 627 tests the return val from this line which

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-08 Thread Jason Overland
Okay, so I checked out Tomcat 8.0.32 from source control. I then reverted MemoryRealm's authenticate method to how it was in 7.0.26 and built Tomcat and now my authentication works. This of course is not a solution, but it obviates most of my other questions. I guess the important question is:

NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-08 Thread Jason Overland
Hi, I'm upgrading an existing Vaadin 6 application from Tomcat 7.0.26 to Tomcat 8.0.32 and have some questions. I'm using Windows 7 and debugging in Eclipse. For authentication our configuration is using a MemoryRealm with digest="SHA". We are storing usernames and passwords in a

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Mark Eggers
Yuval, On 3/8/2016 2:35 PM, Yuval Schwartz wrote: > On Tue, Mar 8, 2016 at 10:53 PM, Mark Thomas wrote: > >> On 08/03/2016 20:20, Christopher Schultz wrote: >>> Yuval, >>> >>> On 3/8/16 12:38 PM, Yuval Schwartz wrote: Hello Christopher, thanks, responses below. >>>

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
Sorry, I should also say, I specified in the beginning that I am using Amazon linux AMI but that is my production server. Right now, I'm testing in my development environment and this is on a windows system. All the rest of the versions I mentioned are the same. Could it be something with the

Re: Question about your recent security (CVE-2015-5345) fix in 7.0.68 build

2016-03-08 Thread Harish Krishnan
Thanks Chris for the reply. Looks like my understanding of the fix is incorrect. I assumed (my bad) that, with the fix for this CVE in place (tomcat 7.0.68) + setting the additional context attribute (mapperContextRootRedirectEnabled="false"), all the redirects for that webapp where context

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
On Tue, Mar 8, 2016 at 10:53 PM, Mark Thomas wrote: > On 08/03/2016 20:20, Christopher Schultz wrote: > > Yuval, > > > > On 3/8/16 12:38 PM, Yuval Schwartz wrote: > >> Hello Christopher, thanks, responses below. > > > >> On Tue, Mar 8, 2016 at 6:23 PM, Christopher Schultz < >

RE: Advice on Cluster in one machine

2016-03-08 Thread Caldarale, Charles R
> From: Edwin Quijada [mailto:listas_quij...@hotmail.com] > Subject: Re: Advice on Cluster in one machine > Daniel, can you give the idea to do a parallel > deployment approach? What tools I need ? No tools, other than possibly changes to your build script. The doc is here:

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
On Tue, Mar 8, 2016 at 10:55 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yuval, > > On 3/8/16 3:47 PM, Yuval Schwartz wrote: > > On Tue, Mar 8, 2016 at 10:20 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote:

Re: Advice on Cluster in one machine

2016-03-08 Thread Edwin Quijada
Daniel, can you give the idea to do a parallel deployment approach? What tools I need ? From: Daniel Savard Sent: Tuesday, March 8, 2016 7:20 PM To: Tomcat Users List Subject: Re: Advice on Cluster in one machine On the zero

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 3/8/16 3:47 PM, Yuval Schwartz wrote: > On Tue, Mar 8, 2016 at 10:20 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Yuval, > > On 3/8/16 12:38 PM, Yuval Schwartz wrote: Hello Christopher, thanks, responses

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Mark Thomas
On 08/03/2016 20:20, Christopher Schultz wrote: > Yuval, > > On 3/8/16 12:38 PM, Yuval Schwartz wrote: >> Hello Christopher, thanks, responses below. > >> On Tue, Mar 8, 2016 at 6:23 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: > >> Yuval, > >> On 3/8/16 3:14 AM, Yuval

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
Thanks again, see below... On Tue, Mar 8, 2016 at 10:20 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yuval, > > On 3/8/16 12:38 PM, Yuval Schwartz wrote: > > Hello Christopher, thanks, responses below. > > > > On Tue, Mar 8,

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 3/8/16 12:38 PM, Yuval Schwartz wrote: > Hello Christopher, thanks, responses below. > > On Tue, Mar 8, 2016 at 6:23 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Yuval, > > On 3/8/16 3:14 AM, Yuval Schwartz

Re: Connection pool in a clustered environment

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 3/8/16 2:27 PM, Daniel Savard wrote: > I wonder how you handle a pool of connections (not necessarily to > a database, think about something generic) in a clustered > environement. Generally, there is nothing to be done, here. Each node

Re: Advice on Cluster in one machine

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 3/8/16 2:20 PM, Daniel Savard wrote: > On the zero downtime deployments side, I would prefer a parallel > deployment approach. You can deploy a new version within the same > instance and have zero downtime as well without building a >

Connection pool in a clustered environment

2016-03-08 Thread Daniel Savard
Hi everyone, I wonder how you handle a pool of connections (not necessarily to a database, think about something generic) in a clustered environement. I defined a pool of connections in my application context and I did put it in the context with the setAttribute() method. Since each instance is

Re: Advice on Cluster in one machine

2016-03-08 Thread Daniel Savard
On the zero downtime deployments side, I would prefer a parallel deployment approach. You can deploy a new version within the same instance and have zero downtime as well without building a cluster. I haven't experiment yet with this, but it is something I am looking forward to test in short

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Chris -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, March 08, 2016 11:36 AM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders [SNIP] > Yeah, it's a shame it's the case, but to

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
Hello Christopher, thanks, responses below. On Tue, Mar 8, 2016 at 6:23 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yuval, > > On 3/8/16 3:14 AM, Yuval Schwartz wrote: > > Tomcat version: 8.0.22 Jdk: 1.8.0_05 Server: Amazon

Re: Advice on Cluster in one machine

2016-03-08 Thread Mark Eggers
On 3/8/2016 8:54 AM, Christopher Schultz wrote: > Edwin, > > On 3/8/16 11:46 AM, Edwin Quijada wrote: > > >> From: Christopher Schultz >> Sent: Tuesday, March 8, 2016 3:48 >> PM To: Tomcat Users List Subject: Re: Advice on

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
Yes, I agree. I changed the file name in the default tomcat appender to be called tomcat and the one in the log4j file in the classes is called cfcc which makes more sense as that is the web applications context name. I'll keep plugging at it. I really thank you for your help. -Joleen On Tue,

Re: Advice on Cluster in one machine

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 3/8/16 11:46 AM, Edwin Quijada wrote: > > > From: Christopher Schultz > Sent: Tuesday, March 8, 2016 3:48 > PM To: Tomcat Users List Subject: Re: Advice on Cluster in

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joleen, On 3/8/16 11:44 AM, Joleen Barker wrote: > Hello Christopher, > > I thank you for your comments. I had changed the swallowOutput=true > back when I changed the default tomcat logging to use the log4j > properties files. I did rename the cfcc

Re: Advice on Cluster in one machine

2016-03-08 Thread Edwin Quijada
From: Christopher Schultz Sent: Tuesday, March 8, 2016 3:48 PM To: Tomcat Users List Subject: Re: Advice on Cluster in one machine -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 3/8/16 8:19 AM, Edwin Quijada

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
Hello Christopher, I thank you for your comments. I had changed the swallowOutput=true back when I changed the default tomcat logging to use the log4j properties files. I did rename the cfcc log I had to read tomcat and it comes up and captures the starting/stopping details but that's about it.

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cris, On 3/8/16 11:16 AM, Cris Berneburg - US wrote: > Chris, > > -Original Message- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: Tuesday, March 08, 2016 > 10:44 AM To: Tomcat Users List Subject: Re: Understanding

Re: Warning response header

2016-03-08 Thread Sean Dawson
On Tue, Mar 8, 2016 at 10:58 AM, Mark Eggers wrote: > Chris, > > On 3/8/2016 7:52 AM, Christopher Schultz wrote: > > Mark, > > > > On 3/7/16 5:47 PM, Mark Eggers wrote: > >> Sean, > > > >> I just noticed something else: > > > >> On 3/7/2016 2:11 PM, Sean Dawson

Re: Mapping servlet to non English url pattern

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 3/8/16 3:14 AM, Yuval Schwartz wrote: > Tomcat version: 8.0.22 Jdk: 1.8.0_05 Server: Amazon Linux > > Hello, > > I want to map my servlet to a Hebrew url pattern. Hmm. > I tried placing the hebrew url pattern both in the "@webservlet" >

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Chris, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, March 08, 2016 10:44 AM To: Tomcat Users List Subject: Re: Understanding how to controlling what data is written to log4j appenders [SNIP] >> # stdout is set to be a

Re: Question about your recent security (CVE-2015-5345) fix in 7.0.68 build

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harish, On 3/7/16 6:02 PM, Harish Krishnan wrote: > Unfortunately, i still could not verify this vulnerability as it > still appears not fixed & my requests get redirected. What makes you think that the requests should not be redirected? > Instead

Re: Warning response header

2016-03-08 Thread Mark Eggers
Chris, On 3/8/2016 7:52 AM, Christopher Schultz wrote: > Mark, > > On 3/7/16 5:47 PM, Mark Eggers wrote: >> Sean, > >> I just noticed something else: > >> On 3/7/2016 2:11 PM, Sean Dawson wrote: >>> On Sun, Mar 6, 2016 at 12:48 PM, Sean Dawson >>> wrote: >>>

Re: Warning response header

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/7/16 5:47 PM, Mark Eggers wrote: > Sean, > > I just noticed something else: > > On 3/7/2016 2:11 PM, Sean Dawson wrote: >> On Sun, Mar 6, 2016 at 12:48 PM, Sean Dawson >> wrote: >> >>> >>> Tomcat 8_32 Windows

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread tomcat
On 08.03.2016 15:15, Joleen Barker wrote: Thank you for the idea. Worst case scenario, that is what I would have to do but I'm hoping someone that may have more experience than myself with be able to see that one thing I am missing. Another pair of eyes is always a good thing. Unfortunately

Re: Advice on Cluster in one machine

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 3/8/16 8:19 AM, Edwin Quijada wrote: > I am new using Tomcat so I have a question about performance. I > have installed a cluster with 2 tomcats and apache webserver like > proxy in front of Tomcat cluster but this whole thing is in one

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joleen, On 3/7/16 12:31 PM, Joleen Barker wrote: > The only thing I can think of to help you understand where I am at > is to post the different log4j.properties config files I have. So I > will post the one I have that went in for my default Tomcat

Re: Advice on Cluster in one machine

2016-03-08 Thread Edwin Quijada
From: André Warnier (tomcat) Sent: Tuesday, March 8, 2016 1:46 PM To: users@tomcat.apache.org Subject: Re: Advice on Cluster in one machine On 08.03.2016 14:19, Edwin Quijada wrote: > Hi! > I am new using Tomcat so I have a question

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Joleen Barker
Thank you for the idea. Worst case scenario, that is what I would have to do but I'm hoping someone that may have more experience than myself with be able to see that one thing I am missing. Another pair of eyes is always a good thing. -Joleen On Tue, Mar 8, 2016 at 8:39 AM, Cris Berneburg - US

Re: Configuring a custom folder for Tomcat configuration files

2016-03-08 Thread Chiranga Alwis
Hi, sorry about that but this was answered after I had sent this email to the mailing list. Pardon me for that. On Tue, Mar 8, 2016 at 7:06 PM, Daniel Savard wrote: > Your question has been answered and you shouldn't cross post questions. > - > Daniel

QOSFilter in tomcat 8

2016-03-08 Thread Bhuvan Gupta
Hello all, Is there a QosFilter available for Tomcat 8, like there is one for jetty Theory: https://www.eclipse.org/jetty/documentation/current/qos-filter.html Src:

Re: Advice on Cluster in one machine

2016-03-08 Thread tomcat
On 08.03.2016 14:19, Edwin Quijada wrote: Hi! I am new using Tomcat so I have a question about performance. I have installed a cluster with 2 tomcats and apache webserver like proxy in front of Tomcat cluster but this whole thing is in one server, somebody tell me that is not useful beacuse

RE: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread Cris Berneburg - US
Joleen >-Original Message- >From: Joleen Barker [mailto:oldenuf2no...@gmail.com] >Sent: Monday, March 07, 2016 3:54 PM >To: Tomcat Users List >Subject: Re: Understanding how to controlling what data is written to log4j >appenders > >One more thing I tried was to change the parent for

Re: Configuring a custom folder for Tomcat configuration files

2016-03-08 Thread Daniel Savard
Your question has been answered and you shouldn't cross post questions. - Daniel Savard 2016-03-08 3:31 GMT-05:00 Chiranga Alwis : > Hi, > > please refer the question in stackoverflow >

Advice on Cluster in one machine

2016-03-08 Thread Edwin Quijada
Hi! I am new using Tomcat so I have a question about performance. I have installed a cluster with 2 tomcats and apache webserver like proxy in front of Tomcat cluster but this whole thing is in one server, somebody tell me that is not useful beacuse is in the same server that is better give

Re: Tomcat 7.0.63 - socketBuffer "-1" - linux platform behaviour

2016-03-08 Thread Rashmi R Katagall
I realised my attachment didnt go through. Here is my source code: My adapter service implementation looks like this: public class dummyAdapter implements Adapter { public boolean asyncDispatch(Request arg0, Response arg1, SocketStatus arg2)

Configuring a custom folder for Tomcat configuration files

2016-03-08 Thread Chiranga Alwis
Hi, please refer the question in stackoverflow http://stackoverflow.com/questions/35862427/configuring-custom-tomcat-configuration-folder . Is this possible? Any help is highly appreciated.

Mapping servlet to non English url pattern

2016-03-08 Thread Yuval Schwartz
Tomcat version: 8.0.22 Jdk: 1.8.0_05 Server: Amazon Linux Hello, I want to map my servlet to a Hebrew url pattern. I tried placing the hebrew url pattern both in the "@webservlet" annotation (urlpatterns attribute) and in the the web.xml file. In both cases it doesn't work, it's as if there's