Re: web.xml mime-mappings

2018-11-01 Thread Luis Rodríguez Fernández
Hello Baron, There are no dumb questions, no worries :) Are you referring to the $CATALINA_BASE/conf/web.xml by chance? This is the default web.xml [1] that defines default values for all the webapps deployed in your tomcat server. Me personally I rarely modify it. Me, as a sample web.xml I

precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Rathore, Rajendra
Hi Team, We have precompileJSPs tests that include compilation of around 4000 jsp files. After upgrading to Tomcat 8.5.34 from Tomcat 8.5.32 we are facing an Error: java.lang.OutOfMemoryError: unable to create new native thread The machines on which tests were executed have 16GB of RAM, out of

RE: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Rathore, Rajendra
Hi Mark, I am suspecting the same in 8.5.33 tomcat, do you still won't me to check it on tomcat 8.5.33? Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang Chao Sent: 01 November 2018 03:41 PM To: Tomcat Users List Subject: Re: precompile JSPs failure

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Mark Thomas
On 01/11/2018 09:21, Rathore, Rajendra wrote: > Hi Team, > >   > > We have precompileJSPs tests that include compilation of around 4000 jsp > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are > facing an *Error:*/java.lang.OutOfMemoryError: unable to create new > native

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas wrote: > On 01/11/2018 09:21, Rathore, Rajendra wrote: > > Hi Team, > > > > > > > > We have precompileJSPs tests that include compilation of around 4000 jsp > > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are > > facing an

RemoteAddrValve | IP Subnet

2018-11-01 Thread Madhur Khurana
Hi, I am using tomcat8 and would like to configure ip address with subnet in RemoteAddrValve for IP whitelisting (Example: 0.0.0.0/0). Can anyone help in how to configure subnet in allow field. Thanks, Madhur = Please refer to

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 10/31/18 14:17, George Stanchev wrote: > This is an interesting discussion. Are there any guides to > alleviating management work of such deployments? It's a little out of scope for this community (formally), but there may be people

Re: RemoteAddrValve | IP Subnet

2018-11-01 Thread tomcat
On 01.11.2018 12:35, Madhur Khurana wrote: Hi, I am using tomcat8 and would like to configure ip address with subnet in RemoteAddrValve for IP whitelisting (Example: 0.0.0.0/0). Can anyone help in how to configure subnet in allow field. The page at

Re: RemoteAddrValve | IP Subnet

2018-11-01 Thread Mark Thomas
On 01/11/2018 12:23, André Warnier (tomcat) wrote: > On 01.11.2018 12:35, Madhur Khurana wrote: >> Hi, >> >> I am using tomcat8 and would like to configure ip address with subnet >> in RemoteAddrValve for IP whitelisting (Example: 0.0.0.0/0). Can >> anyone help in how to configure subnet in allow

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra wrote: > Hi Mark, > > I am suspecting the same in 8.5.33 tomcat, do you still won't me to check > it on tomcat 8.5.33? > How about increasing your perm memory? > > Thanks and Regards, > Rajendra Rathore > 9922701491 > > -Original

RE: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Rathore, Rajendra
Hi Chao, We already tried it and it still failing. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang Chao Sent: 01 November 2018 06:07 PM To: Tomcat Users List Subject: Re: precompile JSPs failure issue - Tomcat community On Thu, Nov 1, 2018 at 7:13 PM

Re: RemoteAddrValve | IP Subnet

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 11/1/18 09:23, André Warnier (tomcat) wrote: > On 01.11.2018 13:34, Mark Thomas wrote: >> On 01/11/2018 12:23, André Warnier (tomcat) wrote: >>> On 01.11.2018 12:35, Madhur Khurana wrote: Hi, I am using tomcat8 and would

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Mark Thomas
On 01/11/2018 11:13, Rathore, Rajendra wrote: > Hi Mark, > > I am suspecting the same in 8.5.33 tomcat, do you still won't me to check it > on tomcat 8.5.33? I'm simply providing some pointers to help you figure out what the problem is. Which, if any, of those pointers you choose to follow is

Re: RemoteAddrValve | IP Subnet

2018-11-01 Thread tomcat
On 01.11.2018 13:34, Mark Thomas wrote: On 01/11/2018 12:23, André Warnier (tomcat) wrote: On 01.11.2018 12:35, Madhur Khurana wrote: Hi, I am using tomcat8 and would like to configure ip address with subnet in RemoteAddrValve for IP whitelisting (Example: 0.0.0.0/0). Can anyone help in how

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Igal Sapir
On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) wrote: > On 01.11.2018 14:51, Christopher Schultz wrote: > > We assign each dev a number and each application a number. Each pair > > of dev+app yields an actual port number. This works great in > > development so nobody ever steps on

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igal, On 11/1/18 12:06, Igal Sapir wrote: > On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) > wrote: > >> On 01.11.2018 14:51, Christopher Schultz wrote: >>> We assign each dev a number and each application a number. Each >>> pair of

RE: Debugging tomcat native connector

2018-11-01 Thread Mark A. Claassen
Thanks for the reply. I am using "org.apache.coyote.http11.Http11AprProtocol" in Tomcat 9. The NIO connectors worked fine when we tried them, but the native ones seem to start up, but then don’t work. Interestingly, we found out that these connectors do eventually start working! We tried

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread tomcat
On 01.11.2018 14:51, Christopher Schultz wrote: We assign each dev a number and each application a number. Each pair of dev+app yields an actual port number. This works great in development so nobody ever steps on anyone's toes. In other environments (test, prod, etc.) there is only ever one

Re: Number of Web Applications in one Tomcat: THANKS!

2018-11-01 Thread Igal Sapir
Chris, On Thu, Nov 1, 2018 at 10:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > > On 11/1/18 12:06, Igal Sapir wrote: > > On Thu, Nov 1, 2018 at 7:39 AM André Warnier (tomcat) > > wrote: > > > >> On 01.11.2018 14:51, Christopher Schultz wrote: > >>> We assign each dev a

Re: Debugging tomcat native connector

2018-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/1/18 11:51, Mark A. Claassen wrote: > Thanks for the reply. I am using > "org.apache.coyote.http11.Http11AprProtocol" in Tomcat 9. > > The NIO connectors worked fine when we tried them, but the native > ones seem to start up, but