Re: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Rainer Jung
On 10.08.2011 18:59, Christopher Schultz wrote: > Alexander, > > On 8/10/2011 8:12 AM, Alexander Diedler wrote: >> my uriworkermap.properties /manager=worker1 > > Mapped /manager > >> /manager/*=worker1 /docs=worker1 /*=worker1 /go/*=worker1 >> /go=worker1 /show/*=worker1 > >> # Mapping all UR

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
> We use apache http in-front of tomcat. This allows us to do exactly this. We > route calls from apache through to tomcat normally using mod_jk, and then > when we want to perform an upgrade, we update apache config, graceful > restart of apache, and apache routes all traffic to holding page. This

Re: "-d64" disappears from command line in "ps" output?

2011-08-10 Thread Mark Eggers
- Original Message - > From: Bill Davidson > To: Tomcat Users List > Cc: > Sent: Wednesday, August 10, 2011 1:59 PM > Subject: "-d64" disappears from command line in "ps" output? > > RedHat 5.6 64-bit > "java -version" output: >     java version "1.6.0_20" >     Java(TM) SE Runtime Env

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread chris derham
>>> I want to use parallel deployment as an easy way to allow existing > >>> sessions to continue while redirecting new sessions to a "down for > >>> temp maintenance page." > We use apache http in-front of tomcat. This allows us to do exactly this. We route calls from apache through to tomcat no

Re: "-d64" disappears from command line in "ps" output?

2011-08-10 Thread Bill Davidson
On 8/10/2011 2:57 PM, Caldarale, Charles R wrote: 1) In what way does this concern Tomcat? I wasn't sure if it had something to do with the way it was launched. 2) Documentation for -d64 with a standard launcher seems to indicate it's only applicable for Solaris (although some other tools lo

Re: TC 6.0.20 Cleanup after application crash

2011-08-10 Thread Mark Eggers
- Original Message - > From: Dante Bell > To: Tomcat Users List > Cc: Christopher Schultz > Sent: Wednesday, August 10, 2011 11:26 AM > Subject: Re: TC 6.0.20 Cleanup after application crash > > Hi Chris, > > I did indeed read and digest Mark's email and talked to the vendor about > t

RE: "-d64" disappears from command line in "ps" output?

2011-08-10 Thread Caldarale, Charles R
> From: Bill Davidson [mailto:bill...@gmail.com] > Subject: "-d64" disappears from command line in "ps" output? > RedHat 5.6 64-bit > "java -version" output: > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) > Tomcat: 6.0.26 > The "-d64" option seems to be removed from the "ps" >

Re: Application error after move of site

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 8/8/2011 8:46 AM, Dave Filchak wrote: > I had to switch hosts and one of the sites that I inherited is a > tomcat site. After the move most of the site is fine but on a number > of links, I get the following error: > > Error reading properti

Re: getScheme

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/9/2011 3:08 PM, Mohit Anchlia wrote: > tomcat docs for connectors say: > > scheme: This sets the protocol name as accessed by the > ServletRequest.getScheme method. The scheme defaults to http. > > Is there any other way scheme can be c

"-d64" disappears from command line in "ps" output?

2011-08-10 Thread Bill Davidson
RedHat 5.6 64-bit "java -version" output: java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) Tomcat: 6.0.26 The "-d64" option seems to be removed from the "ps" command line arguments: I added a "

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Pid
On 10/08/2011 21:15, Jonathan Rosenberg wrote: >>> I want to use parallel deployment as an easy way to allow existing >>> sessions to continue while redirecting new sessions to a "down for >>> temp maintenance page." > >> Why not just upload a new .war (with the newest version) which only >> displ

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
>> I want to use parallel deployment as an easy way to allow existing >> sessions to continue while redirecting new sessions to a "down for >> temp maintenance page." > Why not just upload a new .war (with the newest version) which only > displays that page? I could do that. But if I can use the

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Pid
On 10/08/2011 19:55, Jonathan Rosenberg wrote: > Quick answer: I want to have my Grails app determine at runtime which > version it was deployed as (bad English, I know). > > Longer answer: > > I want to use parallel deployment as an easy way to allow existing > sessions to continue while redirec

Re: TC 6.0.20 Cleanup after application crash

2011-08-10 Thread Pid
On 10/08/2011 19:26, Dante Bell wrote: > after 15 minutes it starts serving up db responses! Sounds a bit like an OutOfMemoryError, which is not uncommon during load tests. If the 'customised' load tester is a bit rough around edges, what are you really testing? p -

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
I suspect I can do it like this: "If session information is present in the request, check the session manager of each version for a matching session and if one is found, use that version." -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
Quick answer: I want to have my Grails app determine at runtime which version it was deployed as (bad English, I know). Longer answer: I want to use parallel deployment as an easy way to allow existing sessions to continue while redirecting new sessions to a "down for temp maintenance page." My

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Mark Thomas
On 10/08/2011 19:41, Jonathan Rosenberg wrote: > Looking at some of my session ids & doing some searching online did > not turn up any useful info on format of session id (& where context > version is). > > Can you point me at something? Sorry, my bad - that was an earlier version of the code tha

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
Looking at some of my session ids & doing some searching online did not turn up any useful info on format of session id (& where context version is). Can you point me at something? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On W

Re: TC 6.0.20 Cleanup after application crash

2011-08-10 Thread Dante Bell
Hi Chris, I did indeed read and digest Mark's email and talked to the vendor about that issue. The stack trace on the old blog post is from the one Mark was helping out with (man, that was a really bad sentance!). This is a different issue :( I don't have a stack trace and I don't have access to

Re: AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 8/10/2011 8:12 AM, Alexander Diedler wrote: > my uriworkermap.properties /manager=worker1 Mapped /manager > /manager/*=worker1 /docs=worker1 /*=worker1 /go/*=worker1 > /go=worker1 /show/*=worker1 > > # Mapping all URI which end with

Re: TC 6.0.20 Cleanup after application crash

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dante, On 8/10/2011 11:57 AM, Dante Bell wrote: > We are seeing that after an application crash (customized load > tester with minimal error handling so it crashes often) When you say "crash", do you mean you get a stack trace in the logs and Tomcat

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Mark Thomas
On 10/08/2011 17:37, Jonathan Rosenberg wrote: > I'm using Tomcat 7+. How can I get the context version #? I.e., if app Is > being run as app##124, I want 124. The simplest way will be to parse the session ID. Mark - To unsub

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 8/9/2011 4:49 PM, Rainer Jung wrote: > On 09.08.2011 20:45, Lataxes, Karl wrote: >> Our clients cannot send or process JSESSIONIDs as they are not web >> browsers, but proprietary equipment running embedded software that >> sends HTTP POS

Parallel Deployment: Get Context Version #

2011-08-10 Thread Jonathan Rosenberg
I'm using Tomcat 7+. How can I get the context version #? I.e., if app Is being run as app##124, I want 124. -- JR

Re: Adding two-factor authentication to a Tomcat app??

2011-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sodastream, On 8/9/2011 3:52 PM, sodastream wrote: > The app handles its own authentication via a conventional > username/password form on a login page. I wanted to add a second > factor to the authentication without modifying the app (except for > it

AW: AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Alexander Diedler
YES, this works! I have to define the virtual host in die uriworkermap.properties. Best regards Alexander Diedler -Ursprüngliche Nachricht- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Mittwoch, 10. August 2011 16:03 An: Tomcat Users List Betreff: Re: AW: Multiple Tomcat Server

Re: AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread André Warnier
Erratum: I meant in the section "Virtual host integration - IIS" André Warnier wrote: Apart from the stuff below, it looks as if you'll have to use (for uriworkermap.properties), the form that is mentioned here : http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html in the sectio

Re: AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread André Warnier
Apart from the stuff below, it looks as if you'll have to use (for uriworkermap.properties), the form that is mentioned here : http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html in the section "IIS" (at least if I understand correctly what you are trying to do, and how this wo

Re: AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread André Warnier
There is something else wrong in your server.xml. It is not the cause of the problem, but it is confusing, so it's better to correct these issues right now. I) > Server.xml from TC 6.0 > > > > >SiteA.xxx.de a) If in the Engine, you have : defaultHost="localhost" then you should

AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Alexander Diedler
Sorry, One mistake in the server.xml conf below, I correct them. -Ursprüngliche Nachricht- Von: Alexander Diedler Gesendet: Mittwoch, 10. August 2011 14:10 An: 'Tomcat Users List'; 'Tomcat Users List' Betreff: AW: Multiple Tomcat Servers connect to IIS Hello, Yes, but we do not map singl

AW: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Alexander Diedler
Hello, Yes, but we do not map single Apps like /app1 /app2 ,,.. every App has it own Host in server.xml and conf/Catalina My new Worker.properties: worker.list=worker1,worker2 #Tomcat 6.0.32 worker.worker1.host=localhost worker.worker1.port=8009 worker.worker1.type=ajp13 #Tomcat 7.0.19 worker.wo

[ANN] End of life for Apache Tomcat 5.5.x

2011-08-10 Thread Mark Thomas
The Apache Tomcat team announces that support for Apache Tomcat 5.5.x will end on 30 September 2012. This means that after 30 September 2012: - releases from the 5.5.x branch are highly unlikely - bugs affecting only the 5.5.x branch will not be addressed - security vulnerability reports will not

Re: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread André Warnier
Alexander Diedler wrote: Hello, I know the way to conenct a single Tomcat to an IIS in Windows 2003 with isapi_redirect.dll, worker.properties and uriworkermap.properties. But, how we can connect two different Tomcats (e.g. Tomcat 6.0.32 and 7.0.19) to Websites in the same IIS ? For isapi_re

Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Alexander Diedler
Hello, I know the way to conenct a single Tomcat to an IIS in Windows 2003 with isapi_redirect.dll, worker.properties and uriworkermap.properties. But, how we can connect two different Tomcats (e.g. Tomcat 6.0.32 and 7.0.19) to Websites in the same IIS ? Best regards Alexander smime.p7s