On 16/11/2010 07:34, Amol Puglia wrote: > Hello Pid, > > Thanks for the updates.It would be great if you could let us know whether the > issue is in application server or application.
Well, the problem class isn't in an org.apache package, it's in a com.ericsson package. Is that your code? LoginBean.java, line 2366. There's a lot of code in that file, but you could check to see what's happening at that line. In the a line above in that, in the stacktrace, there's a call to StandardSessionFacade.getAttributeNames which I'm not sure about, I'd expect to see a call to HttpSession rather than a call to an internal component of Tomcat. I think your code is attempting to flush the session clean, without checking that the session is available to do so (which it isn't). p > Also we are using apache to load balance tomcat instances using following > modules. > > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_connect_module modules/mod_proxy_connect.so > LoadModule proxy_ftp_module modules/mod_proxy_ftp.so > LoadModule proxy_http_module modules/mod_proxy_http.so > LoadModule proxy_scgi_module modules/mod_proxy_scgi.so > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > LoadModule proxy_balancer_module modules/mod_proxy_balancer.so > > Is there anything we have to tune configuration on apache,tomcat or > application,please suggest. > > > > > --- On Mon, 11/15/10, Pid <p...@pidster.com> wrote: > > From: Pid <p...@pidster.com> > Subject: Re: Tomcat Going down Frequently > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Monday, November 15, 2010, 10:04 PM > > On 15/11/2010 11:03, Amol Puglia wrote: >> at >> org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:120) >> at com.ericsson.mars.jspbean.LoginBean.logout(LoginBean.java:2366) >> at >> com.ericsson.mars.jspbean.LoginBean.valueUnbound(LoginBean.java:2450) > > The problem is in your HttpSessionBindingListener LoginBean, it appears > to be operating on the session object after the session has been > invalidated. > > I don't know whether this could take Tomcat down, unless you've > included* a System.exit call in a catch - which seems to be popular > again all of a sudden. > > > p > > * which is A Really Bad Idea. > > > >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature