Re: Should logEffectiveWebXml=true log web fragments ? tomcat 7.0

2014-09-22 Thread Loïc Tregan
Hi Konstantin, I am referring to this code in ContextConfig.java: // Step 9a. Make the merged web.xml available to other if (context.getLogEffectiveWebXml()) { log.info(web.xml:\n + mergedWebXml); } // Step 10. Look for static resources packaged in JARs

Re: Should logEffectiveWebXml=true log web fragments ? tomcat 7.0

2014-09-22 Thread Konstantin Kolinko
2014-09-22 12:01 GMT+04:00 Loïc Tregan l.tre...@gmail.com: Hi Konstantin, I am referring to this code in ContextConfig.java: // Step 9a. Make the merged web.xml available to other if (context.getLogEffectiveWebXml()) { log.info(web.xml:\n + mergedWebXml); }

Valve overriding contextPath behind a proxy

2014-09-22 Thread Xavier Dury
Hi, The recommended approach when using a proxy in front of tomcat is to have the same context path on both side like this: http://mycompany.com/myapp -- http://mycompany.lan:8080/myapp Having different context paths like this: http://mycompany.com/mypublicapp --

Re: Should logEffectiveWebXml=true log web fragments ? tomcat 7.0

2014-09-22 Thread Loïc Tregan
2. See // Step 6. Merge web-fragment.xml files into the main web.xml // file. if (ok) { ok = webXml.merge(orderedFragments); } That Step 10 that you cited is about static resources (META-INF/resources/ files) and nothing

Re: DBCP2 holding references to WebappClassLoader; resource leak

2014-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 9/17/14 4:06 PM, Christopher Schultz wrote: Mark, On 9/17/14 4:02 PM, Mark Thomas wrote: On 17/09/2014 20:55, Christopher Schultz wrote: All, I'm running Tomcat 8.0.9 on Mac OS X under Oracle's Java 7 jdk1.7.0_65. For a long

Re: How to set up TLS-PSK with Tomcat

2014-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Borislav, On 9/20/14 11:57 PM, Borislav Trifonov wrote: Switched to a configuration where Tomcat is now front-ended by Nginx acting as a load balancer, so now the problem has moved to a different spot. Just curious: how does Nginx do this?

Re: How to set up TLS-PSK with Tomcat

2014-09-22 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Borislav, On 9/20/14 11:57 PM, Borislav Trifonov wrote: Switched to a configuration where Tomcat is now front-ended by Nginx acting as a load balancer, so now the problem has moved to a different spot. Just curious:

Re: - javax.net.ssl.SSLException - SSLException invoking https

2014-09-22 Thread Suleman Butt
Got it working myself finally. Removed the Java_OPS property settings in the Tomact setenv.bat Rather in my servlet: private static final String TRUST_STORE = /WEB-INF/certificates/XXXProdTrustStore.jks; private static final String KEY_STORE = /WEB-INF/certificates/XXXProdKeyStore.jks;

Re: [OT] javax.net.ssl.SSLException invoking https

2014-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Suleman, On 9/18/14 3:45 AM, Suleman Butt wrote: Caused by: java.lang.RuntimeException: Method not supported. at iaik.pkcs.pkcs1.RSACipher.engineUpdate(Unknown Source) at javax.crypto.Cipher.update(DashoA13*) at

Get number of stucked threads from StuckThreadDetectionValve through jmx

2014-09-22 Thread Jiri Pejchal
Hi, I would like to monitor the number of stuck threads reported by StuckThreadDetectionValve through jmx. I usually use tool like jmxtrans and plot a graph with graphite. The number of stuck threads is stored in the stuckCount variable. However there is no jmx attribute for it, there is only

Re: Get number of stucked threads from StuckThreadDetectionValve through jmx

2014-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jiri, On 9/22/14 1:59 PM, Jiri Pejchal wrote: I would like to monitor the number of stuck threads reported by StuckThreadDetectionValve through jmx. I usually use tool like jmxtrans and plot a graph with graphite. The number of stuck

Re: Get number of stucked threads from StuckThreadDetectionValve through jmx

2014-09-22 Thread Jiri Pejchal
Filled as: https://issues.apache.org/bugzilla/show_bug.cgi?id=57004 Thanks a lot. Jiří Pejchal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org