Re: Tomcat Https loadbalancing??

2009-12-03 Thread David Cassidy
It would be interesting if you are running on non-standard ports (ie not 80 and 443 ) to see what happens D On 03/12/09 13:40, David Cassidy wrote: Chris, You're right - nice one. I'd always put in the extra properties into my connector config the proxyport , redirect port whet

Re: Tomcat Https loadbalancing??

2009-12-03 Thread David Cassidy
r Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/25/2009 6:06 AM, David Cassidy wrote: If you want your tomcat to ever know that its getting a secure request you'll need 2 ajp connectors - one as the default is "not secure" the other needs to say "

Re: Tomcat Https loadbalancing??

2009-11-25 Thread David Cassidy
Cyrille, Nice if you've got that sort of money. it is quite cool because you can off-load the https part so some custom hardware - again cool if you've got the money Personally i prefer mod_proxy_ajp with the balancing as well. D On 25/11/09 10:57, Cyrille Le Clerc wrote: Hello, As R

Re: Tomcat Https loadbalancing??

2009-11-25 Thread David Cassidy
On 25/11/09 10:36, Peter Crowther wrote: 2009/11/25 jkv: I got one small doubt in the last point that you said. In this environment, you only want your "public" certificate on httpd. Tomcat will not be doing anything that uses it, so don't put a copy on those machines. this means that I

Re: Tomcat Https loadbalancing??

2009-11-25 Thread David Cassidy
ill this affect the client -> getting two certificates for a single https request?? Has any body done this before??? David Cassidy wrote: Hey Yes if you want httpd to load balance https requests you do need it to handle the https connection - and hence it needs the keys, certs etc Sadly t

Re: Tomcat Https loadbalancing??

2009-11-25 Thread David Cassidy
Hey Yes if you want httpd to load balance https requests you do need it to handle the https connection - and hence it needs the keys, certs etc Sadly the ajp protocol is in fact insecure if you have the httpd and tomcat on separate boxes you do have a security issue as the connection is transp

Re: Out of memory being caused by notFoundResources in org.apache.catalina.loader.WebappClassLoader

2009-10-12 Thread David Cassidy
Mark, Okies will do David On 12/10/09 18:05, Mark Thomas wrote: David Cassidy wrote: Guys Tomcat 6.0.20, java 1.6, linux x64 org.apache.catalina.loader.WebappClassLoader records every resource you asked for that doesn't exist. On our site we have alot of pages (> 800,000

Re: Out of memory being caused by notFoundResources in org.apache.catalina.loader.WebappClassLoader

2009-10-12 Thread David Cassidy
n out of memory the JVM will dump the heap. I've walked it (i know 1 gig...) and its really things that are not found. there are no files by those names so... Hey ho D On 12/10/09 17:50, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 10/12/2009 12:03

Out of memory being caused by notFoundResources in org.apache.catalina.loader.WebappClassLoader

2009-10-12 Thread David Cassidy
Guys Tomcat 6.0.20, java 1.6, linux x64 org.apache.catalina.loader.WebappClassLoader records every resource you asked for that doesn't exist. On our site we have alot of pages ( > 800,000 ) all of which are using struts2 with validation. every hit means the validator does a request for a reso

Faking a login through JAAS into tomcat.

2008-05-21 Thread David Cassidy
Hey Guys, I've got a page that allows a user to join up to the service. I want them then to continue using the site as a logged in user. I'm sure there's a really really easy way to fake the login. I've got a custom JAAS login module which authenticates the user. The flow is User goes to join p

RE: Newbie: Question about first Servlet

2008-04-07 Thread David Cassidy
If i recall correctly the servlet must be in a package On Mon, 2008-04-07 at 09:52 -0400, Russo, Joe wrote: > Try calling the servlet name instead of the class. You may need to get > rid of the space in the name. > > > > > > -Original Message- > From: Kurt L Harless [mailto:[EMA

Re: Database connections grow after redeploy

2008-03-14 Thread David Cassidy
try netbeans its free and the profiler will watch all your objects being created. it will also work with snapshots... On Thu, 2008-03-13 at 20:56 +0200, Juha Laiho wrote: > Scott McClanahan wrote: > > > On Thu, 2008-03-13 at 12:02 -0400, Christopher Schultz wrote: > > > Caldarale, Charles R wro

RE: memoryrealm

2008-03-12 Thread David Cassidy
On your realm up the level of debug and let us know whats in the logs D On Wed, 2008-03-12 at 11:16 +, Edward Quick wrote: > Thanks David, I had forgotten the web.xml as you suggested. I have now added > this so my web.xml is as shown below, and I get the prompt but the userid I'm > using

RE: tomcat 6.0

2008-03-12 Thread David Cassidy
Chuck, Do you know if the admin app will ever re-appear as it was really quite nice. or is the only options to use lambda probe / jconsole ? Ta D On Tue, 2008-03-11 at 23:26 -0500, Caldarale, Charles R wrote: > > From: Weng Hon Wong [mailto:[EMAIL PROTECTED] > > Subject: tomcat 6.0 > > > > Do

Re: memoryrealm

2008-03-12 Thread David Cassidy
whats in your web.xml ? is your app forcing a login ? all the realm provides is a system to do authentication unless you are triggering it, it isn't used On Wed, 2008-03-12 at 10:36 +, Edward Quick wrote: > Hi, > > I would like to specify my own tomcat-users.xml for my webapp to use (

Re: mod_jk or mod_proxy_ajp - encryption benefits?‏

2008-03-07 Thread David Cassidy
James, You could put the stunnel into a while loop that makes it. perhaps you could send yourself an email each time it closed ? stunnel is probably the easiest to setup. I had written a secure version of mod_ajp for apache 1.3 (ie years ago) which did the whole ssl encryption of the traffic wi

RE: Why Tomcat hang for a while before starting

2008-03-06 Thread David Cassidy
normally ls -l in the directory concerned works for me. On Thu, 2008-03-06 at 14:19 +0200, Mohamed Mohamedin wrote: > Can you please tell me how to detect such symbolic link. > > Thanks a lot > > > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: W

Re: mod_jk or mod_proxy_ajp - encryption benefits?

2008-03-05 Thread David Cassidy
stunnel On Mon, 2008-03-03 at 18:39 -0800, David Rees wrote: > On Mon, Mar 3, 2008 at 9:26 AM, James Ellis <[EMAIL PROTECTED]> wrote: > > Do you think that little hollow voice can clarify how IPSec would solve this > > problem by giving an example of a software that I could implement to > > a

RE: hibernate3 / JPA / JBossCache / tomcat

2008-02-02 Thread David Cassidy
PROTECTED] > Sent: Fri 01/02/2008 17:43 > To: Tomcat Users List > Cc: > Subject: Re: hibernate3 / JPA / JBossCache / tomcat > > Tomcat can use JTA. I use it also with Hib3. My sugession to you is to find > the appropriate jar with JBossCache and for tomcat version. >

hibernate3 / JPA / JBossCache / tomcat

2008-02-01 Thread David Cassidy
Hey guys Having problems getting Hib3/JPA working with JBossCache within tomcat. Am I trying for the impossible? I could get it working with OSCache but JBossCache likes to have a JTA now unless I'm missing something Tomcat doesn't do JTA Anyone got the answer as to what my persistence.xml sho

Re: Tomcat 6's nio protocol is slower than the regular HTTP/1.1protocol

2008-01-03 Thread David Cassidy
Did anyone do the comparison between ajp13 and http for the protocol ? I'd like to understand what the test cases were that were used for the test. ie if the application takes a second to make the resulting html if it takes 2 seconds to make the html how does that affect the performance ? D On

RE: clarification of server.xml settings for AJP 1.3 Thread Limit

2008-01-03 Thread David Cassidy
Mohan, You can use apache to serve all the static objects without the requests going anywhere near jboss / tomcat. Have a *careful* look at the JkMount command and look carefully at your url-patterns that your application uses. D On Wed, 2008-01-02 at 11:12 -0800, Mohan2005 wrote: > thank you.

Re: Tomcat Process Memory Leak?

2007-12-18 Thread David Cassidy
You could try the profiler thats built into netbeans... On Tue, 2007-12-18 at 10:29 +, Stefano Martines wrote: > Does anybody knows about a tool so that you can analyze and trace in detail > the memory allocation of your application objects, classes etc? > > thank you > Stefano > > > -

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-30 Thread David Cassidy
stest, is cause there is no context switching > > during block simulation, > > or adding/removing the connection from a poller. > > > > When it comes to SSL, the APR connector is much > > faster than both the > > Java connectors. > > > > Filip >

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread David Cassidy
Has anyone got a comparison of the NIO one vs standard java connectors ? both with and without the native libs ? Ta On Thu, 2007-11-29 at 08:38 -0600, Brian Millett wrote: > Filip Hanik - Dev Lists escribío: > > using mod_proxy_http, you want to enable > > > > ProxyPreserveHost On > > > > > >

RE: multithreaded with taglibs

2007-11-26 Thread David Cassidy
gt; . > > > > > > Why are you doing this with a tag, rather than sending the parameter to > a servlet that serves an image into it's output stream? > > You exploit the browsers own request handling capabilities this way. > > > > > p > >

RE: Tomcat 6 virtual host problem please help

2007-11-23 Thread David Cassidy
If you were using apache infront of tomcat you can use the proxy to do this for you I think ProxyPass / ajp13://localhost:8009/app/ any requests for '/' go to '/app/' on tomcat Hope that helps D On Fri, 2007-11-23 at 09:43 +0100, Rocco Scappatura wrote: > > do you want your app to be the d

Re: multithreaded with taglibs

2007-11-22 Thread David Cassidy
Hi What is your tag going to produce ? is it an type tag ? or how are you allowing the browser to access the image ? Ta D On Thu, 2007-11-22 at 14:57 +0200, Yair Ben-Meir wrote: > Hi > > Is there a way to write a taglib that will do a multithreading work? > Meaning, that tomcatwill not wait

Re: mod_proxy_ajp & TIME_WAIT

2007-11-21 Thread David Cassidy
would mean, that Apache httpd closed the connection first. Maybe > >>> you could show us some of the TIME_WAIT netstat lines. > >>> > >>> Both could be OK, so we could ask ourselves, if we expect such > >>> behaviour. In general AJP connections should be use

Re: mod_proxy_ajp & TIME_WAIT

2007-11-20 Thread David Cassidy
sed, if they have been idle for to long. > > > > Is the number of TIME_WAIT connections much larger, than the > > concurrency ("-c") used with ab? > > > > Regards, > > > > Rainer > > > > David Cassidy wrote: > >> Guys, >

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
OK I'll give that a go ! Thanks Rainer for your help D On Mon, 2007-11-19 at 16:09 +0100, Rainer Jung wrote: > David Cassidy wrote: > > Hi Rainer, > > > > I've set the ttl to 120 > > re-run the last test with 30 concurrent connections > >

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
ached the ttl unless ttl is not seconds. Do you think I should be asking this on the httpd dev mailing list as its an apache prob and not tomcat ? Thanks David On Mon, 2007-11-19 at 15:47 +0100, Rainer Jung wrote: > David Cassidy wrote: > > Hi ! > > > > This is using

Re: mod_proxy_ajp & TIME_WAIT

2007-11-19 Thread David Cassidy
AJP connections should be used persistently and > only closed, if they have been idle for to long. > > Is the number of TIME_WAIT connections much larger, than the concurrency > ("-c") used with ab? > > Regards, > > Rainer > > David Cassidy wrote: >

mod_proxy_ajp & TIME_WAIT

2007-11-15 Thread David Cassidy
Guys, I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat. apache config - BalancerMember ajp://localhost:8009 route=server1 min=0 smax=1000 max=1000 keepalive=On ProxyPass // balancer://myclusterclear/ stickysession=JSESSIONID|jsessionid Tomc