RE: [External] Re: Security Headers Implementation in Tomcat 6.x version

2017-06-07 Thread Shaik, Mohammad N.
Hi Olaf & Chris, By placing HTTPD 2.x server in front of Tomcat 6, is it possible to hide Tomcat 6 from external world? I just don’t want people to find out that I am using Tomcat 6, instead I want them to know that I am using httpd 2.x server. Is this possible? I just need Apache HTTPD

A question about websocket API-- Annotation ServerEndpoint

2017-06-07 Thread 王琳
Hi friend: i have a question. use Tomcat 8.5.15 @ServerEndpoint API has 'value' summary. This value mapping url.When the url has parameter,use {}. for example: @ServerEndpoint(value = "/websocket/fmsWebsocket/{userId}/{companyId}/{groupId}") js:var url =

A question about websocket API-- Annotation ServerEndpoint

2017-06-07 Thread 王琳
Hi friend: i have a question. use Tomcat 8.5.15 @ServerEndpoint API has 'value' summary. This value mapping url.When the url has parameter,use {}. for example: @ServerEndpoint(value = "/websocket/fmsWebsocket/{userId}/{companyId}/{groupId}") js:var url =

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
> On Jun 8, 2017, at 4:28 AM, Mark Thomas wrote: > > On 07/06/17 20:25, Piyush Kumar Nayak wrote: >> Mark, >> >> It may not be important, but just to be clear, I'm not testing on localhost. >> My JMeter and Tomcat are on different machines, with 1 Gbps NIC interfaces >>

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
> On Jun 8, 2017, at 4:28 AM, Mark Thomas wrote: > > On 07/06/17 20:25, Piyush Kumar Nayak wrote: >> Mark, >> >> It may not be important, but just to be clear, I'm not testing on localhost. >> My JMeter and Tomcat are on different machines, with 1 Gbps NIC interfaces >>

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
> On Jun 8, 2017, at 4:28 AM, Mark Thomas wrote: > > On 07/06/17 20:25, Piyush Kumar Nayak wrote: >> Mark, >> >> It may not be important, but just to be clear, I'm not testing on localhost. >> My JMeter and Tomcat are on different machines, with 1 Gbps NIC interfaces >>

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
On 07/06/17 20:25, Piyush Kumar Nayak wrote: > Mark, > > It may not be important, but just to be clear, I'm not testing on localhost. > My JMeter and Tomcat are on different machines, with 1 Gbps NIC interfaces > between them. I'm aware you were using two machines but that doesn't appear to be

RE: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Piyush Kumar Nayak
Mark, It may not be important, but just to be clear, I'm not testing on localhost. My JMeter and Tomcat are on different machines, with 1 Gbps NIC interfaces between them. Can you also please provide some pointers on the following: - How did you disable session on your JSP? - Did you observe

Re: Custom Webapp loading..

2017-06-07 Thread Hassan Khan
Thanks a lot Violeta Adding the following code , It did the trick for embedded tomcat program... List filterdJarfiles = getAppJarFilesAlone(folderName); WebResourceRoot resources = new StandardRoot(contextNew); for(File jf:filterdJarfiles){ String st =

Is there a tomcat SP valve for ADFS IdP??

2017-06-07 Thread ken edward
Hello, I have an Idp (my ADFS) and I have a tomcat server with a simple j2ee web application. I know I can stand up a keycloak sever, and use an SP adapter for tomcat, BUT is there a way to simply install a tomcat SP valve/libs that would talk to the IdP and bypass having to install the keycloak

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
On 7 June 2017 17:33:02 BST, Christopher Schultz wrote: >Mark, > >On 6/7/17 10:57 AM, Mark Thomas wrote: >> I do see odd behaviour with BIO + executor. It locks up very >> easily. It appears that the client isn't closing the connections. I >> don't see this problem

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/7/17 10:57 AM, Mark Thomas wrote: > I do see odd behaviour with BIO + executor. It locks up very > easily. It appears that the client isn't closing the connections. I > don't see this problem with BIO but that may be related to how BIO >

Re: Should Tomcat continue to support SSI?

2017-06-07 Thread Emmanuel Bourg
Le 7/06/2017 à 16:51, Christopher Schultz a écrit : > What about separating SSI out into a separate (sub?) project and > removing it from Tomcat core? +1, I was about to suggest this as well. Emmanuel Bourg - To unsubscribe,

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
On 06/06/17 09:10, Piyush Kumar Nayak wrote: > Thanks, Mark. > > Here are some additional details. Thanks. These help a lot to make sure we are testing (at least roughly) the same thing. > I am using Apache JMeter to inject load. I am using a simple hello-world JSP. > > The test JMX simulates

Re: Should Tomcat continue to support SSI?

2017-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/7/17 4:58 AM, Mark Thomas wrote: > Hi all, > > One of the topics of discussion at TomcatCon was the features that > have been removed in Tomcat 9 / could be removed in future Tomcat > versions. One of those features was support for

Java9 modules and web applications

2017-06-07 Thread Enrico Olivelli
Hi, I am going to study how to migrate my web applications to java9. I did not find and explicit document on this subject. My first problem is: Web applications are packaged in wars ( or exploded wars), which is the relation with modules? The classes in web-inf/classes and in webinf/lib are

Should Tomcat continue to support SSI?

2017-06-07 Thread Mark Thomas
Hi all, One of the topics of discussion at TomcatCon was the features that have been removed in Tomcat 9 / could be removed in future Tomcat versions. One of those features was support for Server Side Includes. The last meaningful change to the SSI code was ~4 years ago to fix this bug against

Re: Change of status code for ClientAbortExceptions - bug?

2017-06-07 Thread Mark Thomas
On 06/06/17 23:11, Konstantin Kolinko wrote: > 2017-06-07 0:10 GMT+03:00 Mark Thomas : >> On 06/06/17 15:08, Thomas Eliassen wrote: >>> >>> Is there some way to avoid having it logged as a 500 in the access log then? >> >> At the moment, no. And my preference is to avoid creating