What a wonderfull world ..

2006-12-30 Thread Vijay Hatewar
WHAT A WONDERFUL WORLD I see trees of green, red roses too I see them bloom for me and you And I think to myself, what a wonderful world I see skies of blue and clouds of white The bright blessed day, the dark sacred night And I think to myself, what a wonderful world The colours of the

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Peter Coppens
I am gathering more evidence that this is related to a session expiring on one hand and a request being processed for that same session. I have been debugging the tomcat code a bit, and I have the *impression* that the expiration handling is not thread safe. It seems possible at first sight that

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Leon Rosenberg
On 12/30/06, Peter Coppens [EMAIL PROTECTED] wrote: I am gathering more evidence that this is related to a session expiring on one hand and a request being processed for that same session. I have been debugging the tomcat code a bit, and I have the *impression* that the expiration handling is

[OT] Will you install VISTA?

2006-12-30 Thread Leon Rosenberg
Hi, I don't want to start a flame war on microsoft or something, but I stubbled on this article and was quite shocked what vista really is... Maybe you will be shocked as well, maybe you don't care, but it's worth reading anyway :-) http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt

Re: [OT] Will you install VISTA?

2006-12-30 Thread Martin Gainty
Is'nt this the OS that walks on water? Thanks Leon, M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that

Re: [OT] Will you install VISTA?

2006-12-30 Thread Dima Retov
Linux has chance to become top platform for watching and coping pirate HD-DVD :) I guess there would be Ubuntu Media Edition soon or Mubuntu. Happy New Year! Saturday, December 30, 2006, 4:02:48 PM, you wrote: LR Hi, LR I don't want to start a flame war on microsoft or something, but I LR

Re: [OT] Will you install VISTA? (NO, I keep my W2K)

2006-12-30 Thread David Tonhofer
Hi, I don't want to start a flame war on microsoft or something, but I stubbled on this article and was quite shocked what vista really is... Maybe you will be shocked as well, maybe you don't care, but it's worth reading anyway :-) http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt

Re: error-page http status 408

2006-12-30 Thread rg
Nope, my server is only running Tomcat. There is nothing else involved. -rg On 12/30/06, Mark Thomas [EMAIL PROTECTED] wrote: rg wrote: I am using Tomcat 5.5.17 on Windows. I have a problem setting a 408 error-page in my web.xml on form based authentication. Random thought. Are you using

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Peter Coppens
Actually it just seems to be related to the fact that under heavy load the db connection starts to take longer than the timeout. Apparently, a call to request.getSession() somewhere in the middel of the doGet processing will also trigger invalidating the session, which is kind of a nuisance as

RE: How can JSPs be part of an integrated component?

2006-12-30 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: How can JSPs be part of an integrated component? Sure, that works if you're banking on Tomcat as your deployment target, but the classes that you've compiled and hardwired (there many lines of hardwiring in the admin web.xml)

Re: How can JSPs be part of an integrated component?

2006-12-30 Thread Lee Crawford
It's not the web.xml that's specific to Tomcat, it's the compiled JSP classes (to be frank other JSP compilers might select totally different filenames rendering the web.xml specific to Tomcat too). Have a look at the .class files that are in the catalina-admin.jar. The classes look like:

How to run tomcat service in JDK6?

2006-12-30 Thread kkus
I first downloaded windows service installer of 5.5.20 and can't get it work, then I switched to zip file version. Reason is I checked doc for how-to and it indicated service.bat which can only be found in zip version. I followed how-to and ran service.bat install, which was successful based on

RE: How can JSPs be part of an integrated component?

2006-12-30 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: How can JSPs be part of an integrated component? public final class banner_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent Jasper is not Tomcat-specific - it's

RE: run service in jdk 6

2006-12-30 Thread Caldarale, Charles R
From: kkus [mailto:[EMAIL PROTECTED] Subject: How to run tomcat service in JDK6? Double-posting won't improve your chances of getting an answer, but it will annoy people. Has anyone used JDK 6 for 5.5.20? Any idea? I'm using it right now, with no problems. However, the JDK is installed in

RE: run service in jdk 6

2006-12-30 Thread Dhaval Patel
I just installed 5.5.20 with JDK 1.6.0 on Windows XP. Run smooth as service. No problem at all. Following is my configuration: (1) Install java in c:\jdk1.6.0. Also set JAVA_HOME (2) While installing tomcat, it detected jre from c:\Program Files\Java\jre1.6.0 and installed Tomcat in

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Leon Rosenberg
On 12/30/06, Peter Coppens [EMAIL PROTECTED] wrote: Actually it just seems to be related to the fact that under heavy load the db connection starts to take longer than the timeout. Thats a lot. What is your timeout configured to? Apparently, a call to request.getSession() somewhere in the

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread David Smith
Hmm... I can see two senarios that can cause this situation: 1. Your sessions are configured to be way too short. I'd recommend at sessions live at least until the request times out. 2. You have a reference to the session in a servlet instance -- either directly or indirectly.

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Peter Coppens
Thanks for the suggestions. I have been playing with the timeouts to trigger the problem. Typically I would like to have them around 15minutesand yes that is apparently not sufficient for the load test I am doing. The setup is three machines. One with tomcat running that connects to a 2nd

Re: What a wonderfull world ..

2006-12-30 Thread Almir Kazazic
thanks On 12/30/06, Vijay Hatewar [EMAIL PROTECTED] wrote: WHAT A WONDERFUL WORLD I see trees of green, red roses too I see them bloom for me and you And I think to myself, what a wonderful world I see skies of blue and clouds of white The bright blessed day, the dark sacred night And I

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Hassan Schroeder
On 12/30/06, Peter Coppens [EMAIL PROTECTED] wrote: That said, I am baffled by the fact that some connections take 15minutes. Are you referring to MySQL connection setup time? Or query time? Either way, it certainly doesn't sound like a Tomcat problem... :-) -- Hassan Schroeder

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Peter Coppens
Are you referring to MySQL connection setup time? Or query time? Connection time (using a dbcp pool) Either way, it certainly doesn't sound like a Tomcat problem... :-) Absolutely agree. -- View this message in context:

Re: Multi processor issue

2006-12-30 Thread Mark Thomas
Mark Thomas wrote: I plan to look at modifying the current RD code over the holiday. In 5.5.21 onwards, the RD will be thread safe so the OP's code should work without modification. Mark - To start a new topic, e-mail:

Re: What a wonderfull world ..

2006-12-30 Thread Martin Gainty
Im still waiting for the usual insults from chuck..then again maybe he took the day off.. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed

Re: What a wonderfull world ..

2006-12-30 Thread Mark Thomas
Martin Gainty wrote: Im still waiting for the usual insults from chuck..then again maybe he took the day off.. Martin, This sort of comment is completely out of line. There is no justification whatsoever for your behaviour on this thread. I expect to see a public apology on this thread from

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Martin Gainty
Also be aware of the distinction between Request.getSession(true) and Request.getSession(false) where Request.getSession(true) will attempt to create a new session (if none exists) Request.getSession(false) will NOT create a new session (perhaps you should use option 2) Also which mechanism are

Not quite a tomcat question

2006-12-30 Thread EDMOND KEMOKAI
Happy New Year All. Does anyone use sessions to temporarily hold confirmation codes for user registrations? I have a setup where when the user registers a random confirmation code is generated and appended to a url which is emailed to the user. The user's registration data is stored in a session

controling resource and cpu hogging

2006-12-30 Thread hanasaki
We have several domains that each have several WAR files deployed. How can misbehaving deployed WAR's be identified and 1. killed off (maybe an issue if they hold onto threads or instance references when undeploy or stop is called) 2. be controlled (ie: throttle/cap a specific domain and/or WAR

Re: What a wonderfull world ..

2006-12-30 Thread Bill Barker
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Gainty wrote: Im still waiting for the usual insults from chuck..then again maybe he took the day off.. Martin, This sort of comment is completely out of line. There is no justification whatsoever for your

Re: What a wonderfull world ..

2006-12-30 Thread David Smith
Frack, after all Chuck started it. Get a life, and let these two little kiddies get on with their mud fight. Who started what is debatable but there's no need to continue it -- or invite it as is the case here. --David Bill Barker wrote: Mark Thomas [EMAIL PROTECTED] wrote in