Re: Problem regarding Hosting

2011-06-11 Thread adityagoel123
Hello ! Thanks for the Reply ! To your questions My answer is : 1.) Is it a shared server in which you have a user account? Does this server have Tomcat installed on it? Ans: Yes It is a shared Server and I have a account over it. Yes I have installed the tomcat 6.0.32 onto this server at

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Folks, Is there any API to get hold of Tomcat's Connector thread pools? Regards Azeez On Thu, Jun 9, 2011 at 10:58 PM, Afkham Azeez afk...@gmail.com wrote: On Thu, Jun 9, 2011 at 10:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Afkham Azeez

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
On Sat, Jun 11, 2011 at 1:14 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sriram, On 6/10/2011 1:49 PM, Sriram Narayanan wrote: Having one application serve static content, and having other applications serve other content

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
I re-read my own responses. It looks like some context has not come across in the non-interative nature of email. I myself agree that common practice is not the same as best practice, though in my experience as a developer + sysadmin for the past few years, it is indeed ideal to separate the

Re: Mod_jk working for failover

2011-06-11 Thread Rainer Jung
On 08.06.2011 12:12, Felix Schumacher wrote: Am Mittwoch, den 08.06.2011, 09:47 +0200 schrieb Manuel Fernández Panzuela: Yes Felix, you are right i am working with 2 instances. I want primary node receives all requests and on failure send requests to the secondary node. Is it possible with

RE: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Caldarale, Charles R
From: Sriram Narayanan [mailto:sriram...@gmail.com] Subject: Re: Optimal Settings to use Tomcat as a HTTP File Server I myself agree that common practice is not the same as best practice, though in my experience as a developer + sysadmin for the past few years, it is indeed ideal to

Re: Terminating long running request threads

2011-06-11 Thread Rainer Jung
On 11.06.2011 09:30, Afkham Azeez wrote: Folks, Is there any API to get hold of Tomcat's Connector thread pools? Each request is registered with an MBean in the MBeanServer. As long as the request is running, the MBean contains additional info, like the URI, when the request started, the thread

Re: Tomcat shutdown issues

2011-06-11 Thread Rainer Jung
On 10.06.2011 16:55, Caldarale, Charles R wrote: From: April Easton [mailto:aeas...@shawneecourt.org] Subject: Tomcat shutdown issues I don't see any of my threads in there Look harder: Worker-JM prio=3D10 tid=3D0x5d7a1800 nid=3D0x521f in Object.wait() at

Re: serving pre-compressed files

2011-06-11 Thread Rainer Jung
On 09.06.2011 18:22, Christopher Schultz wrote: Jesse, On 6/9/2011 8:34 AM, Jesse Farinacci wrote: I just wrote a quick javax.servlet.Filter. It sanity checks: 1) no ?gzip=false parameter (a la Tomcat's compression filter), and 2) Accept-Encoding: {,x-}gzip in any of the headers, and 3)

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-11 Thread Sriram Narayanan
On Sat, Jun 11, 2011 at 7:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Sriram Narayanan [mailto:sriram...@gmail.com] Subject: Re: Optimal Settings to use Tomcat as a HTTP File Server I myself agree that common practice is not the same as best practice, though in my

Re: specifying the content-type

2011-06-11 Thread Rainer Jung
On 07.06.2011 21:29, Christopher Schultz wrote: Bernd, On 6/7/2011 2:23 PM, Lentes, Bernd wrote: Christopher Schultz wrote: How did you do it? If you use META HTTP-EQUIV=Content-Type CONTENT=text/html /, it should override any Content-Type sent in the HTTP response headers Yes, we used

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Thanks Rainer. I think I can use the RequestProcessor MBeans. Thanks Azeez On Sat, Jun 11, 2011 at 8:41 PM, Rainer Jung rainer.j...@kippdata.dewrote: On 11.06.2011 09:30, Afkham Azeez wrote: Folks, Is there any API to get hold of Tomcat's Connector thread pools? Each request is

Re: pauses on simple .html pages

2011-06-11 Thread Peter Crowther
On 9 June 2011 21:25, tom...@r322.com wrote: I have a script setup does a wget hit to docs/config/valve.html every 1 second. If the wget call takes longer than 1 second it grabs a bunch of stats -- iostat, vmstat, top, jstack, last 30 lines of jvm.log. Nice setup - I wish more people did

RE: Terminating long running request threads

2011-06-11 Thread spring
Have a look at this Valve: http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/valves /StuckThreadDetectionValve.java For Tomcat 7.0.14 -Original Message- From: Afkham Azeez [mailto:afk...@gmail.com] Sent: Samstag, 11. Juni 2011 19:23 To: Tomcat Users List

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Thanks! That Valve would be useful to achieve my purpose. On Sun, Jun 12, 2011 at 12:19 AM, spr...@gmx.eu wrote: Have a look at this Valve: http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/valves /StuckThreadDetectionValve.java For Tomcat 7.0.14 -Original