RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-26 Thread Ofer Israeli
Felix Schumacher wrote: Am 23.02.2012 19:50, schrieb Ofer Israeli: Felix Schumacher wrote: Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Ofer Israeli [mailto:of...@checkpoint.com] Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile

Re: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-26 Thread chris derham
Ofer, Look at the articles in the link already given - http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F- find the bit about sendsignal. Download this program, and run it. This provides the windows equivalent of sending -3 to a *nix java process, e.g.

Re: SEVERE: The web application created a ThreadLocal (but I removed it)

2012-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 2/22/12 7:52 PM, Nick Williams wrote: Now, at the end of each request, I am calling: threadLocalInstance.set(null); threadLocalInstance.remove(); If you are creating a ThreadLocal for each request (that needs the object) and then

Re: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/23/12 1:57 PM, Ofer Israeli wrote: Felix Schumacher wrote: Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile

Re: Form based Realm Authentication question

2012-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kris, On 2/23/12 9:23 AM, Kris Easter wrote: We're using Form based JNDIRealm Authentication against an LDAP server and it's all working fine except for one issue. When a user enters an invalid username/password they get sent to the error page,

tomcat-native 1.1.22 doesn't find JDK on OS X 10.6.8 Snow Leopard

2012-02-26 Thread Charlie O'Keefe
$cd native; ./configure --with-apr=`apr-1-config --prefix` checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking target system type... x86_64-apple-darwin10.8.0 checking for a BSD-compatible install... /usr/bin/install -c checking

Re: parallel deployment: multiple applications responding

2012-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aristedes, On 2/23/12 4:29 AM, Aristedes Maniatis wrote: Given that we've definitely seen this happen with our sessionless application, I'm not sure that will help us much. For our other apps which have sessions, what happens if the incoming

Re: tomcat-native 1.1.22 doesn't find JDK on OS X 10.6.8 Snow Leopard

2012-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie, On 2/26/12 10:07 PM, Charlie O'Keefe wrote: $cd native; ./configure --with-apr=`apr-1-config --prefix` checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking target system

Re: parallel deployment: multiple applications responding

2012-02-26 Thread Aristedes Maniatis
On 27/02/12 2:12 PM, Christopher Schultz wrote: It would be nice if it showed as disabled (to use the mod_jk terminology for an instance which is running but gets no new sessions). It's just a coincidence that no new sessions are being created -- because sessionless requests /should/ be sent

Re: tomcat-native 1.1.22 doesn't find JDK on OS X 10.6.8 Snow Leopard

2012-02-26 Thread Charlie O'Keefe
Christopher, Thanks, wasn't aware of /usr/libexec/java_home $ /usr/libexec/java_home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home $ ls -Al `/usr/libexec/java_home` total 16 drwxr-xr-x 41 root wheel 1394 Nov 21 08:43 bin lrwxr-xr-x 1 root wheel 3 Nov 21 08:42 bundle

RE: parallel deployment: multiple applications responding

2012-02-26 Thread Caldarale, Charles R
From: Aristedes Maniatis [mailto:amania...@apache.org] Subject: Re: parallel deployment: multiple applications responding What happens if our application defines a static class or other resource? Not sure what you mean by static class, unless you're referring to an inner class.

Re: tomcat-native 1.1.22 doesn't find JDK on OS X 10.6.8 Snow Leopard

2012-02-26 Thread Mladen Turk
On 02/27/2012 04:51 AM, Charlie O'Keefe wrote: Christopher, Thanks, wasn't aware of /usr/libexec/java_home $ /usr/libexec/java_home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home $ ls -Al `/usr/libexec/java_home` total 16 drwxr-xr-x 41 root wheel 1394 Nov 21 08:43 bin