how many threads are serving requests ?

2009-08-28 Thread Stefano Nichele
Hi All, I'm collecting some monitor information via JMX and currently I'm interesting in how many threads are really serving requests. My environment is composed by apache 2 + mod jk + tomcat 6.0.13. Previously I monitored just:: Catalina:type=ThreadPool, attribute currentThreadsBusy but it see

Re: wrong jspInit handling

2009-08-24 Thread Stefano Nichele
You are right, sorry. Apache Tomcat 6.0.13 jdk1.6.0_10 Windows XP SP3 but I was able to reproduce it with: Apache Tomcat 6.0.13 jdk1.6.0_07 CentOS release 5.2 Cheers, ste Mark Thomas wrote: Stefano Nichele wrote: Am I missing something ? Yes (well your question is anyway). Most

wrong jspInit handling

2009-08-23 Thread Stefano Nichele
Hi All, I'm experiencing some strange calls to jspInit method. I've this simple jsp: <%! public void jspInit() { System.out.println("In test.jspInit"); } public void jspDestroy() { System.out.println("In test.jspDestroy"); } %> This is a test and in my web.xml I a

different jsessionid for different webapps

2009-01-23 Thread Stefano Nichele
Hi All, I have a strange (for me?) requirement for my application. Basically I have webapp A deployed in Tomcat A and webpp B deployed in Tomcat B. webappA is the "main" webapplication that provides the main web page to the the browser. That page contains an IFrame that points to webappB. Is

crossContext and session handling

2008-12-13 Thread Stefano Nichele
Hi All, I would like to ask you some advices about crossContext. I have two webapps A and B. In A I have a filter that does: RequestDispatcher rd; rd = context.getContext("/B").getRequestDispatcher("/somepath"); rd.forward(request, response); in order to forward the reques

Re: default web app

2008-11-08 Thread Stefano Nichele
<[EMAIL PROTECTED]>wrote: > Perhaps you should use virtual hosts then. > > Regards, > > Serge Fonville > > On Sat, Nov 8, 2008 at 11:34 PM, Stefano Nichele > <[EMAIL PROTECTED]>wrote: > > > Since in some case I must install others applications that I ca

Re: default web app

2008-11-08 Thread Stefano Nichele
is. ste Caldarale, Charles R wrote: From: Stefano Nichele [mailto:[EMAIL PROTECTED] Subject: default web app the only restriction is that I can't rename it in ROOT. Why not? That's the simplest thing to do. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWIS

default web app

2008-11-08 Thread Stefano Nichele
Hi ALL, I'm very afraid posting this question since I think it's very common, but I was not able to find any useful answer. I have Tomcat running with just my application. Under /webapps there is just my web application (let's say 'myapp'). Now I would like that http://localhost:8080/ will b

Threads and blocked count value

2008-11-04 Thread Stefano Nichele
Hi All, I'm running tomcat 6.0.13 + jdk 1.5 in my production system and I'm a bit wondering about the number of times the "Reference Handler" thread has been blocked in just 3 days: 9500835 (checked using jmx) For the other http threads (the ones that start with "http-port-") as average I ha

bugs 45551

2008-09-27 Thread Stefano Nichele
Hi list, porting my application to tomcat 6.0.18 I'm now fighting with this bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=45511 ( EL "empty" keyword does not work ) since in my application I have a lot of something like ${empty('')}. I have seen that the bug is already closed, so I w