Re: Cluster - Session replication error: Unable to apply diff

2015-04-21 Thread Keiichi Fujino
Fixed at r1675020. 2015-04-20 16:18 GMT+09:00 Keiichi Fujino : > This NPE has been caused by that apply the diff data to a > ReplicatedMapEntry that has not set a MapOwner. > Usually, ReplicatedMapEntry always has to have the MapOwner. > I think this is probably a bug. > Please open Bugzilla entr

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/21/15 10:56 AM, André Warnier wrote: Thomas Boniface wrote: The file descriptor peak show up in our monitoring application. We have some charts showing the number of file descriptors owned by the tomcat pro

Re: Apache Tomcat jk connector 400 bad request

2015-04-21 Thread Razi
hi there, Another bit of information I wanted to add. The apache error log is peppered with the following line : OpenSSL : I/O error, 5 bytes expected to read on BIO#... Warm Regards Razi A. Ansari From: Razi Sent: Tuesday, April 21, 2015 8:37 AM To: users@tomcat.apache.org Subject: Apa

Re: Help with overriding default cookie name

2015-04-21 Thread Brian Jones
Chris, thanks for getting back to me! I'm trying to override the default cookie name (JSESSIONID) for one of my Tomcat7 instances. I put the following in $catalina_home/conf/context.xml: That will change the session cookie name for all applications deployed on the server, and not just one we

Re: Help with overriding default cookie name

2015-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 4/21/15 1:14 PM, Brian Jones wrote: > I'm trying to override the default cookie name (JSESSIONID) for one > of my Tomcat7 instances. I put the following in > $catalina_home/conf/context.xml: > > That will change the session cookie name

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/21/15 10:56 AM, André Warnier wrote: > Thomas Boniface wrote: >> The file descriptor peak show up in our monitoring application. >> We have some charts showing the number of file descriptors owned >> by the tomcat process (ls /proc/$(pgr

Help with overriding default cookie name

2015-04-21 Thread Brian Jones
Hello, I'm trying to override the default cookie name (JSESSIONID) for one of my Tomcat7 instances. I put the following in $catalina_home/conf/context.xml: However, after restarting Tomcat, the setting isn't being applied; the cookie always remains as JSESSIONID rather than MyCookie. My

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread Thomas Boniface
I guess I get what you mean. Do you know if the same kind of explanation applies to these ? Apr 20, 2015 12:11:05 AM org.apache.coyote.AbstractProcessor setErrorState INFO: An error occurred in processing while on a non-container thread. The connection will be closed immediately java.nio.channels.

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread André Warnier
Thomas Boniface wrote: The file descriptor peak show up in our monitoring application. We have some charts showing the number of file descriptors owned by the tomcat process (ls /proc/$(pgrep -u tomcat7)/fd/ | wc -l). The calatalina.out log shows errors, the most frequent being a java.io.IOExcep

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread Thomas Boniface
The file descriptor peak show up in our monitoring application. We have some charts showing the number of file descriptors owned by the tomcat process (ls /proc/$(pgrep -u tomcat7)/fd/ | wc -l). The calatalina.out log shows errors, the most frequent being a java.io.IOException: Broken pipe. Apr 2

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thomas, On 4/20/15 8:11 AM, Thomas Boniface wrote: > I have tried to find help regarding an issue we experience with > our platform leading to random file descriptor peaks. This happens > more often on heavy load but can also happen on low traffic >

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-21 Thread Thusitha Thilina Dayaratne
Hi, On 21/04/2015 05:59, Thusitha Thilina Dayaratne wrote: > Hi, > >> Try addURL(). >> Sorry for the inconvenience. >> As I understand addURL() method is defined in WebAppClassLoaderBase. So >> should I obtain the WebAppClassLoaderBase using getClassLoader() method > and >> use reflections to call

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-21 Thread Mark Thomas
On 21/04/2015 05:59, Thusitha Thilina Dayaratne wrote: > Hi, > >> Try addURL(). >> Sorry for the inconvenience. >> As I understand addURL() method is defined in WebAppClassLoaderBase. So >> should I obtain the WebAppClassLoaderBase using getClassLoader() method > and >> use reflections to call the

Re: WebappLoader vs WebappClassLoader

2015-04-21 Thread Thusitha Thilina Dayaratne
Hi, > > Could someone tell me what is the purpose of having WebappLoader and > > WebappClassLoader in Tomcat? > >>WebappLoader is the Tomcat object that a user can configure that > >>represents the class loader. It remains the same across web application > >>stop/start. > > >>WebappClassLoader is