Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Thanks Thomas, I just wanted to know in tomcat is there any way to detect such long running thread and kill them. On 6 October 2015 at 01:07, Mark Thomas wrote: > On 05/10/2015 16:00, Yogesh Patel wrote: > > Other 199 process are also for /solr430/update?wt=xml&version=2.2 > HTTP/1.

Re: configuring login for static content and Servlets

2015-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 10/5/15 3:21 PM, Bill Ross wrote: > Is it possible to set up a site so that you have to log in to > access the site at all, either the static content or the servlet > interface? I have in mind 10-100 users. It seems a simple setup > like .h

Re: Tomcat bad char issue with new cluster

2015-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 10/5/15 12:23 PM, Saurav Maulick wrote: > I know Tomcat 5.5 is very old and this is outdated, but we are > still using Tomcat 5.5 and we got an issue. Please help. > > Problem description: > > Recently my client has asked me to add two

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-05 Thread Amit Lonkar
Hi Chris Any ideas why the Ant Task might be failing in Tomcat 8? Yes the application works on a clean fresh tomcat 7 but not on tomcat 8. We have a Administrator application that is used for patching our scheduling software. The patch includes the war files and get deployed to all nodes using

RE: configuring login for static content and Servlets

2015-10-05 Thread Caldarale, Charles R
> From: Bill Ross [mailto:r...@cgl.ucsf.edu] > Subject: configuring login for static content and Servlets > Is it possible to set up a site so that you have to log in to access the site > at all, > either the static content or the servlet interface? Read the "Specifying Security Constraints" s

Tomcat 8.0.27 and the tomcat 8 maven plugin

2015-10-05 Thread Wessel van Norel
I'm trying to get the tomcat 8 maven plugin branch to work with the latest tomcat 8 release, but I'm struggling with the following change: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/JarResource.java?r1=1643249&r2=1655123&pathrev=1655123 This change breaks the

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 16:00, Yogesh Patel wrote: > Other 199 process are also for /solr430/update?wt=xml&version=2.2 HTTP/1.1 > only That is surprising. That could be a Solr issue or a Tomcat issue. Best to take three thread dumps each 10 to 30 seconds apart and then take a look to see what is holding up

configuring login for static content and Servlets

2015-10-05 Thread Bill Ross
Is it possible to set up a site so that you have to log in to access the site at all, either the static content or the servlet interface? I have in mind 10-100 users. It seems a simple setup like .htaccess (httpd only?) would be perfect if it existed and covered static and servlet. Is this doabl

Tomcat bad char issue with new cluster

2015-10-05 Thread Saurav Maulick
Hi All, I know Tomcat 5.5 is very old and this is outdated, but we are still using Tomcat 5.5 and we got an issue. Please help. Problem description: Recently my client has asked me to add two new clusters in the production, after adding the clusters we found that these two new clusters are not a

Re: JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Zorro
Op 5-10-2015 om 16:27 schreef Mark Thomas: On 05/10/2015 14:08, Zorro wrote: Hi, I installed Tomcat 8.0.27 last weekend and now using it I do get JSP compilation exceptions. This is an example causing such an exception: (Active is a String and c: means jstl/core) If I change it to

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Other 199 process are also for /solr430/update?wt=xml&version=2.2 HTTP/1.1 only On 5 October 2015 at 20:18, Mark Thomas wrote: > On 05/10/2015 12:58, Yogesh Patel wrote: > > Hi Mark Thomas, > > > > in image it shows Tomcat Manager screen: > > Under "ajp-apr-10003" Section in tomcat manager: > >

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 12:58, Yogesh Patel wrote: > Hi Mark Thomas, > > in image it shows Tomcat Manager screen: > Under "ajp-apr-10003" Section in tomcat manager: > Max threads: 200 Current thread count:200 Current thread busy :200 Keeped > alive socket count :0 > > *Stage Time BSentBR

Re: Demand CLIENT-CERT only on certain pages but demand SSL in all pages

2015-10-05 Thread Mark Thomas
On 05/10/2015 12:05, Gael Abadin wrote: > Hello, fellow users. > > I've been trying to configure tomcat to request client certificate > authentication on a single page, while serving every other SSL page without > requesting a client certificate (before or after authentication). Depending > on the

Re: JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Mark Thomas
On 05/10/2015 14:08, Zorro wrote: > Hi, > > I installed Tomcat 8.0.27 last weekend and now using it I do get JSP > compilation exceptions. > > This is an example causing such an exception: > > > > (Active is a String and c: means jstl/core) > > If I change it to this > > or > > > T

Re: Rewriting entire request /body in Servlet Filter not working as expected

2015-10-05 Thread Michael Greco
On Mon, Oct 5, 2015 at 3:30 AM, Mark Thomas wrote: > On 04/10/2015 19:03, Michael Greco wrote: > > First time post here. > > > > Using : > > Tomcat 8.0.26 > > JDK1.8.0 update 51 > > Apache MyFaces 2.2.8. > > Maven build of webapp war file > > Chrome 45.0.2454.101 m 64 bit > > Windows 7 64 bit >

JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Zorro
Hi, I installed Tomcat 8.0.27 last weekend and now using it I do get JSP compilation exceptions. This is an example causing such an exception: (Active is a String and c: means jstl/core) If I change it to this or Then no exception occurs anymore. I expected and being proper c

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Mark Thomas, in image it shows Tomcat Manager screen: Under "ajp-apr-10003" Section in tomcat manager: Max threads: 200 Current thread count:200 Current thread busy :200 Keeped alive socket count :0 *Stage Time BSentBRecv Client VHost Request* S 28

Demand CLIENT-CERT only on certain pages but demand SSL in all pages

2015-10-05 Thread Gael Abadin
Hello, fellow users. I've been trying to configure tomcat to request client certificate authentication on a single page, while serving every other SSL page without requesting a client certificate (before or after authentication). Depending on the configuration I use, one of 2 things happen: either

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi , let me try sending image using attachment , if still its not viewable then i will find another way. On 5 October 2015 at 16:06, Mark Thomas wrote: > On 05/10/2015 11:28, Yogesh Patel wrote: > > Hi Thomas , > > Please see this image ...have a look at Time column > > The lis

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 11:28, Yogesh Patel wrote: > Hi Thomas , > Please see this image ...have a look at Time column The list strips images. If you really want us to look at the image (not that I think it will be remotely relevant) upload it somewhere and post the URL (make sure it is p

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Thomas , Please see this image ...have a look at Time column ​ On 5 October 2015 at 14:50, Mark Thomas wrote: > On 05/10/2015 10:09, Yogesh Patel wrote: > > Hi Thomas, > > > > Connector configuration is like : > > > > That means you are using the BIO AJP connector. > > Yo

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 10:09, Yogesh Patel wrote: > Hi Thomas, > > Connector configuration is like : > That means you are using the BIO AJP connector. You don't have a problem with long running requests. You have a problem with thread starvation. AJP uses persistent connections. BIO requires one thre

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Hi Thomas, Connector configuration is like : On 5 October 2015 at 14:17, Mark Thomas wrote: > On 05/10/2015 09:07, Yogesh Patel wrote: > > Thanks Mark Thomas , > > > >Our application is access by Apache TO Tomcat using AJP Connector. > > OK. That answers one of the questions I asked. Howev

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 09:07, Yogesh Patel wrote: > Thanks Mark Thomas , > >Our application is access by Apache TO Tomcat using AJP Connector. OK. That answers one of the questions I asked. However, you haven't provided the connector configuration. > Problem : > Our application was mostly han

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Yogesh Patel
Thanks Mark Thomas , Our application is access by Apache TO Tomcat using AJP Connector. Problem : Our application was mostly hanged,after looking at tomcat manager it shown there are so many long running threads shown. We want to recognize why so many threads are running since long

Re: Regarding StuckThreadDetectionValve

2015-10-05 Thread Mark Thomas
On 05/10/2015 07:54, Yogesh Patel wrote: > We are facing issues with long running thread in tomcat . we are > using Tomcat-7.0.47.Tomcat manager shows Current busy threads : 200, > application gets stucked due to these long running threads. What makes you think you have issues with long r

Re: Rewriting entire request /body in Servlet Filter not working as expected

2015-10-05 Thread Mark Thomas
On 04/10/2015 19:03, Michael Greco wrote: > First time post here. > > Using : > Tomcat 8.0.26 > JDK1.8.0 update 51 > Apache MyFaces 2.2.8. > Maven build of webapp war file > Chrome 45.0.2454.101 m 64 bit > Windows 7 64 bit > > Trying to rewrite the entire request body in a filter using a http re