Round Robin LoadBalance/Failover Configuration for Apache

2016-10-12 Thread Jayaram Ponnusamy
Hi All, Currently we have two webServers (WA and WB) and two Tomcat Servers (TA, TB). WA configured for TA and WB configured for TB. How to configure Loadbalance and Failover between these two Servers. For Eg. WA is connected with TA, if TA failed then WA should connect TB, Similarly WB connect

Long running socket reads

2016-10-12 Thread Rallavagu
Tomcat 7.0.70 - Sun JDK 1.7.0_80 I have following long running thread (almost 5 sec). It appears to be reading data from socket (external resource potentially). Wonder how I could go about debug these kind of threads to understand which external resource is it spending more time on reading.

Mod_jk 1.2.42 fails at startup with shared memory failure

2016-10-12 Thread Kreuser, Peter
Hi all, Hi Mark, I see one change in the newest mod_jk (see below), that stops Apache in my configuration: The discussion on this bug is valid https://bz.apache.org/bugzilla/show_bug.cgi?id=59184, however I would like to see an explanation o why the shm may fail! Docker 1.12 Debian Stretch

TOMEE DROP IN WAR DEPLOYMENT

2016-10-12 Thread Rajan, Ajith
Hi, Trust you are able to assist. We are using a Tomcat version 8.0.36 but however as we also have few applications hosted in EJB, we went ahead in utilizing the TOMEE WAR on our Tomcat server to provide the required container for EJB deployments. Now, when the tomcat server is started in

Re: web.xml and @WebServlet priority when more rules match

2016-10-12 Thread Mark Thomas
On 12/10/2016 08:02, Mladen Adamović wrote: > Lets assume that web.xml has a rule > > > One > /something/e* > > > While class Two.class has an annotation: > > @WebServlet(name = "Two", urlPatterns = {"/something/er*"}) > > From the Servlet 3.0

RE: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-12 Thread Alten, Jessica-Aileen
Like Andreas I would vote for Weld (http://weld.cdi-spec.org/) - it is the Reference Implementation of CDI for the Java EE platform. It is easy to install (read http://balusc.omnifaces.org/2013/10/how-to-install-cdi-in-tomcat.html) and has an outstanding documentation

Re: Context Dependency Injection with Tomcat 7.0 x / 8.0 x

2016-10-12 Thread Steinar Overbeck Cook
I use Google Guice for utilizing DI in my apps. Works like a charm. Steinar Overbeck Cook > Den 11. okt. 2016 kl. 05.30 skrev Kiran Badi : > > Thanks Mark,Christoper, Andreas and Chris for reply. Please accept > apologies for delayed response. > > Tomee is an option but I

Re: Usage of SecretKeyCredentialHandler and bin/digest.sh

2016-10-12 Thread Steinar Overbeck Cook
Thank you. I shall make an attempt to debug as you suggest. Are there any resources available describing how to build and debug? Steinar Overbeck Cook +47 90665793 > Den 11. okt. 2016 kl. 17.24 skrev Mark Thomas : > >> On 09/10/2016 22:24, Steinar Cook wrote: >> Tomcat

web.xml and @WebServlet priority when more rules match

2016-10-12 Thread Mladen Adamović
Lets assume that web.xml has a rule One /something/e* While class Two.class has an annotation: @WebServlet(name = "Two", urlPatterns = {"/something/er*"}) >From the Servlet 3.0 specification 8.2.3. (point 4). `The web.xml of the web application has the