RE: Memory Leakage Problem in Tomcat 7.0.94

2019-10-10 Thread ankitr.desai
HI Christopher, Thanks for you valuable reply, >>>1. Allow Tomcat to clear these references, and otherwise ignore the error messages. Can you please let us know how to Allow Tomcat to clear these references? --Ankit -Original Message- From: Christopher Schultz Sent: 10 October

tomcat with SiteMinder

2019-10-10 Thread Bauer, Margaret M (Peggy)
Has anyone used tomcat with SiteMinder without having a webserver in front of it? If so, where can I find the how to? thank you, *Peggy *

RE: Performance test with Tomcat 9 shows increased cpu/disk usage because of repeated opening/closing of jars in WEB-INF/lib

2019-10-10 Thread John.E.Gregg
Tony, > -Original Message- > From: Rhuberg,Anthony > Sent: Thursday, October 10, 2019 5:22 PM > To: Tomcat Users List > Subject: RE: Performance test with Tomcat 9 shows increased cpu/disk usage > because of repeated opening/closing of jars in WEB-INF/lib > > We are still

RE: Performance test with Tomcat 9 shows increased cpu/disk usage because of repeated opening/closing of jars in WEB-INF/lib

2019-10-10 Thread Rhuberg,Anthony
We are still investigating what specific classloader reads that would trigger the repeated reload of the web-inf/lib/*.jars. One example we found is the use of javax.xml.transform.TransformerFactory.newInstance(). One of its features is to determine the implementation by searching for the

Re: Setting samesite attribute on JSESSIONID

2019-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 10/10/19 14:08, David Cleary wrote: > Have a customer asking about this. I see Tomcat supports it here. > https://tomcat.apache.org/tomcat-9.0-doc/config/cookie-processor.html > > > We currently use defaults, so I'm looking for an XML

Setting samesite attribute on JSESSIONID

2019-10-10 Thread David Cleary
Have a customer asking about this. I see Tomcat supports it here. https://tomcat.apache.org/tomcat-9.0-doc/config/cookie-processor.html We currently use defaults, so I'm looking for an XML fragment and the file it goes in to add the samesite attribute to the JSESSIONID. I'm assuming they want

Re: Understanding NIO connector

2019-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Filippo, On 10/10/19 11:47, Filippo Machi wrote: > Hello everybody, I am trying to understand in which way tomcat is > handling incoming connections. We have a spring boot application in > production that is using tomcat embedded (version 8.x) and

Re: Memory Leakage Problem in Tomcat 7.0.94

2019-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ankit, On 10/10/19 10:17, ankitr.de...@spec-india.com wrote: > We are using Tomcat 7.0.94 version and we have facing memory > leakage issue when tomcat server is going to shutdown. > > Please help in this case, how to solve these kind of logs? > >

Re: NPE in DBCP when attempting to connect to a database that doesn't exist

2019-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adam, On 10/9/19 20:59, Adam Rauch wrote: > When attempting to connect to a DataSource that specifies a > database that doesn't exist, Tomcat 8.5.46 throws an informative > SQLException; for example: java.sql.SQLException: Cannot create >

Understanding NIO connector

2019-10-10 Thread Filippo Machi
Hello everybody, I am trying to understand in which way tomcat is handling incoming connections. We have a spring boot application in production that is using tomcat embedded (version 8.x) and since we are experiencing some issues with Too Many Files open, we would like to understand properly in

Memory Leakage Problem in Tomcat 7.0.94

2019-10-10 Thread ankitr.desai
Hello, We are using Tomcat 7.0.94 version and we have facing memory leakage issue when tomcat server is going to shutdown. Please help in this case, how to solve these kind of logs? Please find below sample logs from catalina.log file and code. Oct 10, 2019 6:35:36 PM

Re: Any tutorials or hints about JSP using javax.script engines instead of Java?

2019-10-10 Thread Rony G. Flatscher (Apache)
Hi Chris, > On 10/9/19 07:08, Rony G. Flatscher (Apache) wrote: > > On 08.10.2019 21:16, André Warnier (tomcat) wrote: > >> On 08.10.2019 17:11, Rony G. Flatscher (Apache) wrote: > >>> Does anyone know of any tutorials that would demonstrate how to > >>> use any javax.script language in JSPs

Re: Any tutorials or hints about JSP using javax.script engines instead of Java?

2019-10-10 Thread Rony G. Flatscher (Apache)
Hi Konstantin, On 09.10.2019 15:31, Konstantin Kolinko wrote: > вт, 8 окт. 2019 г. в 18:11, Rony G. Flatscher (Apache) : >> Does anyone know of any tutorials that would demonstrate how to use any >> javax.script language in >> JSPs instead of Java (e.g. using Jython or JavaScript instead)? >> >>

Re: Performance test with Tomcat 9 shows increased cpu/disk usage because of repeated opening/closing of jars in WEB-INF/lib

2019-10-10 Thread Mark Thomas
On 09/10/2019 22:58, Rhuberg,Anthony wrote: > StandardRoot.gc() unconditionally closes the web application jars in Tomcat > 9... every 10s by default or configurable by changing > backgroundProcessorDelay. > > So then the problem is Our web application is calling >