RE: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-10 Thread Peter Rifel
>From: Mark Thomas [ma...@apache.org] >Sent: Sunday, August 10, 2014 2:35 AM >To: Tomcat Users List >Subject: RE: Tomcat 7 to 8 Upgrade - Performance Degradation > >On 8 August 2014 21:52:58 BST, Peter Rifel wrote: > >>Yes I can build from svn to test changes. > >Great. > >> Do you want me to fil

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Omar, On 8/10/14, 1:18 PM, Omar Belkhodja wrote: > Finally, I almost understood the problem. > > The framework was generating a response without a Content-Length > header. The AJP connector seems to be adding it as a > Content-Length=0, although if

Re: ErrorReportValve(showReport,showServerInfo) at Engine-level working in 7.0.54, not anymore in 7.0.55

2014-08-10 Thread Konstantin Kolinko
2014-08-08 13:54 GMT+04:00 Willem Fibbe - Realworks BV : > Hi, > > When we upgraded our Tomcat-servers to 7.0.54, we used the new attributes of > ErrorReportValve at the Engine-level. > > Our server.xml looked like this: > > > ... > className="org.apache.c

Re: Configuring a 'JarScanner' excluding classpath scanning, the 'VirtualWebappLoader' doesn't get scanned

2014-08-10 Thread Konstantin Kolinko
2014-08-08 15:35 GMT+04:00 Luc : > Hello, > > After a Tomcat 6.0.36 to 7.0.54 migration, I added to my global > 'context.xml' the configuration: > > > Which excluded (as I readed in the docs, > http://tomcat.apache.org/tomcat-7.0-doc/config/jar-scanner.html#Standard_Implementation) > the scaning

Re: configuring tomcat 7, modify juli default configuration, doesn't work as expected

2014-08-10 Thread Konstantin Kolinko
2014-08-08 23:18 GMT+04:00 Didier Wiroth : > Hi, > (using tomcat x64 7.0.55 & java jvm 1.7.0_67-b01 on windows 8.1 x64) > > I'm a tomcat amateur trying to setup tomcat with different service > containers and multihosting etc. > > I would like to modify the default logging.properties to log the > ap

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Omar Belkhodja
Finally, I almost understood the problem. The framework was generating a response without a Content-Length header. The AJP connector seems to be adding it as a Content-Length=0, although if there are data. So, currenly I have forced the framework to add the Content-Length header. In fact, it is s

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Omar Belkhodja
I have compared JSON logs (NOK) with XML logs (OK). The main differences are here: JSON = ajp_unmarshal_response::jk_ajp_common.c (688): Number of headers is = 6 ajp_unmarshal_response::jk_ajp_common.c (744): Header[0] [Pragma] = [no-cache] ajp_unmarshal_response::jk_ajp_common.c (744): He

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Omar Belkhodja
Sorry, I forgot to answer to the second part of your e-mail. Regarding Apache directives, I didn't add any specific directives. But, I'm not the one that have configured all the server, so I'm not sure at 100%. Regards, Omar 2014-08-10 14:56 GMT+01:00 Rainer Jung : > Am 10.08.2014 um 15:41 sch

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Omar Belkhodja
Thanks for your answer Rainer. Please find attached the logs you requested. Its is really strange, because it seems from the logs that jk_mod received the answer... Regards, Omar 2014-08-10 14:56 GMT+01:00 Rainer Jung : > Am 10.08.2014 um 15:41 schrieb Omar Belkhodja: > > Hi, >> >> I'm adding

Re: AJP connector is blocking JSON responses

2014-08-10 Thread Rainer Jung
Am 10.08.2014 um 15:41 schrieb Omar Belkhodja: Hi, I'm adding HTTPS access to my Java site. For that, I have chosen to leave the management of HTTPS to an Apache server. The Apache server is connecting to tomcat through mod_jk and AJP 1.3. I'm logging all my Tomcat request/responses, and I'm fa

AJP connector is blocking JSON responses

2014-08-10 Thread Omar Belkhodja
Hi, I'm adding HTTPS access to my Java site. For that, I have chosen to leave the management of HTTPS to an Apache server. The Apache server is connecting to tomcat through mod_jk and AJP 1.3. I'm logging all my Tomcat request/responses, and I'm facing the following problem: - If I access my URL

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/10/14, 4:44 AM, Mark Thomas wrote: > On 09/08/2014 13:31, Christopher Schultz wrote: >> Rob, >> >> On 8/8/14, 7:50 PM, Rob Silver wrote: >>> Is it true that by default on a Apache Tomcat 7.025 server >>> RESTFUL verbs are enabled as part

RE: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-10 Thread Mark Thomas
On 8 August 2014 21:52:58 BST, Peter Rifel wrote: >Yes I can build from svn to test changes. Great. > Do you want me to file a BZ case? On one hand it isn't necessary since I'll fix any issues I find whether there is a bz entry or not. On the other hand it might help folks with a similar is

Re: How to access tomcat manger user interface?

2014-08-10 Thread Mark Thomas
On 10/08/2014 03:52, Mohit Gupta wrote: > i am using spring tcserver-2.9.5 (tomcat) as webserver. Pivotal tc Server != Apache Tomcat. tc Server is based on Tomcat and 99.9% of the code is the same. However, the configuration is very different: - tc Server uses separate CATALINA_HOME and CATALINA_

Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-10 Thread Mark Thomas
On 09/08/2014 13:31, Christopher Schultz wrote: > Rob, > > On 8/8/14, 7:50 PM, Rob Silver wrote: >> Is it true that by default on a Apache Tomcat 7.025 server RESTFUL >> verbs are enabled as part of the HTTP protocol Tomcat uses? > > Tomcat does not filter HTTP verbs other than TRACE out of the b