Re: tomcat 6.0.35 in production maintaince

2013-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 3/14/13 8:01 AM, fachhoch wrote: > I added all my jsp with <%@ page session="false" %> still > session count is increasing , is there any session listner which > will debug all session creation ,time ,ipaddress etc and session >

Re: tomcat 6.0.35 in production maintaince

2013-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eugène, On 3/14/13 10:40 AM, Eugène Adell wrote: > Sure, > > you can block any IP by configuring a VALVE in the main config > file (server.xml) : > http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Address_Filter This > requires a

Re: tomcat 6.0.35 in production maintaince

2013-03-15 Thread Mark H. Wood
On Thu, Mar 14, 2013 at 07:13:20AM -0700, fachhoch wrote: > every few seconds a new session is begin created from an ipaddress , I have > no clue who owns that ipaddress , how can I find more about that > ipaddress? 'whois'. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu There's a

Re: tomcat 6.0.35 in production maintaince

2013-03-15 Thread Daniel Mikusa
On Mar 14, 2013, at 6:00 PM, fachhoch wrote: > I think one of my filters are involved in creating session , I tried in dev > box calling the url called by load balancer ,and saw that a session is > getting created every time its a new browser, so then I called a html > file still session i

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread fachhoch
I think one of my filters are involved in creating session , I tried in dev box calling the url called by load balancer ,and saw that a session is getting created every time its a new browser, so then I called a html file still session is being created, I use some of the filters which I can

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread fachhoch
I added the access log and now I know what url is being called , this is the urlI configured my loadbalancer to check application is running fine. The url is of a servlet , this servlet sure does not create session and it forwards to a jsp using the jsp is I am not creating a

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread Daniel Mikusa
On Mar 14, 2013, at 10:56 AM, fachhoch wrote: > mine app is running behind amazon load balancer may be its ipaddress from > that aws , I dont know , but all I care is not to create session , to aws > load balancer I gave the url to ping my app which is a servlet and this > forwards to jsp in

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread Hassan Schroeder
On Thu, Mar 14, 2013 at 7:39 AM, Daniel Mikusa wrote: >> how can I block it > If your OS has a firewall, you could use that. If you're on a *nix system, see the man page for 'iptables' and/or 'tcp_wrappers'. -- Hassan Schroeder hassan.schroe...@gmail.com http://about

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread David kerber
On 3/14/2013 10:27 AM, fachhoch wrote: how can I block it , can I do it from my app or server setting or os setting , please advice me . Firewall or OS-level. -- View this message in context: http://tomcat.10.n6.nabble.com/tomcat-6-0-35-in-production-maintaince-tp4995740p4995898.html S

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread Daniel Mikusa
On Mar 14, 2013, at 10:27 AM, fachhoch wrote: > how can I block it , can I do it from my app or server setting or os > setting , please advice me . If your OS has a firewall, you could use that. Otherwise, you can configure a Remote Address Filter in Tomcat. Configuration of the filter is pr

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread fachhoch
how can I block it , can I do it from my app or server setting or os setting , please advice me . -- View this message in context: http://tomcat.10.n6.nabble.com/tomcat-6-0-35-in-production-maintaince-tp4995740p4995898.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread Daniel Mikusa
On Mar 14, 2013, at 10:13 AM, fachhoch wrote: > every few seconds a new session is begin created from an ipaddress , I have > no clue who owns that ipaddress , how can I find more about that > ipaddress? > Block it and see who complains that they can no longer access your server? Dan > >

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread fachhoch
every few seconds a new session is begin created from an ipaddress , I have no clue who owns that ipaddress , how can I find more about that ipaddress? -- View this message in context: http://tomcat.10.n6.nabble.com/tomcat-6-0-35-in-production-maintaince-tp4995740p4995895.html Sent from t

Re: tomcat 6.0.35 in production maintaince

2013-03-14 Thread fachhoch
I added all my jsp with <%@ page session="false" %> still session count is increasing , is there any session listner which will debug all session creation ,time ,ipaddress etc and session destroy atleast I can see where the session are coming from. -- View this message in context: ht

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
I did not any change the default setting for session timeout so it shoule be 30 minutes. I do have some jsp very few but these are used by external application to check if my app is alive they call this jsp every 10 minutes or frequent intervals, also I have a jquery time out plugin which ca

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 3/13/13 11:55 AM, fachhoch wrote: >> Hard to say exactly. Perhaps your session expiration time is >> large and sessions are not being removed as quickly as you would >> expect. > > how can I figure this out ?, I am did not make any s

RE: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Caldarale, Charles R
> From: fachhoch [mailto:fachh...@gmail.com] > Subject: Re: tomcat 6.0.35 in production maintaince > how can I figure this out ? Use the manager app, as suggested. > are there any suggested ways to use threadlocal when deployed in tomcat ? Using ThreadLocal when the threads belo

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
Hard to say exactly. Perhaps your session expiration time is large and sessions are not being removed as quickly as you would expect. how can I figure this out ?, I am did not make any setting for session timeout ,except for browser activity where to check session expiration configration? a

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread Daniel Mikusa
On Mar 13, 2013, at 11:30 AM, fachhoch wrote: > Will connecting jconsole to my prod env will it cause any performance issues > ? Connecting with jconsole shouldn't cause any problems. > I connected jconsole to my server running in training env. Not many user > were using my app are when I co

Re: tomcat 6.0.35 in production maintaince

2013-03-13 Thread fachhoch
Will connecting jconsole to my prod env will it cause any performance issues ? I connected jconsole to my server running in training env. Not many user were using my app are when I connected. I looked at activeSession whihc is in Manager/myapp/localhost/attributes/activeSession The valu

Re: tomcat 6.0.35 in production maintaince

2013-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 3/12/13 10:43 AM, fachhoch wrote: > I am using tomcat 6.0.35 in production. I am running my web > application on this , Ituses spring, wicket, hibernate and lot > of other technologies, problem is after one month of running my > a

RE: tomcat 6.0.35 in production maintaince

2013-03-12 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Subject: RE: tomcat 6.0.35 in production maintaince > >> From: fachhoch [mailto:fachh...@gmail.com] >> Subject: tomcat 6.0.35 in production maintaince > >> How can I detec

Re: tomcat 6.0.35 in production maintaince

2013-03-12 Thread Shanti Suresh
On Tue, Mar 12, 2013 at 1:48 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > > is there any maintenance necessary for production servers if so what > > are those ? > > Health monitoring is always useful. > > http://wiki.apache.org/tomcat/FAQ/Monitoring > http://wiki.apache.org/to

RE: tomcat 6.0.35 in production maintaince

2013-03-12 Thread Caldarale, Charles R
> From: fachhoch [mailto:fachh...@gmail.com] > Subject: tomcat 6.0.35 in production maintaince > How can I detect in advance that my app is using up all available memory ? Monitor the JVM with any of a myriad of tools, such as VisualVM. http://wiki.apache.org/tomcat/FAQ/Memory http://wiki.apach