Re: [OT] very slow class loading on initial JSP/servlet request afterrestart

2009-02-24 Thread Pieter Temmerman
Do we know which file file.exists() is trying to check? May be a good idea to run Tomcat with strace, to see exactly which file is it trying to access. On Fri, 2009-02-20 at 21:10 +0100, André Warnier wrote: Caldarale, Charles R wrote: From: Christopher Schultz

Re: apache tomcat connector header size

2009-02-24 Thread eric tse
Hi Andre and guys, can you help me Thanks Eric On Thu, Feb 19, 2009 at 3:54 PM, eric tse hfe...@gmail.com wrote: Thanks Andre which Apache/Tomcat connector are you talking about ? isapi_redirect.dll (1.2.14.0) The official site is http://tomcat.apache.org/connectors-doc/ what

Re: Request for 'Scriptresource.axd' results in download of 'Scriptresource.txt'

2009-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 2/23/2009 3:00 PM, Mark Kimmerly wrote: I have written a servlet request filter that inspects the URI of incoming requests and redirects them to an IIS server if appropriate (such as when a .aspx resource is requested). To summarize, the

RE: Request for 'Scriptresource.axd' results in download of 'Scriptresource.txt'

2009-02-24 Thread Jordan, Martin
Yo, does anyone know how to turn on debugging for what JASPER is doing while TOMCAT is running? We would like to see why certain JSPs stop working randomly. Thanks Mj. Martin Jordan. Please consider the environment before printing this e-mail The Newspaper Marketing Agency: Opening Up

RE: Request for 'Scriptresource.axd' results in download of 'Scriptresource.txt'

2009-02-24 Thread Caldarale, Charles R
From: Jordan, Martin [mailto:martin.jor...@newsint.co.uk] Subject: RE: Request for 'Scriptresource.axd' results in download of 'Scriptresource.txt' We would like to see why certain JSPs stop working randomly. We would like you to not hijack threads. Start a new thread when posing a new

Need to look inside JASPER

2009-02-24 Thread Jordan, Martin
Yo, does anyone know how to turn on debugging for what JASPER is doing while TOMCAT is running? We would like to see why certain JSPs stop working randomly. Thanks Mj. Martin Jordan Solutions Engineer, Solutions Engineering - Technology News International Limited 1 Virginia Street

Re: Need to look inside JASPER

2009-02-24 Thread Pid
Jordan, Martin wrote: Yo, does anyone know how to turn on debugging for what JASPER is doing while TOMCAT is running? We would like to see why certain JSPs stop working randomly. Jasper compiles JSPs into servlets, which are then compiled into classes. Are you sure that Jasper is what you

mod_jk

2009-02-24 Thread Mohit Anchlia
We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like mod_jk load balancer on Web server doesn't detect it as soon as Jboss App Server goes down. Our goal is to

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread Sam Hokin
Mark Thomas wrote: Sam Hokin wrote: Thanks, Chris. I ran e2fsck with the -c option, which runs badblocks, when I tested it earlier. And I just ran badblocks again - 0 bad blocks found. I wish I could fix this by simply as swapping out a bad disk (notwithstanding Andre's desire for

Problem with sessions on a fedora 10 machine

2009-02-24 Thread Noam Aigerman
Hi, I've been working with apache tomcat under windows for a few months now. I've just setup a new fedora server, and deployed a .war file to it's webapps directory. Everything is running fine on the fedora machine, except that the session doesn't seem to stick. doing something like the code

Apache - Tomcat connection problem

2009-02-24 Thread Daryl Stultz
Hello, I don't know if this is an Apache problem, Tomcat problem, both or neither. Hopefully someone can point me in the right direction. I'm running Tomcat 5.5.17 behind Apache 2.2.2. I am connecting with a Tomcat AJP connector like so: Connector port=8009 enableLookups=false

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread Juha Laiho
So, looks like I'm late to the party, but will crash in nonetheless. Sam Hokin wrote: Christopher Schultz wrote: On 2/19/2009 6:23 PM, Sam Hokin wrote: The problem, which spontaneously appeared a few days before Christmas on this one server, is that the initial request of a JSP or servlet

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread Sam Hokin
Juha Laiho wrote: One tool that I haven't yet seen suggested is 'strace', the Linux system call tracer. This will show all the calls your application makes to the operating system. As you say the application is mostly idle during the delay, it is, in one way or another, waiting for some OS

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread János Löbb
On Feb 24, 2009, at 3:57 PM, Juha Laiho wrote: So, looks like I'm late to the party, but will crash in nonetheless. Sam Hokin wrote: Christopher Schultz wrote: On 2/19/2009 6:23 PM, Sam Hokin wrote: The problem, which spontaneously appeared a few days before Christmas on this one server,

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-24 Thread Caldarale, Charles R
From: Sam Hokin [mailto:s...@ims.net] Subject: Re: very slow class loading on initial JSP/servlet request afterrestart But, clearly, the key diagnostic issue is finding out WHAT is going on during the delay that a JSP incurs when it is first requested of a given Tomcat instance. I'm still

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread János Löbb
On Feb 24, 2009, at 4:16 PM, Sam Hokin wrote: Juha Laiho wrote: One tool that I haven't yet seen suggested is 'strace', the Linux system call tracer. This will show all the calls your application makes to the operating system. As you say the application is mostly idle during the delay,

Re: mod_jk

2009-02-24 Thread Rainer Jung
On 24.02.2009 19:18, Mohit Anchlia wrote: We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like mod_jk load balancer on Web server doesn't detect it as soon as

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread Sam Hokin
János Löbb wrote: How about just using tcpdump during the long delay and see what the machine is doing network wise ? I have, and network timeout was suggested earlier on this thread. There is no TCP activity of particular interest during the delay. I've hunted for, and not seen, anything

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, On 2/24/2009 1:54 PM, Sam Hokin wrote: Mark Thomas wrote: Sam Hokin wrote: Thanks, Chris. I ran e2fsck with the -c option, which runs badblocks, when I tested it earlier. And I just ran badblocks again - 0 bad blocks found. I wish I

Re: Apache - Tomcat connection problem

2009-02-24 Thread Rainer Jung
On 24.02.2009 21:50, Daryl Stultz wrote: I'm running Tomcat 5.5.17 behind Apache 2.2.2. I am connecting with a Tomcat AJP connector like so: Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / and Apache ProxyPass like so: ProxyPass /myapp

Re: Problem with sessions on a fedora 10 machine

2009-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noam, On 2/24/2009 2:06 PM, Noam Aigerman wrote: I've been working with apache tomcat under windows for a few months now. I've just setup a new fedora server, and deployed a .war file to it's webapps directory. Everything is running fine on the

Re: apache tomcat connector header size

2009-02-24 Thread Rainer Jung
On 19.02.2009 21:54, eric tse wrote: which Apache/Tomcat connector are you talking about ? isapi_redirect.dll (1.2.14.0) The official site is http://tomcat.apache.org/connectors-doc/ what versions of Apache, Tomcat, and the connector ? Proxy on IIS6 windows 2K3, tomcat backend (6.0.18) on

Re: Apache - Tomcat connection problem

2009-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 2/24/2009 4:56 PM, Rainer Jung wrote: On 24.02.2009 21:50, Daryl Stultz wrote: Tomcat AJP connector defaults to 200 for maxThreads. The site has 20 Defaults? I think no, and you haven't configured 200 in your abive config snippet.

RE: Problem with sessions on a fedora 10 machine

2009-02-24 Thread Noam Aigerman
Hi Chris, I managed to isolate the issue - you were close with your last guess :) - in proxy_ajp.conf I mapped my webapp by doing: ProxyPass / ajp://localhost:8009/Noam So whoever comes to my site can go to www.site.com and not www.site.com/Noam I am guessing the cookies are set to a wrong

Re: Apache - Tomcat connection problem

2009-02-24 Thread Daryl Stultz
On Tue, Feb 24, 2009 at 4:56 PM, Rainer Jung rainer.j...@kippdata.dewrote: You need to understand it. ... You can check your MPM by calling httpd -V. The output will contain a line like -D APACHE_MPM_DIR=server/mpm/worker Server version: Apache/2.2.2 Server built: Jul 26 2006 11:12:08

mod_jk not working as expected - is there a bug??

2009-02-24 Thread Mohit Anchlia
Reposting: Apache Server - 2.2 Tomcat server 6 Jboss - 4.2 We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like mod_jk load balancer on Web server doesn't detect

Re: apache tomcat connector header size

2009-02-24 Thread eric tse
Thank you very much On Tue, Feb 24, 2009 at 2:59 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 19.02.2009 21:54, eric tse wrote: which Apache/Tomcat connector are you talking about ? isapi_redirect.dll (1.2.14.0) The official site is http://tomcat.apache.org/connectors-doc/ what

Re: Apache - Tomcat connection problem

2009-02-24 Thread Rainer Jung
On 24.02.2009 23:31, Daryl Stultz wrote: Tomcat AJP connector defaults to 200 for maxThreads. The site has 20 Defaults? I think no, and you haven't configured 200 in your abive config snippet. See Christopher's response. Do you know of the implementation being different than the docs? No,

Re: mod_jk not working as expected - is there a bug??

2009-02-24 Thread Rainer Jung
On 25.02.2009 00:00, Mohit Anchlia wrote: Reposting: Apache Server - 2.2 Tomcat server 6 Jboss - 4.2 We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like

Re: mod_jk not working as expected - is there a bug??

2009-02-24 Thread Mohit Anchlia
In httpd conf I just see JkMount and no other directive. I searched for Jk. Here is workers.properties file: ## worker.list=status,tc ## Worker Configuration## # All entries in this section take the form: # worker.workername.directive=value # Worker names are defined in the worker.list

Re: mod_jk

2009-02-24 Thread ilndinesh
But if you have only one Tomcat to send requests to, then all this tells you is that this Tomcat is not responding. So now what do you do ? In this case, I want apache to treat the request as DECLINED by mod_jk, so that if we put some static content in apache at this place, it will be

Re: mod_jk

2009-02-24 Thread ilndinesh
But if you have only one Tomcat to send requests to, then all this tells you is that this Tomcat is not responding. So now what do you do ? In this case, I want apache to treat the request as DECLINED by mod_jk, so that if we put some static content in apache at this place, it will be

tomcat webapp FORM authentication problem

2009-02-24 Thread Alexander Soudackov
Hi everybody, I have a very annoying problem with a secured folder in my tomcat web application. The most amazing is that the problems do not occur when I'm using BASIC authentication, but only when FORM authentication. Here is what I have configured (mywebapp is the name of the folder with

RE: tomcat webapp FORM authentication problem

2009-02-24 Thread Caldarale, Charles R
From: Alexander Soudackov [mailto:so...@chem.psu.edu] Subject: tomcat webapp FORM authentication problem I have a very annoying problem with a secured folder in my tomcat web application. You could start the problem description by telling us the version of Tomcat you're using. It's likely

Tomcat error messages sent to client browsesr

2009-02-24 Thread Edao, Aliye
Dear all, I am trying to find out if there is an alternative way of telling Tomcat not to send information to the client browser in a case of an error (Stack trace, Root Cause ...) in the application rather than by defining an error-page in web.xml. System information: +++ Linux