Re: Want to customise the tomcat's session logic

2009-11-07 Thread S Arvind
is it possible to provide costume sessionid while creating session.? so that different time when session needs to be created i can create new sessionid and store it in cookie. "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison

Re: errno 110 in mod_jk

2009-11-07 Thread Mohit Anchlia
Could someone please help me understand this? On Sat, Nov 7, 2009 at 8:50 AM, Mohit Anchlia wrote: > I am also seeing that in Jboss (Back End) that there are lot of keep > alive sessions and I think that's the reason I am seeing the timeout. > As I add new web server it hits the 250 MaxThreads li

RE: Want to customise the tomcat's session logic

2009-11-07 Thread Caldarale, Charles R
> From: S Arvind [mailto:arvindw...@gmail.com] > Subject: Re: Want to customise the tomcat's session logic > > deploy one app in tomcat by having context xml in > catalina>>domain>>xxx.xml . When you access this > app check the session u will find the path attribute > with xxx in it. You're conf

Re: Want to customise the tomcat's session logic

2009-11-07 Thread S Arvind
To my knowledge, there is no "path" attribute in the session. Are you proposing that you add one? >> deploy one app in tomcat by having context xml in catalina>>domain>>xxx.xml . When you access this app check the session u will find the path attribute with xxx in it. So... do you mean that you w

RE: How to configure App for static files

2009-11-07 Thread Caldarale, Charles R
> From: Maxim Kazitov [mailto:mvka...@gmail.com] > Subject: How to configure App for static files > > Is it any way to configure Tomcat to serve static files from particular > folder on the disk ? Assuming you're using a supported version of Tomcat (you didn't tell us), create a file named conf/

Re: errno 110 in mod_jk

2009-11-07 Thread Mohit Anchlia
I am also seeing that in Jboss (Back End) that there are lot of keep alive sessions and I think that's the reason I am seeing the timeout. As I add new web server it hits the 250 MaxThreads limit and then it start to timeout. Those threads are there even though not doing any work. I tried disabling

Re: How to configure App for static files

2009-11-07 Thread Hassan Schroeder
On Sat, Nov 7, 2009 at 7:51 AM, Maxim Kazitov wrote: > Is it any way to configure Tomcat to serve static files from particular > folder on the disk ? I suspect It should be some kind of simple application, > but have no idea how to configure it. You can create a separate Context with an docBase a

How to configure App for static files

2009-11-07 Thread Maxim Kazitov
Is it any way to configure Tomcat to serve static files from particular folder on the disk ? I suspect It should be some kind of simple application, but have no idea how to configure it. Any help/hints are welcome.

Re: errno 110 in mod_jk

2009-11-07 Thread Mohit Anchlia
To narrow down I just left one node running and started test. When I look at JkStatus worker I see even though all other nodes are down it's still showing "OK" in the status. I am not sure why it would do that. Could this be the reason why I am seeing slow response times in mod-jk? On Fri, Nov 6,

Re: errno 110 in mod_jk

2009-11-07 Thread André Warnier
Mohit Anchlia wrote: I am looking at the tcpdump but I don't see packet retransmits. What should I expect to see in tcpdump? thanks for your help. Mohit, have you checked that *all* the workers which your configure in workers.properties really have a corresponding back-end Tomcat ? Maybe you

Re: Trying to set up tomcat

2009-11-07 Thread Ziggy
What exactly is the problem? On 11/7/09, paul8 wrote: > > Hi I am trying to set up Tomcat on ubuntu, I have unziped and changed the > classpath(i think) i go in to the bin folder of tomcat and run catalina.sh > using terminal and get the following > > p...@paul-laptop:~/apache-tomcat-6.0.20/bin$

Re: [OT] ConnectionPool question

2009-11-07 Thread Elli Albek
Chris, as long as we are having fun its all good. I think this question is something many developers ask. I have seen it here and in other forums. You are correct, everything is wrapped. The connection wrapper spawns statment wrappers which spawn result set wrappers, and everything is tracked in p