Re: Force 32-bit installation on 64-bit windows?

2011-10-20 Thread Konstantin Kolinko
2011/10/19 Caldarale, Charles R chuck.caldar...@unisys.com: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Force 32-bit installation on 64-bit windows? So if I select the 32-bit JRE, it should install the 32-bit service? Not sure if the installer will ask, but if you make the

Re: combination of RemoteAddrValve und basic authentication

2011-10-20 Thread Remon Sadikni
Hi Chris, but allows is part of RequestFilterValve. Not in the current trunk. Your code expects the allows variable to be of type String[], and no such variable exists in RequestFilterValve. Right: the point of the RequestFilterValve is that you don't have to override the process() method.

control of session timed out with tomcat

2011-10-20 Thread Alejandro Soto
Hi my friends, I want to ask you all, If there is a way to control the timed out of sessions with tomcat, what I need is when the session timed out, automatically the user is redirected to the login page, Is this possible to do that from tomcat?, I mean, tomcat triggers some event to the user with

Re: control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 09:51 -0400, Alejandro Soto wrote: Hi my friends, I want to ask you all, If there is a way to control the timed out of sessions with tomcat, what I need is when the session timed out, automatically the user is redirected to the login page, Is this possible to do that from

Re: control of session timed out with tomcat

2011-10-20 Thread Hassan Schroeder
On Thu, Oct 20, 2011 at 6:51 AM, Alejandro Soto smalejan...@gmail.com wrote: Hi my friends, I want to ask you all, If there is a way to control the timed out of sessions with tomcat, what I need is when the session timed out, automatically the user is redirected to the login page, Is this

Re: control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 10:06 -0400, Tim Watts wrote: On Thu, 2011-10-20 at 09:51 -0400, Alejandro Soto wrote: Hi my friends, I want to ask you all, If there is a way to control the timed out of sessions with tomcat, what I need is when the session timed out, automatically the user is

Re: control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 07:08 -0700, Hassan Schroeder wrote: On Thu, Oct 20, 2011 at 6:51 AM, Alejandro Soto smalejan...@gmail.com wrote: Hi my friends, I want to ask you all, If there is a way to control the timed out of sessions with tomcat, what I need is when the session timed out,

Re: control of session timed out with tomcat

2011-10-20 Thread Alejandro Soto
Hi, thanks for your replies, These are the only ways I have to do it?, I was reading something about filters, but I think only works with user interaction. Thanks. On Thu, Oct 20, 2011 at 10:08 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Thu, Oct 20, 2011 at 6:51 AM, Alejandro

Re: control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 10:23 -0400, Alejandro Soto wrote: Hi, thanks for your replies, These are the only ways I have to do it?, I was reading something about filters, but I think only works with user interaction. Basically, that's all. Filters are only active during the request-response

Re: control of session timed out with tomcat

2011-10-20 Thread André Warnier
Alejandro Soto wrote: Hi, thanks for your replies, These are the only ways I have to do it?, I was reading something about filters, but I think only works with user interaction. The basic issues are these : 1) Tomcat (probably) doesn't spend its time all the time scanning stored sessions to

Re: control of session timed out with tomcat

2011-10-20 Thread Hassan Schroeder
On Thu, Oct 20, 2011 at 7:52 AM, André Warnier a...@ice-sa.com wrote: 1) Tomcat (probably) doesn't spend its time all the time scanning stored sessions to see if one has expired, and deleting it. Actually, it does. That's what session listeners depend on. So, for example, I can have a

Re: [OT?] control of session timed out with tomcat

2011-10-20 Thread André Warnier
Hassan Schroeder wrote: On Thu, Oct 20, 2011 at 7:52 AM, André Warnier a...@ice-sa.com wrote: 1) Tomcat (probably) doesn't spend its time all the time scanning stored sessions to see if one has expired, and deleting it. Actually, it does. That's what session listeners depend on. So, for

Re: [OT?] control of session timed out with tomcat

2011-10-20 Thread Mark Thomas
On 20/10/2011 16:22, André Warnier wrote: Hassan Schroeder wrote: On Thu, Oct 20, 2011 at 7:52 AM, André Warnier a...@ice-sa.com wrote: 1) Tomcat (probably) doesn't spend its time all the time scanning stored sessions to see if one has expired, and deleting it. Actually, it does. That's

Re: control of session timed out with tomcat

2011-10-20 Thread Alejandro Soto
Thanks for the clarification. Well, my system is like a ERP, what I want to do is basically: the user for work with the system, first must to be authenticated, then the user can works normally, then, if his session timed out, he need to relogin, that is the reason because I need to control the

Re: Reuse mod ajp proxy connections

2011-10-20 Thread Dimitar Georgievski
On Wed, Oct 19, 2011 at 10:27 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimitar, On 10/18/2011 10:50 PM, Dimitar Georgievski wrote: SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 This setting should control

Tomcat 7

2011-10-20 Thread Barrera, Maribel
Hi, We are currently using Tomcat 4 and would like to upgrade to Tomcat 6 or 7. We would like Tomcat to run as a service and when the service is started, it should start a servlet. How do I do that ? Any help would be highly appreciated. Thanks. Maribel W. Barrera From: Barrera, Maribel

Re: [OT?] control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 16:35 +0100, Mark Thomas wrote: On 20/10/2011 16:22, André Warnier wrote: Hassan Schroeder wrote: On Thu, Oct 20, 2011 at 7:52 AM, André Warnier a...@ice-sa.com wrote: 1) Tomcat (probably) doesn't spend its time all the time scanning stored sessions to see if one

Re: Tomcat 7

2011-10-20 Thread David kerber
On 10/20/2011 11:52 AM, Barrera, Maribel wrote: Hi, We are currently using Tomcat 4 and would like to upgrade to Tomcat 6 or 7. We would like Tomcat to run as a service and when the service is started, it should start a servlet. How do I do that ? Any help would be highly appreciated. Thanks.

Re: [OT?] control of session timed out with tomcat

2011-10-20 Thread Mark Thomas
On 20/10/2011 17:01, Tim Watts wrote: On Thu, 2011-10-20 at 16:35 +0100, Mark Thomas wrote: On 20/10/2011 16:22, André Warnier wrote: Hassan Schroeder wrote: On Thu, Oct 20, 2011 at 7:52 AM, André Warnier a...@ice-sa.com wrote: 1) Tomcat (probably) doesn't spend its time all the time

Re: control of session timed out with tomcat

2011-10-20 Thread Hassan Schroeder
On Thu, Oct 20, 2011 at 8:35 AM, Alejandro Soto smalejan...@gmail.com wrote: Well, my system is like a ERP, what I want to do is basically: the user for work with the system, first must to be authenticated, then the user can works normally, then, if his session timed out, he need to relogin,

FarmWarDeployer undeploy on slave node when tomcat restart

2011-10-20 Thread Marco Betti
Hi all, I'm new to the list. I'm trying to configure tomcat 6.0.33 clustering. Session replication is ok. I've a problem with FarmWarDeployer. I found that: 1. You have to place the Cluster node under the Host element. Tomcat 6.0.x complains that the element Cluster/Deployer element is not

JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
Hi Tomcat Community: BACKGROUND: I have a Servlet-based WEBAPP that is running in Tomcat7, JDK 1.6.0_27 on Windows Server 2008 R2 64-bit - all 64-bit. We make use of class.newInstance quite a bit as we have a fairly modular, interface-based system, and create class instances on the fly. As

ODBC jar files

2011-10-20 Thread Propes, Barry L
Question. Will it hurt to have two different odbc jar files in the lib folder? I've been connecting to a production server on Oracle10g for some time, and have had my context.xml file in the META-INF directory of one web app configured to hit this Oracle server. Our group just got a new

RE: ODBC jar files

2011-10-20 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: ODBC jar files Will it hurt to have two different odbc jar files in the lib folder? Which lib folder are you referring to? Tomcat's lib folder, or WEB-INF/lib of the webapp? If any class names are common to both jars, you

Tomcat produces empty/missing log files

2011-10-20 Thread Brian Jones
- Environment: Windows 7 Professional, SP1 64-bit, Tomcat 5.5.33 - Logging level set to INFO - CATALINA_OPTS: -Dsun.lang.ClassLoader.allowArraySyntax=true - No JAVA_OPTS environment variable - JAVA_HOME points to JDK 1.6.0_26 - NOT

RE: ODBC jar files

2011-10-20 Thread Propes, Barry L
Sorry for any confusion there - I meant tomcat/lib, not WEB-INF/lib. Ok, I imagine that is a problem then. I haven't perused both jars, but I imagine there's some redundancy in there! Thanks. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent:

Re: ODBC jar files

2011-10-20 Thread Ashish Kulkarni
If there are common classes it will be very hard to tell which one will be loaded by class loader check this document, http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html On Thu, Oct 20, 2011 at 3:00 PM, Propes, Barry L barry.l.pro...@citi.comwrote: Sorry for any confusion there

Re: Error starting Tomcat

2011-10-20 Thread ramsri
Konstantin: I am very glad that I found this thread. For a week I have been struggling with this problem. I have Tomcat7 running. My application which was running just fine under Tomcat5 does not run under Tomcat7. I have created setupclasspath.sh with all the necessary JARs. My Tomcat starts

RE: Error starting Tomcat

2011-10-20 Thread Chad.Davis
I have Tomcat7 running. My application which was running just fine under Tomcat5 does not run under Tomcat7. I have created setupclasspath.sh with all the necessary JARs. My Tomcat starts fine and I see the opening page. Even my Axis comes up ok but not my application. I start Tomcat with

Re: Tomcat produces empty/missing log files

2011-10-20 Thread Konstantin Kolinko
2011/10/20 Brian Jones bjone...@uwo.ca: -          Environment: Windows 7 Professional, SP1 64-bit, Tomcat 5.5.33 -          Logging level set to INFO -          CATALINA_OPTS: -Dsun.lang.ClassLoader.allowArraySyntax=true -          No JAVA_OPTS environment variable -          JAVA_HOME

Use case for adding configurable behavior for unpacking WARs deployed outside the Host's appBase?

2011-10-20 Thread Jason Pringle
We finally tracked down why a 3rd party application we use stopped working as of our upgrade to 7.0.14 (and subsequent) - it was the fix applied to 7.0.12 which stopped unpacking WARs that were deployed from an appBase outside that of the container. It presented itself in an odd way, which is

Re: Reuse mod ajp proxy connections

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimitar, On 10/20/2011 11:37 AM, Dimitar Georgievski wrote: We have started series of tests to determine the effect of the following changes; 1. Upgrade Apache to 2.2.21 (the latest) 2. Upgrade Tomcat to 5.5.34 (the latest in the 5.x series) 3.

Re: control of session timed out with tomcat

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 10/20/2011 10:15 AM, Tim Watts wrote: I should also point out that this approach is somewhat kludgey because of the inherent latency problems when the session is close to expiration. But I don't know of a rock solid approach. You just

Re: [OT?] control of session timed out with tomcat

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/20/2011 11:35 AM, Mark Thomas wrote: On 20/10/2011 16:22, André Warnier wrote: Or is there a smarter algorithm implemented there ? Such as? I'm open to ideas here (maybe not for this exact problem but certainly the general one). I

Re: control of session timed out with tomcat

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 10/20/2011 11:35 AM, Alejandro Soto wrote: Well, my system is like a ERP, what I want to do is basically: the user for work with the system, first must to be authenticated, then the user can works normally, then, if his session timed

RE: ODBC jar files

2011-10-20 Thread Propes, Barry L
I had kind of thought that might be the case, but wasn't sure. I had web app A with a context file in its META-INF directory and web app B with a (different) context file in its META-INF directory. But just because the jars have different names, I suppose doesn't' even mean the package path

Re: Fwd: Re: question about inter-webapp communication

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garey, (Thanks for taking this back onto the list). On 10/19/2011 5:07 PM, Garey Mills wrote: Geoserver only has basic authentication on an object by object level. We are deploying it in a unversity that has a Centralized Authentication Server,

RE: ODBC jar files

2011-10-20 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: ODBC jar files I had web app A with a context file in its META-INF directory and web app B with a (different) context file in its META-INF directory. That's not related to the classloader being used here. There's a

Re: http put not working for larger files

2011-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyudmila, On 10/18/2011 5:21 PM, Lyudmila L. Balakireva wrote: Yes, packages are sent by apache client untill eof, no socket problem reported. And it works for binary and text. And the input stream I am getting from request in tomcat already

Re: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Pid
On 20/10/2011 18:18, Bob DeRemer wrote: Hi Tomcat Community: BACKGROUND: I have a Servlet-based WEBAPP that is running in Tomcat7, JDK 1.6.0_27 on Windows Server 2008 R2 64-bit - all 64-bit. We make use of class.newInstance quite a bit as we have a fairly modular, interface-based system,

Re: Error starting Tomcat

2011-10-20 Thread Pid
On 20/10/2011 20:16, ramsri wrote: Konstantin: I am very glad that I found this thread. For a week I have been struggling with this problem. If this is a new problem, please start a new thread. I have Tomcat7 running. My application which was running just fine under Tomcat5 does not

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
I am not using a local app context and everything I've seen recommends NOT using antijarlocking in production settings. Thx, bob -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, October 20, 2011 5:53 PM To: Tomcat Users List Subject: Re: JAR locked in Tomcat after

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Caldarale, Charles R
From: Bob DeRemer [mailto:bob.dere...@thingworx.com] Subject: RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp I am not using a local app context and everything I've seen recommends NOT using antijarlocking in production settings. Yes, except for the

Tomcat application startup - Lifecycleexception

2011-10-20 Thread ramsri
I have been struggling for a week now getting my application deployed on Tomcat 7. I am unable to make much progress with it and request your help. I am not very good with Tomcat. So please bear with me and request details in your solution. I can see this site being very informative. I have

Re: Tomcat application startup - Lifecycleexception

2011-10-20 Thread Pid
On 20/10/2011 23:27, ramsri wrote: I have been struggling for a week now getting my application deployed on Tomcat 7. I am unable to make much progress with it and request your help. I am not very good with Tomcat. So please bear with me and request details in your solution. I can see this

Re: control of session timed out with tomcat

2011-10-20 Thread Tim Watts
On Thu, 2011-10-20 at 16:44 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 10/20/2011 10:15 AM, Tim Watts wrote: I should also point out that this approach is somewhat kludgey because of the inherent latency problems when the session is close

Re: Tomcat application startup - Lifecycleexception

2011-10-20 Thread ramsri
Thanks for a prompt reply. I had done that clean install before. Anyway got to a clean install situation and I still got the same error. So, I looked into my web.xml under $CATALINA_HOME/webapps/myapp/WEB-INF and there I found a reference to a servlet-name 'Invoker'. I had read about this

RE: Tomcat application startup - Lifecycleexception

2011-10-20 Thread Caldarale, Charles R
From: ramsri [mailto:ramfi...@yahoo.com] Subject: Re: Tomcat application startup - Lifecycleexception I looked into my web.xml under $CATALINA_HOME/webapps/myapp/WEB-INF and there I found a reference to a servlet-name 'Invoker'. I had read about this somewhere. In this day and age, using

RE: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Bob DeRemer
While I can appreciate the desire to never use Windows, that isn't reality in many of the industries that use our product, so running Tomcat on windows can't be considered an oddity or edge case. If it is, we better look for another app server. With regard to finding a solution, I'll try the