RE: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Caldarale, Charles R
From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... So is the idea to identify to the filter: These are the things for the org.apache.catalina.servlets.DefaultServlet and then send everything else to Hyrax? Can it be configured

Undeploy fails with Tomcat 7 manager application

2011-10-18 Thread Bjoern Raupach
Hi group, we are using Tomcat 7.0.21 on Windows XP with the manager application for remote deployment. Tomcat is configured to unpack wars. Deploying works. However undeploy fails for the following reason: FAIL - Unable to delete [C:\Programme\Apache Software Foundation\Tomcat

Re: Undeploy fails with Tomcat 7 manager application

2011-10-18 Thread Mark Thomas
On 18/10/2011 13:02, Bjoern Raupach wrote: Hi group, we are using Tomcat 7.0.21 on Windows XP with the manager application for remote deployment. Tomcat is configured to unpack wars. Deploying works. However undeploy fails for the following reason: FAIL - Unable to delete

Re: Undeploy fails with Tomcat 7 manager application

2011-10-18 Thread Bjoern Raupach
Could you recommend a tool to show us these files? Its a JSF application, so you are right, there are some properties files needed. On Oct 18, 2011, at 2:09 PM, Mark Thomas wrote: On 18/10/2011 13:02, Bjoern Raupach wrote: Hi group, we are using Tomcat 7.0.21 on Windows XP with the manager

Re: Undeploy fails with Tomcat 7 manager application

2011-10-18 Thread Mark Thomas
On 18/10/2011 13:23, Bjoern Raupach wrote: Could you recommend a tool to show us these files? Its a JSF application, so you are right, there are some properties files needed. Any Java profiler should do the job. I use YourKit because they give free copies to Apache committers. Mark On

Re: Undeploy fails with Tomcat 7 manager application

2011-10-18 Thread Bjoern Raupach
Thanks! I will give it a try. - Björn On Oct 18, 2011, at 2:29 PM, Mark Thomas wrote: On 18/10/2011 13:23, Bjoern Raupach wrote: Could you recommend a tool to show us these files? Its a JSF application, so you are right, there are some properties files needed. Any Java profiler should do

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/17 Nathan Potter npot...@opendap.org: Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a related thread): In my web application I need to utilize the JSP servlet, but I need to use a different

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: 2011/10/17 Nathan Potter npot...@opendap.org: Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a related thread): In my web application I

TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Chad.Davis
I'm reading Tomcat: The Definitive Guide to learn how to separate your instance specific files from your core installation, i.e. CATALINE_HOME; this separation is for providing a clean upgrade path as well as running multiple instances of tomcat off of the same installation. A lot of the stuff

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Francis GALIEGUE
On Tue, Oct 18, 2011 at 16:44, chad.da...@emc.com wrote: I'm reading Tomcat: The Definitive Guide to learn how to separate your instance specific files from your core installation, i.e. CATALINE_HOME; this separation is for providing a clean upgrade path as well as running multiple

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Caldarale, Charles R
From: chad.da...@emc.com [mailto:chad.da...@emc.com] Subject: TOMCAT_BASE and TOMCAT_HOME I'm reading Tomcat: The Definitive Guide Better to read the real Tomcat documentation, including the RUNNING.txt file in the download. This means that for multiple instances to work, each Tomcat

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Chad.Davis
Why would separate instances require their own jar files? Is it not possible to point two concurrently executing jvm's at the same set of jar files? It is entirely possible, of course. But you'll have some maintenance work to do if ever you wish to change the jars for _one_ Tomcat

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Francis GALIEGUE
On Tue, Oct 18, 2011 at 16:58, chad.da...@emc.com wrote: Yes, but is there a technical, i.e. JVM, reason that two running instances of tomcat can't concurrently use the same shared libraries? No there isn't. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel :

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Mark Thomas
On 18/10/2011 15:58, chad.da...@emc.com wrote: Why would separate instances require their own jar files? Is it not possible to point two concurrently executing jvm's at the same set of jar files? It is entirely possible, of course. But you'll have some maintenance work to do if ever you

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Konstantin Kolinko
2011/10/18 chad.da...@emc.com: I'm reading Tomcat: The Definitive Guide to learn how to separate your instance specific files from your core installation, i.e. CATALINE_HOME; this separation is for providing a clean upgrade path as well as running multiple instances of tomcat off of the

Tomcat configuration under webApp

2011-10-18 Thread ettoregia
My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I can get some materials in order to understand how Tomcat works with sub-directories within an exploded-war file? I clarify the question: I have the below structure and what I don't understand is

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/18 Nathan Potter npot...@opendap.org: On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: 2011/10/17 Nathan Potter npot...@opendap.org: Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Chad.Davis
Yes, but is there a technical, i.e. JVM, reason that two running instances of tomcat can't concurrently use the same shared libraries? None at all. Further, you can have both a $CATALINA_HOME/lib and a $CATALINA_BASE/lib with BASE always taking priority over HOME. Therefore, use HOME by

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Mark Thomas
On 18/10/2011 16:15, chad.da...@emc.com wrote: Yes, but is there a technical, i.e. JVM, reason that two running instances of tomcat can't concurrently use the same shared libraries? None at all. Further, you can have both a $CATALINA_HOME/lib and a $CATALINA_BASE/lib with BASE always

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Chad.Davis
This means that for multiple instances to work, each Tomcat instance has to have its own set of these directories; they cannot be shared by two differently configured Tomcat JVM instances. The book is somewhat suspect, unless it explains the reasoning behind such a statement. JAR files

Re: [OT] JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Mark H. Wood
In addition to enriching the community (which helps *you* when we all treat it as the norm) and helping out others who may come along with similar problems, explaining how you worked it out gives you a chance to show how clever you were. :-) -- Mark H. Wood, Lead System Programmer

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid *
On 18 Oct 2011, at 16:12, ettoregia ettore...@gmail.com wrote: My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I can get some materials in order to understand how Tomcat works with sub-directories within an exploded-war file?

Re: Tomcat configuration under webApp

2011-10-18 Thread ettoregia
Pid * wrote: On 18 Oct 2011, at 16:12, ettoregia ettore...@gmail.com wrote: My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I can get some materials in order to understand how Tomcat works with sub-directories within an exploded-war

http put not working for larger files

2011-10-18 Thread Lyudmila L. Balakireva
Hello, I need help in resolving issue with tomcat. I am using tomcat 6.0.33, java 1.6.0_20 and Red Hat 4.5.1-4 . Our application under tomcat has put method to save data on the server. Data send by remote apache server using apr socket and chunked encoding. It is working if the files around

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Caldarale, Charles R
From: chad.da...@emc.com [mailto:chad.da...@emc.com] Subject: RE: TOMCAT_BASE and TOMCAT_HOME This means that for multiple instances to work, each Tomcat instance has to have its own set of these directories; they cannot be shared by two differently configured Tomcat JVM instances.

Reuse mod ajp proxy connections

2011-10-18 Thread Dimitar Georgievski
Hello, We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over mod_ajp_proxy. Monitoring of the servers shows that AJP proxy connections are not reused but closed and reopened. Frequent closing of TCP connections leaves many connections in TIME_WAIT state and this is something we would

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 10/18/2011 11:13 AM, Konstantin Kolinko wrote: I think it is OK to file a bug report for this issue. Reported against 7.0 trunk (where it is also reproducible), including simple test case.

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimitar, On 10/18/2011 2:15 PM, Dimitar Georgievski wrote: We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over mod_ajp_proxy. Monitoring of the servers shows that AJP proxy connections are not reused but closed and reopened. Frequent

Re: http put not working for larger files

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyudmila, On 10/18/2011 12:26 PM, Lyudmila L. Balakireva wrote: I am using tomcat 6.0.33, java 1.6.0_20 and Red Hat 4.5.1-4 . Thanks. Our application under tomcat has put method to save data on the server. Data send by remote apache server

Re: http put not working for larger files

2011-10-18 Thread Lyudmila L. Balakireva
thanks for your reply -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyudmila, On 10/18/2011 12:26 PM, Lyudmila L. Balakireva wrote: I am using tomcat 6.0.33, java 1.6.0_20 and Red Hat 4.5.1-4 . Thanks. Our application under tomcat has put method to save data on the server. Data

modified legacy catalina.sh forces kill on every stop

2011-10-18 Thread Chad.Davis
I'm migrating a 5.5 version of tomcat. Whoever set this up in the first place, modified catalina.sh to make every stop a force. Here's the modified stop section of catalina.sh. # Force a shutdown every time. # if [ $FORCE -eq 1 ]; then if [ ! -z $CATALINA_PID ]; then echo

Re: Tomcat configuration under webApp

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ettore, On 10/18/2011 11:12 AM, ettoregia wrote: I'm asking this because the IT department of the Company where I work as consultant, is not giving me any write privileges to modify some files, neither they're allowing me to copy, by myself, a

Re: modified legacy catalina.sh forces kill on every stop

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad, On 10/18/2011 5:32 PM, chad.da...@emc.com wrote: I'm migrating a 5.5 version of tomcat. Whoever set this up in the first place, modified catalina.sh to make every stop a force. Here's the modified stop section of catalina.sh. # Force a

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/18/2011 10:50 AM, Caldarale, Charles R wrote: From: chad.da...@emc.com [mailto:chad.da...@emc.com] Subject: TOMCAT_BASE and TOMCAT_HOME I'm reading Tomcat: The Definitive Guide Better to read the real Tomcat documentation,

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
Chris et al., Thanks having a careful look at the 500 status thing. I realize that our application is not using Tomcat in the usual manner, and that this unusual use does not a use case make. So the fact that you're willing to consider fixing it is much appreciated. I'll keep looking

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Pid
On 18/10/2011 20:40, Christopher Schultz wrote: Dimitar, On 10/18/2011 2:15 PM, Dimitar Georgievski wrote: We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over mod_ajp_proxy. Monitoring of the servers shows that AJP proxy connections are not reused but closed and reopened. Frequent

Re: Tomcat configuration under webApp

2011-10-18 Thread Tim Watts
On Tue, 2011-10-18 at 09:15 -0700, ettoregia wrote: Pid * wrote: On 18 Oct 2011, at 16:12, ettoregia ettore...@gmail.com wrote: My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I can get some materials in order to understand

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid
On 18/10/2011 23:29, Tim Watts wrote: On Tue, 2011-10-18 at 09:15 -0700, ettoregia wrote: Pid * wrote: On 18 Oct 2011, at 16:12, ettoregia ettore...@gmail.com wrote: My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I can get some materials

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid
On 18/10/2011 23:29, Tim Watts wrote: Sorry I meant /tomcat/apps/myAppName/conf/ and under conf all the files mentioned above That is a strange layout. Is it possible that the IT people are running each webapp in a separate JVM and pointing CATALINA_BASE to /tomcat/apps/appName ?

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/18/2011 6:17 PM, Pid wrote: On 18/10/2011 20:40, Christopher Schultz wrote: Dimitar, On 10/18/2011 2:15 PM, Dimitar Georgievski wrote: We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over mod_ajp_proxy. Monitoring of the

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Dimitar Georgievski
Hi Chris, Tomcat AJP Connector settings: Connector port=${ajp.port} protocol=AJP/1.3 redirectPort=${ssl.port} maxThreads=750 backlog=100 enableLookups=false emptySessionPath=true connectionTimeout=80 URIEncoding=UTF-8 / Apache MPM worker settings; StartServers 3 ServerLimit 30 MaxClients

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimitar, On 10/18/2011 8:30 PM, Dimitar Georgievski wrote: SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 I'm no expert, but seeing keepalives disabled for a proxy connection would sure make me think that maybe that setting is

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Dimitar Georgievski
SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 This setting should control the mod_http_proxy connections. I forgot to mention this Apache server does that. I'll definitely take out these settings, because the http proxy connections should also be persistent. Regarding the upgrade