Pointing Multiple contexts to single webapp

2010-06-20 Thread Kishore Kumar Manthangod
I have a single webapp. But this has to be accessed from multiple contexts for example : http://localhost:8080/abc http://localhost:8080/cde http://localhost:8080/xyz I did this using having multiple context tags in the Host tag similar to the following

Cleartrust RSA integration

2010-06-20 Thread Ron McNulty
Hi All We are thinking of bringing some of our apps off proprietary J2EE servers to Tomcat. We would be deploying on Tomcat 6 (latest), JVM 1.6 and Linux on a VM (not sure of versions). One of the requirements is to authenticate using RSA Cleartrust. From my reading, Tomcat does not support

Re: Setting the Right Amount of Memory

2010-06-20 Thread André Warnier
Caldarale, Charles R wrote: On Jun 19, 2010, at 18:31, André Warnier a...@ice-sa.com wrote: As Mark writes above (and my interpretation of things) : - a bigger Heap means that the JVM will be able to accumulate more dead stuff in it, - when it is needed however, it will take much longer,

[OT] Re: Setting the Right Amount of Memory

2010-06-20 Thread André Warnier
Caldarale, Charles R wrote: (Sent from my iPhone on a ferry in the middle of Lake Michigan.) Posters to this forum, observe the incredible dedication of some of the contributors here. I'm willing to bet that if the ferry was sinking, Chuck would be the last one on board, making sure there

Re: Pointing Multiple contexts to single webapp

2010-06-20 Thread André Warnier
Kishore Kumar Manthangod wrote: I have a single webapp. But this has to be accessed from multiple contexts for example : http://localhost:8080/abc http://localhost:8080/cde http://localhost:8080/xyz Have a look at UrlRewriteFilter :

Re: Cleartrust RSA integration

2010-06-20 Thread André Warnier
Ron McNulty wrote: Hi All We are thinking of bringing some of our apps off proprietary J2EE servers to Tomcat. We would be deploying on Tomcat 6 (latest), JVM 1.6 and Linux on a VM (not sure of versions). One of the requirements is to authenticate using RSA Cleartrust. From my reading,

Re: [OT] Re: Setting the Right Amount of Memory

2010-06-20 Thread Pid
On 20/06/2010 10:25, André Warnier wrote: Caldarale, Charles R wrote: We would need some means of checking though. Some means of registering a check in, by location? Hmm. I wonder if anyone's had that idea before... ;) p

Re: Setting the Right Amount of Memory

2010-06-20 Thread Mark Thomas
On 20/06/2010 00:30, André Warnier wrote: Robinson, Eric wrote: On 17/06/2010 08:59, Robinson, Eric wrote: If your heap size is right on the edge of your minimum for a Tomcat instance, you may be doing more GC work than is really needed. However, if you're satisfied with the response time and

Re: Setting the Right Amount of Memory

2010-06-20 Thread Mark Thomas
On 20/06/2010 10:24, André Warnier wrote: Caldarale, Charles R wrote: On Jun 19, 2010, at 18:31, André Warnier a...@ice-sa.com wrote: As Mark writes above (and my interpretation of things) : - a bigger Heap means that the JVM will be able to accumulate more dead stuff in it, - when it is

Re: Setting the Right Amount of Memory

2010-06-20 Thread Caldarale, Charles R
On Jun 20, 2010, at 4:24, André Warnier a...@ice-sa.com wrote: The time it takes to perform a GC is *not* dependent on the number or size of dead objects, just on the live ones. That is counter-intuitive. Pray, why is that ? All modern GC algorithms are variations of mark-sweep-compact.

Re: Setting the Right Amount of Memory

2010-06-20 Thread Juha Laiho
On 20.6.2010 14:06, Mark Thomas wrote: On 20/06/2010 00:30, André Warnier wrote: Just a note here : 160 X 512 MB = 81 GB. If each Tomcat's JVM is allowed to use up to 512 MB of Heap, there might be moments where a lot of JVM's will be using close to that amount. Unless your system can really

Re: Setting the Right Amount of Memory

2010-06-20 Thread Peter Crowther
On 20 June 2010 16:01, Caldarale, Charles R chuck.caldar...@unisys.comwrote: All modern GC algorithms are variations of mark-sweep-compact. The basic operation consists of following the object reference graph from a set of known roots (eg, thread stack frames), marking each discovered object

How to speed up tomcat 5.5 jsp precompilation?

2010-06-20 Thread shunhao chen
Hi all, I have 2100 jsp files in my system, and I use the following ant script to precompile my jsp files. It takes 10 minutes to complete. 10 minutes is too long for me, because I also need to run class obfuscation, js/css compressor and test case. It’s any tips for me to speed up the

RE: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-20 Thread akhlaqur Rahman
How do I unsubscribe from this list? I have tried following the unsubscribe link in the emails and it has not worked... Any tips would be appreciated. -Original Message- From: David Smith [mailto:david.sm...@cornell.edu] Sent: 19 June 2010 22:36 To: Tomcat Users List Subject: Re:

tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection

2010-06-20 Thread Bulkan
Hi All, Before we upgraded from Tomcat 6.0.18 to 6.0.26 I was able to redirect stdout/stderr of tomcat.exe using the following Python code; from subprocess import Popen logfile = open('tomcat.log', 'w') p = Popen(r'C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\tomcat6.exe',

RE: Setting the Right Amount of Memory

2010-06-20 Thread Robinson, Eric
Having a borderline heap size can, in the worst case, result in almost continual GC activity, if there is only room to allocate a minimal number of objects between GC occurrences. For what it's worth, either this is not the case in our real-world situation or the effect is negligible. Even

RE: Setting the Right Amount of Memory

2010-06-20 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: Re: Setting the Right Amount of Memory Unreachable (dead) objects are never encountered, so their number or size does not come into play. For complete disclosure, I should note that dead objects in the tenured (old)

RE: Setting the Right Amount of Memory

2010-06-20 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Setting the Right Amount of Memory Having a borderline heap size can, in the worst case, result in almost continual GC activity, if there is only room to allocate a minimal number of objects between GC occurrences. For

Re: tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection

2010-06-20 Thread Mark Eggers
If you're running as a service, why don't you make use of --StdOutput and --StdError as documented here: http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html Also, if you're running as a service, the Tomcat Monitor allows you to change this at any point. There's a tab called

RE: Setting the Right Amount of Memory

2010-06-20 Thread Robinson, Eric
For what it's worth, either this is not the case in our real-world situation or the effect is negligible. Not surprising - you'd have to be very unlucky to be right at the edge and see a lot of GC activity and be able to continue running. Usually you'll be over the edge a bit,

RE: Setting the Right Amount of Memory

2010-06-20 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Setting the Right Amount of Memory What qualifies as a tight heap and what qualifies as a significant increase? Both are entirely dependent on what's running inside the JVM. Monitoring the GC actions will tell you if

Re: tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection

2010-06-20 Thread Bulkan
Hi Mark, I am not running tomcat as a service. I directly start tomcat.exe Cheers On Mon, Jun 21, 2010 at 1:41 PM, Mark Eggers its_toas...@yahoo.com wrote: If you're running as a service, why don't you make use of --StdOutput and --StdError as documented here:

Tomcat 5.5.26 with application is having memory/performance issue

2010-06-20 Thread Hae Loong Chan
Hi, I have the memory issue/performance with the following situation: a. The machine installed with Solaris 10, with memory 2GB and swap space 4GB. b. Running Tomcat 5.5.26 with one application at Xmx1024m and -Xmx256m using JDK1.5.0_22. c. 10 standalone clients are sending the web service