JSESSIONID being lost

2010-04-20 Thread Jim Goodspeed
I'm hoping someone may have some insight into a difficult problem we are having. We have a situation where the JSESSIONID seems to get lost somewhere in a users transaction - the result is they get kicked back to the applications login page (no sessionid so the app thinks they haven't logged in).

acceptCount in Tomcat 5.x and 6.x?

2009-04-02 Thread Jim Goodspeed
Does the acceptCount setting that is part of the AJP connector in the server.xml file still exist in Tomcat 5.x and Tomcat 6.x? I see a lot of references to it in Tomcat 4.x, but I have not run across it in 5 or 6. We have this setting defined in our tomcat 6 installation, but I think it is a

Re: Rotating catalina.out in tomcat 6.x

2009-04-02 Thread Jim Goodspeed
Since I can't get my development team to NOT log to catalina.out I just script it: cp -a $logdir/catalina.out $logdir/catalina.out-`date +%Y-%m-%d` $logdir/catalina.out On Tue, Mar 17, 2009 at 9:16 AM, Mark Thomas ma...@apache.org wrote: André Warnier wrote: Ghufran wrote: I am using

Re: acceptCount in Tomcat 5.x and 6.x?

2009-04-02 Thread Jim Goodspeed
, On 4/2/2009 11:08 AM, Jim Goodspeed wrote: Does the acceptCount setting that is part of the AJP connector in the server.xml file still exist in Tomcat 5.x and Tomcat 6.x? It does not appear to be available at these levels. I see a lot of references to it in Tomcat 4.x, but I have not run

proxy: AJP: failed to make connection to backend

2009-01-27 Thread Jim Goodspeed
I am seeing the following error in my HTTP Apache error_log. I think this is OK (I assume the timeout has expired and that it will create a new connection when it is needed), but I wanted a second opinion. We are having a problem with some dropped connections and I think it is either network or

WARNING: Error sending end packet - ajp

2009-01-08 Thread Jim Goodspeed
Hi, I am getting the following WARNING message in my catalina.out file. I am currently running Apache 2.2.10, Tomcat 6.0.16 and Sun's JDK 1.6.0_07. I can't tell if this is causing a problem or not. Thanks in advance for the help. Jan 8, 2009 1:40:10 PM org.apache.jk.core.MsgContext action

Re: WARNING: processCallbacks status 2

2009-01-06 Thread Jim Goodspeed
Thanks for the quick response - I'm glad it's nothing to worry about. On Mon, Jan 5, 2009 at 9:41 PM, Bill Barker wbar...@wilshire.com wrote: Jim Goodspeed goodspeeds...@gmail.com wrote in message news:84347690901051317o3824afa1t7de752b2026a1...@mail.gmail.com... I am seeing the following

WARNING: processCallbacks status 2

2009-01-05 Thread Jim Goodspeed
I am seeing the following Warning in my catalina.out log file - it is being spit out every couple of seconds. It's not causing a problem that I can see, but I'm curious as to why it is happening. Jan 5, 2009 3:27:09 PM org.apache.jk.common.ChannelSocket processConnection WARNING:

Re: Root context setup

2007-03-07 Thread Jim Goodspeed
: Jim Goodspeed [mailto:[EMAIL PROTECTED] Subject: Re: Root context setup Is there another way to accomplish this though? Don't put the .war file in Tomcat's directory structure. Instead, put a ROOT.xml file in conf/Catalina/[hostname] that contains a Context element with a docBase attribute

Re: Specify location of server.xml as a start up argument

2007-03-06 Thread Jim Goodspeed
You could put a case statement in the catalina.sh file where you change the CATALINA_BASE directory based on user input: echo Enter the application you want to start read app case $app in app1) export CATALINA_BASE=/usr/local/app1base ;; app2) export CATALINA_BASE=/usr/local/app2base ;;

Re: Removing work directory

2007-03-05 Thread Jim Goodspeed
compare timestamp of .java files to timestamps of .jsp files to know if it need rebuild. Here we deploy using .war file, that mean or jsps are always more recent then work directory, and we don't have issues :) En l'instant précis du 04/03/07 02:10, Jim Goodspeed s'exprimait en ces termes: I'm

unpackWARs Pros and Cons

2007-03-03 Thread Jim Goodspeed
Are there any pros and cons running unpackWARs one way or another? It seems like keeping unpackWARs=false might be a little cleaner (not having to remove expanded directories when deploying a new war file), but I wasn't sure if there were any performance hits associated with running this set to

Removing work directory

2007-03-03 Thread Jim Goodspeed
I'm wondering if anyone has run into a problem where the jsp pages under the work directory do not get updated when a new version of the applicaiton is deployed. We find that we have to delete everything under the work directory so that tomcat is forced to re-create everything. This seems a

Running tomcat as an unprivileged user with a war file

2007-02-22 Thread Jim Goodspeed
I would like to run tomcat as an unprivileged user for security reasons, but when my war file is created through Ant it loses all of the permissions (as it says it will in the Ant manual). Does anyone know of a way to run tomcat as an unprivileged user and still use a war file which when it is

Root context setup

2007-02-16 Thread Jim Goodspeed
Hi, I am trying to figure out how to configure two applications - one to have the default context (ie: be in the root of the url) and the other to be in its own directory. I have the following setup: webapps dir=/usr/local/product/webapps catalina_base=/usr/local/product/base

Re: Root context setup

2007-02-16 Thread Jim Goodspeed
file based on the application. On 2/16/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 2/16/07, Jim Goodspeed [EMAIL PROTECTED] wrote: I want myapp.war to be the default application Name it ROOT.war, which Tomcat recognizes as the default context. HTH, -- Hassan Schroeder