Re: Performance regression from 7 to 8

2016-03-09 Thread Christopher Schultz
Aurélien, On 3/9/16 10:53 AM, Aurélien Terrestris wrote: > thanks for this information, but Tullio said that his problem only occurs > with the NIO connector (it seems weird and I don't have sufficient > knowledge on how it is coded in Tomcat anyway). > > The post was already quite long before I

Re: disable Set-Cookie http-only in tomcat 8

2016-03-09 Thread Violeta Georgieva
Hi, 2016-03-09 17:48 GMT+02:00 Rajesh Cherukuri : > > Hi > I was trying to disable httponly in the setcookie header from tomcat > reponse , can some one let me know how to disable it > > > > i have tried these 2 but didn't help me > > > > > > 1.) web.xml > > > > >

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-09 Thread Mark Thomas
On 09/03/2016 18:20, jimi.hulleg...@svensktnaringsliv.se wrote: > Has anyone seen this problem before? What could be the cause of it? It is a known 'feature' of the new EL requirements added in 3.0. The EL parser can't differentiate between an attribute without a scope and a reference to an

Re: Mapping servlet to non English url pattern

2016-03-09 Thread Yuval Schwartz
On Wed, Mar 9, 2016 at 7:46 PM, Mark Eggers wrote: > Yuval, > > Notes are inline (I hope). This is quickly becoming a NetBeans question. > > On 3/9/2016 1:38 AM, Yuval Schwartz wrote: > > Thanks Mark, follow up questions below: > > > > On Wed, Mar 9, 2016 at 1:26

Re: Mapping servlet to non English url pattern

2016-03-09 Thread Yuval Schwartz
On Wed, Mar 9, 2016 at 5:38 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Yuval, > > On 3/8/16 4:04 PM, Yuval Schwartz wrote: > > @WebServlet(name="SomeServlet", urlPatterns={"/help/why-no-work", > > "/iw/help/למה-לא-עובד", > >

Re: Performance regression from 7 to 8

2016-03-09 Thread Felix Schumacher
Am 09.03.2016 um 10:12 schrieb Tullio Bettinazzi: I tested with http11.Http11Protocol, http11.Http11NioProtocol and http11.Http11Nio2Protocol and the problem reproduces only with http11.Http11NioProtocol. It seems to be a bug of the Nio protocol. It's better to use Nio2 or standard ? What's

Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-09 Thread jimi.hullegard
Hi, We recently upgraded Tomcat from version 7 to version 8 (8.0.32 to be precise), and we immediately noticed a deterioration in the performance. Page load time increased from about 500ms to 2500-5000 ms. One thing we noticed when we looked at some thread dumps, is that quite often a

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-09 Thread Jason Overland
Chris, Thanks for the quick and informative response. On Wed, Mar 9, 2016 at 7:26 AM, Christopher Schultz wrote: > >> For authentication our configuration is using a MemoryRealm with >> digest="SHA". We are storing usernames and passwords in a >> tomcat-users.xml

Re: Mapping servlet to non English url pattern

2016-03-09 Thread Mark Eggers
Yuval, Notes are inline (I hope). This is quickly becoming a NetBeans question. On 3/9/2016 1:38 AM, Yuval Schwartz wrote: > Thanks Mark, follow up questions below: > > On Wed, Mar 9, 2016 at 1:26 AM, Mark Eggers > wrote: > >> Yuval, >> >> On 3/8/2016 2:35 PM,

Destroy type=Service‏

2016-03-09 Thread Roque Alexander Lozano Lozano
Hello, my question is, if possible destroy an object type = Service ?. In my current deployment I have two domains: Catalina and app_domain. I want to delete all app_domain. Thanks

Re: Performance regression from 7 to 8

2016-03-09 Thread Aurélien Terrestris
Christopher, thanks for this information, but Tullio said that his problem only occurs with the NIO connector (it seems weird and I don't have sufficient knowledge on how it is coded in Tomcat anyway). The post was already quite long before I suggested him to try both connectors to identify a

disable Set-Cookie http-only in tomcat 8

2016-03-09 Thread Rajesh Cherukuri
Hi I was trying to disable httponly in the setcookie header from tomcat reponse , can some one let me know how to disable it i have tried these 2 but didn't help me 1.) web.xml false 2.) context.xml useHttpOnly="false" curl -I

Re: Performance regression from 7 to 8

2016-03-09 Thread Christopher Schultz
Aurélien, On 3/9/16 8:50 AM, Aurélien Terrestris wrote: > The doc ( > http://tomcat.apache.org/tomcat-8.0-doc/config/http.html#NIO2_specific_configuration > ) doesn't say which one is the best, but we may think that the non-blocking > will work better under heavy load. NIO2 is newer and has had

Re: Mapping servlet to non English url pattern

2016-03-09 Thread Christopher Schultz
Yuval, On 3/8/16 4:04 PM, Yuval Schwartz wrote: > @WebServlet(name="SomeServlet", urlPatterns={"/help/why-no-work", > "/iw/help/למה-לא-עובד", > "/iw/help/%D7%9C%D7%9E%D7%94-%D7%9C%D7%90-%D7%A2%D7%95%D7%91%D7%93"} > (the last pattern is the same as the second to last, just encoded) I think that

Re: Question about your recent security (CVE-2015-5345) fix in 7.0.68 build

2016-03-09 Thread Christopher Schultz
Harish, On 3/8/16 5:47 PM, Harish Krishnan wrote: > Thanks Chris for the reply. > Looks like my understanding of the fix is incorrect. > I assumed (my bad) that, with the fix for this CVE in place (tomcat > 7.0.68) + setting the additional context attribute >

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-09 Thread Christopher Schultz
Jason, On 3/8/16 8:44 PM, Jason Overland wrote: > Okay, so I checked out Tomcat 8.0.32 from source control. I then > reverted MemoryRealm's authenticate method to how it was in 7.0.26 and > built Tomcat and now my authentication works. This of course is not a > solution, but it obviates most of

Re: Performance regression from 7 to 8

2016-03-09 Thread Aurélien Terrestris
The doc ( http://tomcat.apache.org/tomcat-8.0-doc/config/http.html#NIO2_specific_configuration ) doesn't say which one is the best, but we may think that the non-blocking will work better under heavy load. If not servicing hundreds of clients at the same moment, I would use the blocking connector

Re: Mapping servlet to non English url pattern

2016-03-09 Thread Yuval Schwartz
Thanks Mark, follow up questions below: On Wed, Mar 9, 2016 at 1:26 AM, Mark Eggers wrote: > Yuval, > > On 3/8/2016 2:35 PM, Yuval Schwartz wrote: > > On Tue, Mar 8, 2016 at 10:53 PM, Mark Thomas wrote: > > > >> On 08/03/2016 20:20, Christopher

Re: Question about your recent security (CVE-2015-5345) fix in 7.0.68 build

2016-03-09 Thread Violeta Georgieva
Hi Harish, 2016-03-09 0:47 GMT+02:00 Harish Krishnan : > > Thanks Chris for the reply. > Looks like my understanding of the fix is incorrect. > I assumed (my bad) that, with the fix for this CVE in place (tomcat > 7.0.68) + setting the additional context attribute >

RE: Performance regression from 7 to 8

2016-03-09 Thread Tullio Bettinazzi
I tested with http11.Http11Protocol, http11.Http11NioProtocol and http11.Http11Nio2Protocol and the problem reproduces only with http11.Http11NioProtocol. It seems to be a bug of the Nio protocol. It's better to use Nio2 or standard ? What's the difference ? Tks Tullio > Date: Mon, 7 Mar 2016