java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Moore, Jon, Vodafone UK
I have a problem where our customers application server stops working intermittently and when we check the Tomcat logs we get the message " java.lang.OutOfMemoryError: PermGen space" but the Tomcat service is still running, and we have to restart the Tomcat service. I am a complete novice when

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread tomcat
On 20.10.2016 12:00, Moore, Jon, Vodafone UK wrote: I have a problem where our customers application server stops working intermittently and when we check the Tomcat logs we get the message " java.lang.OutOfMemoryError: PermGen space" but the Tomcat service is still running, and we have to

Re: Apache mod_jk connector question about alias

2016-10-20 Thread tomcat
On 20.10.2016 01:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marc, On 10/18/16 7:59 PM, Marc Chamberlin wrote: On 10/17/2016 10:36 AM, Rainer Jung wrote: Alias maps URIs to local file system directories. JkMount maps URIs to remote back end requests. You

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Román Valoria
1. Bad memory settings or a java class having a memory leak. 2. The place to setup the values will depend if you run Tomcat as a Windows Service, from the tomcat7.exe or from the startup.bat. BTW, those are super outdated releases of OS, Java and Tomcat. On Thu, Oct 20, 2016 at 6:00 PM, Moore,

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-20 Thread tomcat
On 19.10.2016 20:42, Mark Juszczec wrote: On Tue, Oct 18, 2016 at 4:45 PM, Mark Juszczec wrote: On Tue, Oct 18, 2016 at 2:58 PM, Mark Juszczec wrote: Some questions (if these are not relevant, please disregard): I'm loading a whole

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-20 Thread Mark Juszczec
On Thu, Oct 20, 2016 at 4:21 AM, André Warnier (tomcat) wrote: > > Can you tell us (or remind us) exactly how the browser is sending this > request for the parameter "JOEL" (with dieraesis on the E) to the server ? > Is it a part of the query-string of the URL, or is it in the

Re: Apache mod_jk connector question about alias

2016-10-20 Thread Marc Chamberlin
On 10/20/2016 3:19 AM, André Warnier (tomcat) wrote: On 20.10.2016 01:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marc, On 10/18/16 7:59 PM, Marc Chamberlin wrote: On 10/17/2016 10:36 AM, Rainer Jung wrote: Alias maps URIs to local file system

Re: Apache mod_jk connector question about alias

2016-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marc, On 10/20/16 11:34 AM, Marc Chamberlin wrote: > On 10/20/2016 3:19 AM, André Warnier (tomcat) wrote: >> On 20.10.2016 01:58, Christopher Schultz wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >>> >>> Marc, >>> >>> On 10/18/16

Re: java.lang.OutOfMemoryError: PermGen space

2016-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 10/20/16 6:00 AM, Moore, Jon, Vodafone UK wrote: > I have a problem where our customers application server stops > working intermittently and when we check the Tomcat logs we get the > message " java.lang.OutOfMemoryError: PermGen space"

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-20 Thread tomcat
On 20.10.2016 15:55, Mark Juszczec wrote: On Thu, Oct 20, 2016 at 4:21 AM, André Warnier (tomcat) wrote: Can you tell us (or remind us) exactly how the browser is sending this request for the parameter "JOEL" (with dieraesis on the E) to the server ? Is it a part of the

Re: Apache mod_jk connector question about alias

2016-10-20 Thread tomcat
On 20.10.2016 18:23, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marc, On 10/20/16 11:34 AM, Marc Chamberlin wrote: On 10/20/2016 3:19 AM, André Warnier (tomcat) wrote: On 20.10.2016 01:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Tomcat clustering and FarmDeployer

2016-10-20 Thread Daniel Savard
Hi everyone, I am testing the FarmDeployer in a Tomcat cluster environment and it seems it cannot do what I would like it to do. So far, it works fine to deploy the web application on all cluster members. However, the way they are deployed is the plain war file drop into the appBase directory. I

Re: Tomcat clustering and FarmDeployer

2016-10-20 Thread tomcat
On 20.10.2016 20:50, Daniel Savard wrote: Hi everyone, I am testing the FarmDeployer in a Tomcat cluster environment and it seems it cannot do what I would like it to do. So far, it works fine to deploy the web application on all cluster members. However, the way they are deployed is the plain

Allow Customization of service.bat

2016-10-20 Thread Igal @ Lucee.org
service.bat is a great tool to install and remove Tomcat as a Windows service, but it has a few hardcoded values that should be customize-able, like the heap memory size and JVM args. I've modified the script slightly to address these issues. The first part sets default values: if

Re: Allow Customization of service.bat

2016-10-20 Thread Mark Thomas
On 20/10/2016 21:09, Igal @ Lucee.org wrote: > service.bat is a great tool to install and remove Tomcat as a Windows > service, but it has a few hardcoded values that should be > customize-able, like the heap memory size and JVM args. > > I've modified the script slightly to address these issues.

Re: Tomcat clustering and FarmDeployer

2016-10-20 Thread Daniel Savard
2016-10-20 15:16 GMT-04:00 André Warnier (tomcat) : Maybe naive, and I have never tried any of this myself, but is there a > reason why you cannot use method 2 in > http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html# > A_word_on_Contexts > in that scenario ? > > André,

Re: Allow Customization of service.bat

2016-10-20 Thread Igal @ Lucee.org
Hi Mark, On 10/20/2016 1:19 PM, Mark Thomas wrote: Can I submit a patch for that? Sure. Got for it. I'm not very familiar with SVN (hopefully Apache will move to GIT soon), so I wasn't sure where to submit the patch. The Apache Contributors Guide suggests the bug tracking platform.

Re: Question about ServletOutputStream.setWriteListener

2016-10-20 Thread Mark Thomas
On 20/10/2016 14:08, Violeta Georgieva wrote: > Hi, > > I have a question about ServletOutputStream.setWriteListener. > > I have the following scenario: > - Request 1 - in the servlet service method it starts async operation and > starts waiting for a particular notification > - Request 2 - in

Question about ServletOutputStream.setWriteListener

2016-10-20 Thread Violeta Georgieva
Hi, I have a question about ServletOutputStream.setWriteListener. I have the following scenario: - Request 1 - in the servlet service method it starts async operation and starts waiting for a particular notification - Request 2 - in the servlet service method it starts async operation and