Dynamic auth-constraint in web.xml ?

2013-05-03 Thread Cédric Couralet
Hello, More of a servlet spec question than a tomcat one, and, from what I read, a rather long shot, but is there a way to define auth-constraint dynamically in web.xml? For instance I'd like to have the following security-constraint display-name/display-name

Re: Dynamic auth-constraint in web.xml ?

2013-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 5/3/13 3:09 AM, Cédric Couralet wrote: More of a servlet spec question than a tomcat one, and, from what I read, a rather long shot, but is there a way to define auth-constraint dynamically in web.xml? For instance I'd like to have

Re: Multiple tomcat containers or instance on same servers

2013-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oke, On 5/2/13 3:59 PM, Oke Akinola swisstopo wrote: I eventually installed version 6.0.36 7.0.29 as the highest supported version by the concerned applications respectively. I used the installer and both applications seen to be running fine.

Re: Dynamic auth-constraint in web.xml ?

2013-05-03 Thread Cédric Couralet
2013/5/3 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 5/3/13 3:09 AM, Cédric Couralet wrote: More of a servlet spec question than a tomcat one, and, from what I read, a rather long shot, but is there a way to define

NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Bryan Baugher
Hi, I am running Tomcat 7.0.28 on RHEL 6.2 with a single web app. The web app in question uses reflection to load some implementations of our classes (kind of like a service loader) knowing the class name. I am trying to add additional implementations by dropping them in the tomcat's lib

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Konstantin Kolinko
2013/5/3 Bryan Baugher bjb...@gmail.com: Hi, I am running Tomcat 7.0.28 on RHEL 6.2 with a single web app. The web app in question uses reflection to load some implementations of our classes (kind of like a service loader) knowing the class name. I am trying to add additional implementations

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Bryan Baugher
Sorry I tried to leave on what I thought were unnecessary details. You are correct my constructor has arguments. One of the arguments comes from another dependency jar that exists in both the webapp and tomcat/lib so I think your guess (c) could be right. I guess the solution would be to move the

RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Caldarale, Charles R
From: Bryan Baugher [mailto:bjb...@gmail.com] Subject: Re: NoSuchMethodError loading class in webapp from common class loader One of the arguments comes from another dependency jar that exists in both the webapp and tomcat/lib Never, never, never put the same class in the webapp and

Monitoring Tomcat - Delta Values

2013-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, In Rainer's talk at ApacheCon [1], he mentioned a number of JMX-inspectable values that weren't terribly informative on their own (e.g. number of total requests processed by a connector) but were interesting when observed as deltas of their

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Bryan Baugher
I was able to verify that you are correct the JVM treats those classes as different which is why I was getting NoSuchMethodError. After experimenting some more this method seems to be the wrong approach. Do you know of any better approaches on how to add runtime dependencies to a webapp? On Fri,

RE: Monitoring Tomcat - Delta Values

2013-05-03 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Monitoring Tomcat - Delta Values I was wondering if anyone could recommend an existing tool to capture that data, compute the deltas, etc. or if folks just roll their own? I believe moskito does this already.

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Rainer Jung
On 03.05.2013 18:13, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Monitoring Tomcat - Delta Values I was wondering if anyone could recommend an existing tool to capture that data, compute the deltas, etc. or if folks just roll their

RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Denise K. Erwin
-Original Message- From: Bryan Baugher [mailto:bjb...@gmail.com] Sent: Friday, May 03, 2013 6:52 AM To: users@tomcat.apache.org Subject: NoSuchMethodError loading class in webapp from common class loader Hi, I am running Tomcat 7.0.28 on RHEL 6.2 with a single web app. The web

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Jess Holle
On 5/3/2013 11:58 AM, Rainer Jung wrote: Although AFAIR last time it couldn't do my favorite quotient of deltas, but until now I haven't found a standard tool doing that. Average response time in last intervall = delta(cumulatedResponseTime)/

RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Caldarale, Charles R
From: Denise K. Erwin [mailto:dkerwi...@gmail.com] Subject: RE: NoSuchMethodError loading class in webapp from common class loader Not to say this affects your specific problem, but I see you referencing the Servlet 2.4 Specification. Tomcat 7 is based on Servlet Specification v3.0:

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Rainer Jung
On 03.05.2013 19:03, Jess Holle wrote: On 5/3/2013 11:58 AM, Rainer Jung wrote: Although AFAIR last time it couldn't do my favorite quotient of deltas, but until now I haven't found a standard tool doing that. Average response time in last intervall = delta(cumulatedResponseTime)/

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Jess Holle
On 5/3/2013 12:26 PM, Rainer Jung wrote: On 03.05.2013 19:03, Jess Holle wrote: On 5/3/2013 11:58 AM, Rainer Jung wrote: Although AFAIR last time it couldn't do my favorite quotient of deltas, but until now I haven't found a standard tool doing that. Average response time in last intervall =

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Shanti Suresh
On Fri, May 3, 2013 at 12:58 PM, Rainer Jung rainer.j...@kippdata.dewrote: On 03.05.2013 18:13, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Monitoring Tomcat - Delta Values I was wondering if anyone could recommend an existing tool to

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Leon Rosenberg
Hello Shanti, On Fri, May 3, 2013 at 10:57 PM, Shanti Suresh sha...@umich.edu wrote: I am interested in trending of the metrics - so data for four months, let's say. - Does moskito have a way of storing data? yes it does:

Re: Monitoring Tomcat - Delta Values

2013-05-03 Thread Darryl Lewis
My choice of weapon is Melody: http://code.google.com/p/javamelody/ On 4/05/13 1:19 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, In Rainer's talk at ApacheCon [1], he mentioned a number of JMX-inspectable values that weren't