Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-16 Thread André Warnier
Scott Bradshaw wrote: Yep - you are right on. The machine was taken off the network and moved to a test network for a few days. It currently does not resolve. If I change the host to its old IP address (which does not respond), the system starts up just fine. I would expect to see an error in

Re: Apache Tomcat 6.0.18 - download info

2009-04-16 Thread Pid
HASSAN Kamrul wrote: Thank you for quick responses. I need to upgrade to Apache Tomcat 6.0.18 for Windows XP. So, I would back up a copy of tomcat/conf tomcat/bin/catalina.bat Please let me know where I can get download for Apache Tomcat 6.0.18 [ Windows XP] You're kidding right?

tomcat hangs on shutdown

2009-04-16 Thread shaharV
Hi everybody, I am using tomcat 6.0.18 from eclipse 3.4, on windows xp 32 bit. I am experiencing a server hung whenever i try to gracefully shutdown the server. i am attaching the tomcat log and the stack trace taken at the hanging. i would appreciate any help! thanks you! shahar

Help Needed with getting Client Authentication Working With Tomcat 5.5

2009-04-16 Thread Ron Perkins
I am trying to get Client Authentication working with Tomcat 5.5, I have successfully got SSL working without Client Authentication. This is what I have done so far. Created a keystore with new certificate: keytool -genkey -alias mykey -keyalg RSA -kaypass changeit -keystore keystore.jks

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Gregor Schneider
Hi Mark, - I think an overview of thenew features of Tomcat 7 would be great - Fillip did a talk about the new Servlet Specs 3.0 - Concerning how often questions regarding mod_jk are showing up in the list: mod_jk - HowTo / Best practices - I very much liked the talk becoming a tomcat

Re: tomcat hangs on shutdown

2009-04-16 Thread Mark Thomas
shaharV wrote: Hi everybody, I am using tomcat 6.0.18 from eclipse 3.4, on windows xp 32 bit. I am experiencing a server hung whenever i try to gracefully shutdown the server. i am attaching the tomcat log and the stack trace taken at the hanging. i would appreciate any help! You have

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Mark Thomas
Mark Thomas wrote: Please feel free to pitch in with your suggestions on this thread and comment on suggestions made by other people. The more involved the community gets, the better the outcome is likely to be. I was at a conference recently and rather rashly made the statement OOM PermGen

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Mark Thomas
Gregor Schneider wrote: Hi Mark, - I think an overview of thenew features of Tomcat 7 would be great Mladen was talking about presenting a Tomcat community overview I'll let him give some more details on that. - Fillip did a talk about the new Servlet Specs 3.0 I think he included that in

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Ken Bowen
+1. Probably won't be able to attend, but slides would certainly help. On Apr 16, 2009, at 6:51 AM, Mark Thomas wrote: Mark Thomas wrote: Please feel free to pitch in with your suggestions on this thread and comment on suggestions made by other people. The more involved the community gets,

RE: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] How about a session like : Everything you always wanted to know about connecting Apache httpd and Tomcat, but never dared to ask To be given jointly by Apache httpd AND Tomcat experts. - when do you need to do that, and when do you not really

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread André Warnier
Mark Thomas wrote: [...] How about a session like : Everything you always wanted to know about connecting Apache httpd and Tomcat, but never dared to ask To be given jointly by Apache httpd AND Tomcat experts. - when do you need to do that, and when do you not really need it - assuming you

RE: Apache Tomcat 6.0.18 - download info

2009-04-16 Thread Caldarale, Charles R
From: HASSAN Kamrul [mailto:kamrul.has...@alcatel-lucent.com] Subject: Apache Tomcat 6.0.18 - download info So, I would back up a copy of tomcat/conf tomcat/bin/catalina.bat If you're upgrading, DO NOT blindly copy anything in the conf or bin directories from the older version to the new;

RE: how to configure a PKCS#11 keysore and use it with Tomcat for SSLenabling

2009-04-16 Thread Caldarale, Charles R
From: Rajat Gupta05 [mailto:rajat_gupt...@infosys.com] Subject: how to configure a PKCS#11 keysore and use it with Tomcat for SSLenabling http://www.catb.org/~esr/faqs/smart-questions.html At a bare minimum, tell us the Tomcat version you're using, the JRE/JDK it's running on, and whether or

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Gregor Schneider
Hi André, On Thu, Apr 16, 2009 at 1:15 PM, André Warnier a...@ice-sa.com wrote: Mark Thomas wrote: [...] How about a session like : Everything you always wanted to know about connecting Apache httpd and Tomcat, but never dared to ask yepp, and Woody Allen as the presenter ;) If you can't

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Gregor Schneider
Hi Mark, On Thu, Apr 16, 2009 at 12:44 PM, Mark Thomas ma...@apache.org wrote: The conference organisers took copies of our slides and promised us they would upload them for us. Oh well. I uploaded mine myself. I'll see if Filip can do the same. well, on some talks the guys having the chair

OCI and Realm Problem

2009-04-16 Thread Andrea De Gaetano
Hi, I'm having some problem setting up Realm with OCI. I have a new Tomcat enviroment, clean, with only one application installed. This application use JDBCRealm with Oracle driver for jdbc for authentication and it display simple jsp page containing text messagges. Everything works with the

DEPLOY ON STARTUP

2009-04-16 Thread Joan Ventus Proxy
Hello, I'm working with Tomcat 6.0.16. Is there any way to avoid tomcat deploys war files when starting? In my host I've set autoDeploy to false and deployOnStartup to false, but when Tomcat starts, it deploys my wars. Thanks in advance, Joan.

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Rainer Jung
On 16.04.2009 12:44, Mark Thomas wrote: Gregor Schneider wrote: - Concerning how often questions regarding mod_jk are showing up in the list: mod_jk - HowTo / Best practices Any takers for presenting this? Not sure, whether this is too specific for ApacheCon, but yes, if there is interest, I

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-16 Thread Scott Bradshaw
Still continuing to guess.. This is about efficiency. If mod_jk had to do a DNS lookup each time it wants to send a packet to a backend Tomcat (or at least each time it wants to create a new connection to a backend Tomcat), that would be very inefficient. So, instead, mod_jk stores the IP

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Mark Thomas
Rainer Jung wrote: On 16.04.2009 12:44, Mark Thomas wrote: Gregor Schneider wrote: - Concerning how often questions regarding mod_jk are showing up in the list: mod_jk - HowTo / Best practices Any takers for presenting this? Not sure, whether this is too specific for ApacheCon, but yes, if

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-16 Thread Rainer Jung
On 16.04.2009 17:55, Scott Bradshaw wrote: Still continuing to guess.. This is about efficiency. If mod_jk had to do a DNS lookup each time it wants to send a packet to a backend Tomcat (or at least each time it wants to create a new connection to a backend Tomcat), that would be very

RE: DEPLOY ON STARTUP

2009-04-16 Thread Caldarale, Charles R
From: Joan Ventus Proxy [mailto:joan.balagu...@ventusproxy.com] Subject: DEPLOY ON STARTUP I'm working with Tomcat 6.0.16. Is there any way to avoid tomcat deploys war files when starting? In my host I've set autoDeploy to false and deployOnStartup to false, but when Tomcat starts, it

RE: DEPLOY ON STARTUP

2009-04-16 Thread Joan Ventus Proxy
Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). I attach my server.xml. Thanks, Joan. -Mensaje original- De: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Enviado el: jueves, 16 de abril de 2009 18:28

RE: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past)

2009-04-16 Thread Caldarale, Charles R
From: Leonard Gestrin [mailto:leonard.gest...@markettools.com] Subject: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past) After a while, the same response object is being used by

Re: DEPLOY ON STARTUP

2009-04-16 Thread Mark Thomas
Joan Ventus Proxy wrote: Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. Mark

RE: DEPLOY ON STARTUP

2009-04-16 Thread Joan Ventus Proxy
Hello, What does 'discovered' by Tomcat mean? Those contexts located in conf/Catalina/hostname, with the associated xml? Joan. -Mensaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: jueves, 16 de abril de 2009 18:50 Para: Tomcat Users List Asunto: Re: DEPLOY ON

Re: mod_jk ping_timeout revisit

2009-04-16 Thread Rainer Jung
Hi Anthony, On 16.04.2009 01:49, Anthony J. Biacco wrote: A month or so ago I posted that I was having problems with mod_jk (1.2.27) getting a pong response back from tomcat (6.0.18) in responses to a ping. Apache is 2.2.11 with worker mpm. I have a little more information now and am hoping

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread André Warnier
Mark Thomas wrote: Rainer Jung wrote: On 16.04.2009 12:44, Mark Thomas wrote: Gregor Schneider wrote: - Concerning how often questions regarding mod_jk are showing up in the list: mod_jk - HowTo / Best practices Any takers for presenting this? Not sure, whether this is too specific for

Re: DEPLOY ON STARTUP

2009-04-16 Thread Mark Thomas
Joan Ventus Proxy wrote: Hello, What does 'discovered' by Tomcat mean? Anything found by the autodeployment process as per the docs. Mark Those contexts located in conf/Catalina/hostname, with the associated xml? Joan. -Mensaje original- De: Mark Thomas

RE: DEPLOY ON STARTUP

2009-04-16 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: DEPLOY ON STARTUP Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. With both autoDeploy and deployOnStartup disabled and no Context elements in

RE: What Tomcat presentations / demos / discussions do you want tosee at ApacheCon US 2009?

2009-04-16 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: What Tomcat presentations / demos / discussions do you want tosee at ApacheCon US 2009? Although if someone suggested that I participate as moderator to the session, and offered to pay my travel expenses, I might possibly find a

Re: DEPLOY ON STARTUP

2009-04-16 Thread Mark Thomas
Caldarale, Charles R wrote: From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: DEPLOY ON STARTUP Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. With both autoDeploy and deployOnStartup disabled

RE: request.getSession() generates IllegalStateException in top filter(appears, response not being recycled properly if SocketException happenedfor it in the past)

2009-04-16 Thread Leonard Gestrin
Hi Chuck, I downloaded tomcat 6.0.18 and the problem still happens. The filter is not on the path to servlet that generates image; The problem with response being already committed happens in various places (in filter and in graph servlet itself on the subsequent calls). I can see that only

what can Tomcat be doing that a profiler can't see?

2009-04-16 Thread dukehoops
In brief: I am load-testing an app running on Tomcat 6 NIO and am observing a big discrepancy between avg request latency as reported by JMeter (660ms) and the profiler (19ms). I would like to understand where is the delta being spent. In detail I have two windows boxes on the same subnet of a

Cookies and values with ':' in them

2009-04-16 Thread Andre-John Mas
Hi, The company I am working for is in the process of migrating from Tomcat 5.x.x to Tomcat5.5.27. In doing so we noticed that the any cookie value containing a colon will have the value trimmed up to before that character. This is new. A work around is to add quotes around the value,

Re: Cookies and values with ':' in them

2009-04-16 Thread Mark Thomas
Andre-John Mas wrote: Hi, The company I am working for is in the process of migrating from Tomcat 5.x.x to Tomcat5.5.27. In doing so we noticed that the any cookie value containing a colon will have the value trimmed up to before that character. This is new. A work around is to add quotes

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Steve Yates
Mark Thomas wrote: Folks, The next ApacheCon (in Oakland, CA, USA - Nov 2 to 6 2009) is being organised a little differently. Each project is being given the opportunity suggest a possible conference track based on that project. As part of this process we have a week to put together the

Re: Cookies and values with ':' in them

2009-04-16 Thread Andre-John Mas
On 16-Apr-2009, at 17:08, Mark Thomas wrote: Using a ':' in a v0 cookie is not legal. You have to use a v1 cookie which is as simple as using: cookie.setVersion(1); 5.5.28 will (hopefully - if it gets enough votes) an feature (enabled by default) to automatically switch invalid v0 cookies

Re: Cookies and values with ':' in them

2009-04-16 Thread Mark Thomas
Andre-John Mas wrote: On 16-Apr-2009, at 17:08, Mark Thomas wrote: Using a ':' in a v0 cookie is not legal. You have to use a v1 cookie which is as simple as using: cookie.setVersion(1); 5.5.28 will (hopefully - if it gets enough votes) an feature (enabled by default) to automatically

RE: mod_jk ping_timeout revisit

2009-04-16 Thread Anthony J. Biacco
Rainer thanx for the input, comments below. On 16.04.2009 01:49, Anthony J. Biacco wrote: A month or so ago I posted that I was having problems with mod_jk (1.2.27) getting a pong response back from tomcat (6.0.18) in responses to a ping. Apache is 2.2.11 with worker mpm. I have a

Sharing an abandoned connection pool help

2009-04-16 Thread Douglas Miller
Hi everyone I have several web apps that are getting info from a database under the same username. I had it set up with a context in each app. However I have a limit on the number of connection I am allowed to have and I run into an issue with one app dominating the pool. For example, I

Re: Need to share JVM for both tomcat and RMI server

2009-04-16 Thread siranjeevi krishnan
Hi Jorge Thanks for your reply. I used Bootstrap.start() in my code to start tomcat. But i get the following exception in the spring frame work. ERROR 04/16 11:06:58 Stderr 700100 Apr 16, 2009 11:06:58 AM org.apache.catalina.core.ApplicationContext log INFO: Loading Spring root