Another attempt at discussing the major performance issue in Tomcat 8 JSP

2015-10-08 Thread sebdotv
There have been quite a few attempts by others at notifying the issue, so far without an acceptable answer. Here's yet another attempt. With Tomcat 8 (as of 8.0.27), the following simple tag: <%@ attribute name="attr1" required="true" %> <%@ attribute name="attr2" required="false" %> ${attr1}

Re: Enabling X-XSS-Protection

2015-10-08 Thread Mark Thomas
On 08/10/2015 06:40, Jacopo Cappellato wrote: > Hi all, > > I am looking for a way to add the X-XSS-Protection header (*) to the > response from Tomcat. > > I am currently using the Tomcat's HttpHeaderSecurityFilter that allows to > setup other useful security related headers but it doesn't seem

Apache Giving HTTP 505 Error While Contacting it through Oracle database

2015-10-08 Thread Ankur Gupta
This is my SMS sending procedure where mobile number and body of msg is passed. Then concatenating all these values a URL is formed . URL hit to apache server where .jsp page is made to send SMS via third vendor. This apache server is just a mediator between database and third vendor Problem

Re: Another attempt at discussing the major performance issue in Tomcat 8 JSP

2015-10-08 Thread Mark Thomas
On 08/10/2015 10:28, sebdotv wrote: > There have been quite a few attempts by others at notifying the issue, so > far without an acceptable answer. Here's yet another attempt. Repeating the question because you didn't find the previous answer [1] acceptable is unlikely to get you a different

Re: Another attempt at discussing the major performance issue in Tomcat 8 JSP

2015-10-08 Thread sebdotv
Mark, thanks for your quick and detailed answer. > Hmm. With 9.0.x trunk there are 4 calls, not 12 to loadClass. One (not > three) for each package. I can't immediately think of any reason why > 8.0.x would make additional calls. Having checked, it doesn't. 8.0.x > makes 4 calls just like 9.0.x.

Re: Another attempt at discussing the major performance issue in Tomcat 8 JSP

2015-10-08 Thread Mark Thomas
On 08/10/2015 14:24, sebdotv wrote: > Mark, thanks for your quick and detailed answer. > >> Hmm. With 9.0.x trunk there are 4 calls, not 12 to loadClass. One (not >> three) for each package. I can't immediately think of any reason why >> 8.0.x would make additional calls. Having checked, it

AW: AW: Problems to configure tomcat as windows service

2015-10-08 Thread Arno Schäfer
Hi Aurélien, > Arno, can you try with these parameters : --StdOutput out.txt --StdError > err.txt > and check if this writes anything to these files (I don't bet a pence on this > but let's try) ? That isn't the point. My problem is, that I can't configure a different service user as the

Re: AW: Problems to configure tomcat as windows service

2015-10-08 Thread Aurélien Terrestris
Arno, can you try with these parameters : --StdOutput out.txt --StdError err.txt and check if this writes anything to these files (I don't bet a pence on this but let's try) ? Taken from the doc : http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html 2015-10-02 17:52 GMT+02:00

Re: AW: Problems to configure tomcat as windows service

2015-10-08 Thread Aurélien Terrestris
Arno, still investigating for you in the documentation ( http://commons.apache.org/proper/commons-daemon/procrun.html ), can you try again with --ServiceUser & --ServicePassword instead of --User & --Password ? regards 2015-10-08 17:35 GMT+02:00 Arno Schäfer : > Hi

Re: DBCP params different for the Tomcat JDBC (not DBCP) implementation in Tomcat 8?

2015-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bradley, On 10/7/15 4:04 PM, Bradley Wagner wrote: >> The general recommendation is to use the default pool >> (commons-dbcp). > > Great. Thanks! > >> Unless you have narrowed a performance problem to the pool >> itself, > there's no reason to

Re: Apache Giving HTTP 505 Error While Contacting it through Oracle database

2015-10-08 Thread Felix Schumacher
Am 08.10.2015 um 10:38 schrieb Ankur Gupta: This is my SMS sending procedure where mobile number and body of msg is passed. Then concatenating all these values a URL is formed . URL hit to apache server where .jsp page is made to send SMS via third vendor. This apache server is just a

Re: Monitoring Connections

2015-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Aurélien, On 10/7/15 5:59 PM, Aurélien Terrestris wrote: > when this happens you can do a thread-dump (kill -3 pid on Linux > platforms) and you would see if there is a lock on JDBC objects, or > anything else synchronized (from the Collections

Re: Monitoring Connections

2015-10-08 Thread Leon Rosenberg
On Wed, Oct 7, 2015 at 11:59 PM, Aurélien Terrestris wrote: > Hi Jamie, > > > If you enjoy live monitoring, you need to have a look on Christopher's > presentation ( > >

Re: Tomcat bad char issue with new cluster

2015-10-08 Thread Saurav Maulick
Hi Christopher, URIEncoding setting is present in both the HTTP Connector and AJP Connector. is not present in the conf/web.xml. when I try to add it gives HTTP Status 404" error (please see the below code SetCharacterEncoding org.apache.catalina.filters.SetCharacterEncodingFilter

Re: Tomcat bad char issue with new cluster

2015-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 10/8/15 4:45 PM, Saurav Maulick wrote: > URIEncoding setting is present in both the HTTP Connector and AJP > Connector. ... and what is the value of that attribute? > is not present in the conf/web.xml. Where? The working or

HttpSessionListener.sessionDestroyed() sometimes not called?

2015-10-08 Thread Felipe Jaekel
Hi, I have a customer support chat webapp where when the attendant session expires, I need to end all his active conversations and change his status to offline, so I implemented a HttpSessionListener. Since some attendants log in the system multiple times, they where being disconnect incorrectly