Re: Tomcat sessions in profiler

2008-06-02 Thread dhay
This is internal so no spiders, and no monitoring on it. Nothing in the logs either... cheers, David "Hassan Schroeder" <[EMAIL PROTECTED]> 06/02/2008 03:21 PM Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: Tomcat sessions in profiler On Mon, Jun 2,

Tomcat sessions in profiler

2008-06-02 Thread dhay
We've had some performance issues with tomcat, and stuck it in JProfiler, and seen something strange. We load our portal page and then log out. After a while, new StandardSessions appear in the profiler! Does Tomcat use sessions for some internal stuff? Any other ideas? It's hard to tell in

RE: Tomcat suddenly dies without a whisper

2008-05-15 Thread dhay
Yep, we've trauled through them, and not found anything that corresponds to when tomcat dies. cheers, David "Caldarale, Charles R" <[EMAIL PROTECTED]> 05/16/2008 12:25 AM Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject RE: Tomcat suddenly dies without a whisper

RE: Tomcat suddenly dies without a whisper

2008-05-15 Thread dhay
Hi, Sorry - didn't mean to be confusing. We are indeed running in a virtualized environment, and the OS of the image we are running on is 64 bit Windows Server 2003. The JVM on that image is Java 6. >Have you checked *all* of the Tomcat logs? Are you perhaps getting a >normal shutdown? Yes,

RE: Tomcat suddenly dies without a whisper

2008-05-15 Thread dhay
Hi Chuck, I did see reference to that OOM killer, but the VM we are running on is 64 bit Windows. I was referring to the heap memory usage. any suggestions on where else to look? cheers, David x54680 "Caldarale, Charles R" <[EMAIL PROTECTED]> 05/15/2008 11:53 PM Please respond to "Tomcat

Tomcat suddenly dies without a whisper

2008-05-15 Thread dhay
Hi, We are running Tomcat 5.5 on a powerful VM Server. MS Sql Server is also on the VM. It is fronted by an apache web server on another box. When under load (heavy but not excessive) we suddenly find tomcat dies, without any error messages we can find. Memory looks good. We are a little pe

Testing performance and scalability

2008-05-14 Thread dhay
We are developing a website that will likely be hit by up to half a million users. Our first concern is obviously performance and scalability, but am wondering how best to test this? Most stress tools I've see only simulate in the order of a thousand users. Would be grateful for suggestions..

session.getMaxInactiveInterval() always returns default?

2008-05-09 Thread dhay
Sorry - wrong title obviously... cheers, David [EMAIL PROTECTED] 05/09/2008 08:35 PM Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: JSF implementation selection We are running Tomcat 5.5 using the SSO Valve. We are hitting a strange situation, however,

Re: JSF implementation selection

2008-05-09 Thread dhay
We are running Tomcat 5.5 using the SSO Valve. We are hitting a strange situation, however, if we set the session timeout on our context to be less than the default 30 minutes eg 5 mins. The valve has the following check: if (((session.getMaxInactiveInterval() > 0) && (System.currentTimeMillis(

503 under load

2008-05-07 Thread dhay
Hi, We've started to stress test a new website, and are seeing 503's interspersed when we are under load. We are running Apache - Tomcat combination. Could someone give me an idea of what can cause this, and where to start looking? cheers, David

servlet url-pattern and subdirectories problem

2007-05-22 Thread dhay
Hi, We're using Spring-MVC and we're trying to set up 2 "apps" in a single web app... Our main app is under .../mainapp url, and then we have another series of pages that can be accessed via ./mainapp/subapp. The subapp files are found in a "subapp" subdirectory in the mainapp webapp. Howeve

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi Martin, Thanks for the link... I'm actually running the tests against a remote installed tomcat, by poking it over http akin to HTTPUnit. However, I'm working on automating the remote install and uninstall too. I have it working, but am trying to figure out how to tell whether the install ha

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Thanks for the responses...I'll try the listener creating some kind of file I can check for the existence of - this is complicated by trying to do it remotely... A loop-on-fail in the first test would work...as long as my first test never breaks ;-) cheers, David

recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi, We're trying to automate our acceptance tests and performing a remote install first. However, we have no way to know when Tomcat has finished starting so the tests can run. Has anyone any suggestions on the best way to do this? We're using maven and JUnit. cheers, David

RE: Tomcat & Cobertura

2007-02-20 Thread dhay
Hi Chuck, Digging through the Cobertura code, it looks like it's making the following call: Runtime.getRuntime().addShutdownHook(new Thread(saveTimer)); it's run() method simply has the call to save the project data. This should be "guaranteed" to run (with the usual limitations of sudden

RE: Tomcat & Cobertura

2007-02-20 Thread dhay
Okso back to my original question! ;-) Any idea what's hidden in tomcat5.exe that is different from running startup.bat, and prevents Cobertura from recognizing when the server is shutdown? cheers, David x54680

RE: Tomcat & Cobertura

2007-02-20 Thread dhay
Thanks...any idea of what would cause this issue? cheers, David "Sheets, Jerald" <[EMAIL PROTECTED]

Fw: Tomcat & Cobertura

2007-02-20 Thread dhay
bump! Can anyone explain what are the differences between tomcat5.exe and startup.bat? cheers, David - Forwarded by David Hay/Lex/Lexmark on 02/20/2007 11:12 AM - [EMAIL PROTECTED]

Tomcat & Cobertura

2007-02-19 Thread dhay
Hi, We're trying to instrument a war file using Cobertura, and gather the coverage details when deployed and used under Tomcat. Below is a thread from the Cobertura list - I'm having problems when I run tomcat5.exe (which we use in our product) with the instrumented jar. In this mode, Cobertura

Does Tomcat 5.5's classloader handle "classpath*"

2006-08-01 Thread dhay
Hi, There is a mechanism in Spring to load all classpath resources that match a particular name using "classpath*:myfilename". Apparently various classloaders behave differently in this respect - see http://static.springframework.org/spring/docs/2.0.x/reference/resources.html#d0e5951 and http://

RE: Tomcat and Sun's Application server

2006-07-28 Thread dhay
Have you looked at Spring? J2EE without EJB (in most cases). Many are finding it a MUCH better solution... cheers, David |-+> | | "Jon Hoffman"| | | <[EMAIL PROTECTED]| | | ch.com> | |

RE: Tomcat Not An App Server

2006-07-13 Thread dhay
How do your webapps communicate with the core services? cheers, David |-+--> | | Mike Wannamaker| | | <[EMAIL PROTECTED]| | | ngbird.com>| | |

Re: Tomcat Not An App Server

2006-07-13 Thread dhay
I agree with you - an app server without EJB. And with Spring framework and the like, you rarely need EJB any more. But that might start a flame war!! ;-) cheers, David |-+--> | | Christopher Schultz| | | <[EMAIL PROTECT

Re: Alias' and the like

2006-07-12 Thread dhay
We have to be able to run on Windows, so won't be able to use symlink. I'm going to take a look at mod_rewrite suggested by Mladen. cheers, David x54680 |-+> | | "Martin Gainty" | | | <[EMAIL PROTECTED]| | |

Alias' and the like

2006-07-12 Thread dhay
Bump! Would really appreciate some help on this one... cheers, David - Forwarded by David Hay/Lex/Lexmark on 12/07/2006 13:29 - |-+> | | [EMAIL PROTECTED] | | || | | 11/07/2006 13

Alias' and the like

2006-07-11 Thread dhay
Hi, We're running Apache in front of multiple tomcats with mod_jk. We have an admin app that we'd like to access using a different URL from other server connections, and I am looking for advice on the best way to do this. We will have the single web app, but need to access parts of it from:

Re: Problem referencing webapp with different context name

2006-06-27 Thread dhay
Thanks for the quick reply. Sorry - typo in previous email (name/path should have read path/docBase!). I actually did try renaming mywebapp.xml to differentName.xml, but got errors saying it couldn't find ...\webapps\differentName. So now I have differentName.xml, containing but I get t

Problem referencing webapp with different context name

2006-06-27 Thread dhay
Hi, We install a webapp under tomcat\webapps\mywebapp by exploding the appropriately named war file. However, we need users to be able to reference it by typing in http://myserver/differentName. I tried adding a mywebapp.xml file under C:\jakarta-tomcat-5.5.12 \conf\Catalina\localhost with the c

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-16 Thread dhay
Hi Mark, > I have tested the following combination and it works quite happily: > Win XP SP2, fully patched > Apache 2.0.54 > mod_jk 1.2.14 > TC5.5.HEAD > Firefox client and IE6 client Have you tested your config with an swf file? I've got a pretty similar setup, and everything else works fine. >

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-15 Thread dhay
Have checked and can't see anything...do you know how to turn up logging to the maximum to really see what's going on? cheers, David x54680 |-+> | | Ryan McDonald| | | <[EMAIL PROTECTED]| | | brand.com

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-15 Thread dhay
Hi Mark, Yes, as I mentioned, we can access "non-swf files without a problem". We have exactly the same setup, I believe, for 2003 Server and XP Sp2 - it runs from the same installer, which has no checking to distinguish between the two. We also have Apache talking to Tomcat via mod_jk quite hap

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread dhay
I tried doing that before but got no response; but I'll happily try again. Everything works great on Windows 2003 Server. I have apache fronting numerous Tomcats, with mod_jk. We are using Laszlo, so the pages served up are actually swf files. On 2003 server we see no issues, but with Windows X

mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread dhay
Do I need to submit a bug report for this? cheers, David x54680 - Forwarded by David Hay/Lex/Lexmark on 11/14/2005 04:48 PM - |-+> | | David Hay| | || | | 10/28/2005 10:49

mod_jk bug serving up flash on non 2003 servers?

2005-10-28 Thread dhay
Hi, We're using mod_jk on Apache as a load-balancer for multiple tomcats. We're using Laszlo, so the app is serving up Flash pages. On 2003 Server, everything works great. However, installing on XP SP2 (haven't tested others) no pages are served up. Is this a known bug? Is there a workaround?