why is Tomcat 7 invoking WebSocket protocol?

2015-06-28 Thread Ric Bernat
We have a Jersey application running on Tomcat 7.0.62. In production, 99.9% of our web service calls run quickly (e.g., 100ms), but there are about half a dozen web service calls per hour that take an extraordinary amount of time to complete: 30-120 seconds (not ms). We do not use WebSockets

Re: Distinct servlets for different domains in one web application

2015-06-28 Thread Christian
André, On 28.06.2015 23:11, André Warnier wrote: Christian wrote: Mark, On 28.06.2015 19:58, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: Hello all, is it somehow possible to create a web application with multiple servl

Re: Distinct servlets for different domains in one web application

2015-06-28 Thread André Warnier
Christian wrote: Mark, On 28.06.2015 19:58, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: Hello all, is it somehow possible to create a web application with multiple servlets that are registered to different domains for th

Re: Distinct servlets for different domains in one web application

2015-06-28 Thread Christian
Mark, On 28.06.2015 19:58, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: Hello all, is it somehow possible to create a web application with multiple servlets that are registered to different domains for the same url paths u

Re: Distinct servlets for different domains in one web application

2015-06-28 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: > Hello all, > > is it somehow possible to create a web application with multiple > servlets that are registered to different domains for the same url > paths using tomcat 8? I already crawled throu

Re: Distinct servlets for different domains in one web application

2015-06-28 Thread Christian
Chuck, On 28.06.2015 18:40, Caldarale, Charles R wrote: > It sounds like you want virtual hosts: somehow, but I want to deploy *one* war with two servlets and shared objects. Using virtual hosts allows to deploy the application twice, but then the spring context isn't shared. Regards, Christian

RE: Distinct servlets for different domains in one web application

2015-06-28 Thread Caldarale, Charles R
> From: Christian [mailto:cm...@famiru.de] > Subject: Distinct servlets for different domains in one web application > is it somehow possible to create a web application with multiple servlets > that are > registered to different domains for the same url paths using tomcat 8? It sounds like yo

Distinct servlets for different domains in one web application

2015-06-28 Thread Christian
Hello all, is it somehow possible to create a web application with multiple servlets that are registered to different domains for the same url paths using tomcat 8? I already crawled through the catalina code that is responsible for the servlet selection and didn't find anything that would allow

Re: [OT] Re: Filter behaviour

2015-06-28 Thread André Warnier
Leo Donahue wrote: On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko wrote: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { boolean iAmNotAuthorized = true; if (iAmNotAuthorized)