Tomcat 7.0.4 - Ignoring certain URLs from session timeout

2013-06-24 Thread Nagaraj Mandya
Hello, I am running Apache Tomcat 7.0.4 on Linux and the session-timeout is configured to 30 minutes. All requests from my client pass in the session cookie. However, I do not want the session timeout counter to get reset for certain URLs. Is there a way to configure Tomcat to ignore certain U

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-24 Thread David Rees
On Mon, Jun 24, 2013 at 9:26 AM, Christopher Schultz wrote: > For those who don't want to wait for 7.0.42 and would prefer not to > run in "headless" more for some reason can set this attribute in the > JreMemoryLeakProtectionListener: > >appContextProtection="false" I have confirmed that eit

Re: Strange tomcat error and running out of file handles

2013-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 6/24/13 5:19 PM, Caldarale, Charles R wrote: >> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Subject: Re: >> Strange tomcat error and running out of file handles > >>> SEVERE: Unable to process request in NioReceiver >>> java.lang.

RE: Strange tomcat error and running out of file handles

2013-06-24 Thread Caldarale, Charles R
> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Subject: Re: Strange tomcat error and running out of file handles > > SEVERE: Unable to process request in NioReceiver > > java.lang.ThreadDeath > >at java.lang.Thread.stop(Thread.java:758) > >at net.bull.javamelody.Action.sto

Re: Strange tomcat error and running out of file handles

2013-06-24 Thread Daniel Mikusa
On Jun 24, 2013, at 4:32 PM, Tom Freestone wrote: > Hello, > We are running tomcat 6.0.36 (java build 1.6.0_31) on REHL5. It works most > of time except recently we started running out of files. Here is the error > I am getting: > > > Exception in thread "pool-1-thread-1" java.lang.IllegalMon

Strange tomcat error and running out of file handles

2013-06-24 Thread Tom Freestone
Hello, We are running tomcat 6.0.36 (java build 1.6.0_31) on REHL5. It works most of time except recently we started running out of files. Here is the error I am getting: Exception in thread "pool-1-thread-1" java.lang.IllegalMonitorStateException at java.util.concurrent.locks.Reentrant

Re: mod_jk, JSESSION_ID and load-balancing

2013-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Henri, This sounds more like a question for the users list. Cross-posting to re-locate. See more below... On 6/24/13 11:09 AM, Henri Gomez wrote: > Hi to all, > > I'm faced a weird problem with a web application who didn't keep > JSESSIONID genera

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/24/13 11:37 AM, Mark Thomas wrote: > On 24/06/2013 08:32, Mark Thomas wrote: >> On 24/06/2013 05:31, David Rees wrote: >>> On Fri, Jun 21, 2013 at 9:28 AM, Christopher Schultz >>> wrote: I just upgraded to 1.7.0_25 on my Mac and I

Trouble launching Tomcat with YourKit agent

2013-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, When trying to research my recent AWT-Thread report, I'm finding that I can't launch Tomcat with YourKit's agent running. I have added this command-line option when I launch Tomcat: - -agentpath:/Applications/YourKit_Java_Profiler_12.0.5.app/

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-24 Thread Mark Thomas
On 24/06/2013 08:32, Mark Thomas wrote: > On 24/06/2013 05:31, David Rees wrote: >> On Fri, Jun 21, 2013 at 9:28 AM, Christopher Schultz >> wrote: >>> I just upgraded to 1.7.0_25 on my Mac and I noticed that when I launch >>> Tomcat, I get a dock icon indicating that it is running. This does not >

Evictor Setting Suggestions

2013-06-24 Thread kharper2
Hey all, I have an application that currently uses a JNDI database resource with the settings maxActive=10 and maxIdle=1. Does anyone know how frequently objects in the pool are checked to determine if they're idle and over the maxIdle limit? Or are they simply removed when they switch to idle

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Mark Thomas
On 24/06/2013 12:52, Jan Vávra wrote: >> Hello, >>I'm successfully using form based authenntication when login or >> password contains only letters from English alphabet. OK. That means you've got the basics set up correctly. >> I have also written own realm. I'd suggest testing with the de

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
Well, it is custom created and managed xml file. But the core of problem is in the string credentials in method public Principal authenticate(String username, String credentials). If the string was encoded properly (in java as utf-16) the credentials.length would be equal to 11 but its real leng

RE:FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Eugène Adell
Where do you store your login/password : DB ? xml file ? encrypted in xml file ? De : Jan Vávra [va...@602.cz] Envoyé : lundi 24 juin 2013 13:36 À : Tomcat Users List Objet : FORM based authentication and utf-8 encoding of credentials Hello, I'm succe

FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
Hello, I'm successfully using form based authenntication when login or password contains only letters from English alphabet. I have also written own realm. When I create user with password with czech String "ŽežUlička.1" the browser sends correctly this string as: POST http://localhost:70/

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-24 Thread Mark Thomas
On 24/06/2013 05:31, David Rees wrote: > On Fri, Jun 21, 2013 at 9:28 AM, Christopher Schultz > wrote: >> I just upgraded to 1.7.0_25 on my Mac and I noticed that when I launch >> Tomcat, I get a dock icon indicating that it is running. This does not >> happen on 1.7.0_21, the previous version I w