Error while starting tomcat. Failed creating jvm.dll

2011-10-18 Thread Joe Hansen
Hi, I have installed Tomcat 6.0.29 on a machine running Windows 7 Professional (64bit) and JDK 1.5.0_22. When I start Tomcat, I see the following error message in the log file: [206 javajni.c] [error] %1 is not a valid Win32 application. [985 prunsrv.c] [error] Failed creating java C:\Program F

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 o

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 disablin

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Dimitar Georgievski
Hi Chris, Tomcat AJP Connector settings: Apache MPM worker settings; StartServers 3 ServerLimit 30 MaxClients 750 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 Mod proxy settings in Apache ProxyStatus On ProxyRequests Off ProxyTimeout 1800 ProxyPassMatch ^/(

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. Monitor

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: 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 wrote: >>> My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 Hi folk, does anyone of you knows where I ca

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 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 > >> u

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.

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: 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: 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. > > # Forc

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 .

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 "Killi

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 th

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 se

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: 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. https://issues.apache.org/bugzilla/show_bug

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

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, At this point, all discussion is academic because you sound like you are stuck with what you've got. I would recommend fixing the apparent bugs in your replacement default servlet, but I don't get to make requirements decisions on your project

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 pref

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 i

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 aroun

Re: Tomcat configuration under webApp

2011-10-18 Thread ettoregia
Pid * wrote: > > On 18 Oct 2011, at 16:12, ettoregia 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 >> fil

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid *
On 18 Oct 2011, at 16:12, ettoregia 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? http://tomcat.apache.org/ ?

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 mw...@iupui.e

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: 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

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: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/18 Nathan Potter : > > On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: > >> 2011/10/17 Nathan Potter : >>> >>> >>> 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): >

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 wh

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Konstantin Kolinko
2011/10/18 : > 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

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

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Francis GALIEGUE
On Tue, Oct 18, 2011 at 16:58, 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 : +33 (0) 178 945

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 install

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 Francis GALIEGUE
On Tue, Oct 18, 2011 at 16:44, 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 > instances of tomcat of

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: 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 : 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

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

2011-10-18 Thread Konstantin Kolinko
2011/10/17 Nathan Potter : > > > 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 servlet map

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 s

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 > > O

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 m

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 [C:\Progra

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 7.0\webapps\mywe

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 conf