Hi Mark,

I am not sure about the code, but we are confirming on whether we can share the 
code.
As of now I have some logs. Can you derive something based on the same.



Oct-14-09, 04:28:19.789    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'core_index.jar', '1C2A.7d7.329.482'.
Oct-14-09, 04:28:19.792    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'ss.jar', '5.5.2.0'.
Oct-14-09, 04:28:19.795    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'jcos.jar', '1C2A.7d7.33f.3fe'.
Oct-14-09, 04:28:19.798    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'javaextall.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.800    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'BMC_JClass363J.jar', '3.6.3.0'.
Oct-14-09, 04:28:19.812    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'chart.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.815    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'meter.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.819    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'table.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.833    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'textparam.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.836    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'coreclient.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.839    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'tabnav.jar', '1C2A.7d7.329.480'.
Oct-14-09, 04:28:19.842    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'modules/security_client.jar', '1C25.7d7.329.481'.
Oct-14-09, 04:28:19.844    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'modules/jpclient.jar', '1C2A.7d7.329.482'.
Oct-14-09, 04:28:19.847    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'modules/wpclient.jar', '1C2A.7d7.329.481'.
Oct-14-09, 04:28:19.850    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'modules/monclient.jar', '1BC6.7d7.329.481'.
Oct-14-09, 04:28:19.853    <Thread[http-8091-Processor5,5,main]>    DEBUG    
CORE_ALL:CORE_TAGLIB:CommonClientArchives:    

Adding to archive map: 'modules/cvclient.jar', '1BC6.7d7.329.481'.
Oct-14-09, 04:29:03.533    <Thread[http-4430-Processor5,5,main]>    INFO    
CORE_ROOT:COSProxyRunner:sessionBound:    max 

inactive interval (sec)=900, connection timeout (sec)=120, response delay 
(sec)=60, authentication timeout (sec)=30
Oct-14-09, 04:29:03.533    <Thread[http-4430-Processor5,5,main]>    INFO    
CORE_ROOT:COSProxyRunner:sessionBound:    

user=abc, session id=4E7EE7AD4E3ED1CF640B65E0849752DC
Oct-14-09, 04:29:04.152    <Thread[http-4430-Processor5,5,main]>    INFO    
CORE:WebconsoleSecurityProvider.priv_login():    

Successfully logged in, user=xyz, sessions=1, anonymous=0
Oct-14-09, 04:29:23.719    <Thread[http-4430-Processor4,5,main]>    INFO    
CORE_ROOT:COSProxyRunner:sessionBound:    max 

inactive interval (sec)=900, connection timeout (sec)=120, response delay 
(sec)=60, authentication timeout (sec)=30
Oct-14-09, 04:29:23.720    <Thread[http-4430-Processor4,5,main]>    INFO    
CORE_ROOT:COSProxyRunner:sessionBound:    

user=xyz, session id=78F7D2A8610676E5E495EF0D092C5A1F
Oct-14-09, 04:29:23.726    <Thread[http-4430-Processor4,5,main]>    INFO    
CORE:WebconsoleSecurityProvider.priv_login():    

Successfully logged in, user=xyz, sessions=2, anonymous=0
Oct-14-09, 04:29:28.509    <Thread[http-8091-Processor15,5,main]>    INFO    
WP:LayoutSession:openLayout:    locale string = 

EN_USA
Oct-14-09, 04:29:30.161    <Thread[http-8091-Processor1,5,main]>    ERROR    
CORE_REPOSITORY:getChildLinks:    cannot find 

link NAME: 'pwcSettings'. Cannot get child links.

Oct-14-09, 04:30:27.515    <Thread[PosManager - out Queue,5,main]>    ERROR    
WP:LayoutSession.SyncNodeListener:nodeRemoved: 

   error creating or retrieving node: name=Netcool and IM Mapping, id=308

Oct-14-09, 04:31:27.058    <Thread[http-8091-Processor4,5,main]>    ERROR    
CORE_REPOSITORY:getChildLinks:    cannot find 

link NAME: 'pwcMyPreferences'. Cannot get child links.
Oct-14-09, 04:31:28.246    <Thread[http-8091-Processor14,5,main]>    ERROR    
CORE_REPOSITORY:getChildLinks:    cannot find 

link NAME: 'pwcSettings'. Cannot get child links.
Oct-14-09, 04:31:47.875    <Thread[PosManager - out Queue,5,main]>    ERROR    
WP:LayoutSession.SyncNodeListener:nodeRemoved: 

   error creating or retrieving node: name=Netcool and IM Mapping, id=308
Oct-14-09, 04:32:07.859    <Thread[ThreadPool_0: WorkerThread_1,5,main]>    
ERROR    CORE::    Client did not respond within 

60000 msecs, assuming dead...

Oct-14-09, 04:32:07.860    <Thread[ThreadPool_0: WorkerThread_1,5,main]>    
ERROR    

CORE:com.bmc.webconsole.core.COSProxyInvocHandler:asyncIOException:    
IOException: Client did not respond within 60000 

msecs, assuming dead...

Oct-14-09, 04:32:07.860    <Thread[ThreadPool_0: WorkerThread_1,5,main]>    
ERROR    

CORE:com.bmc.webconsole.core.COSProxyInvocHandler:asyncIOException:    force 
logout of unresponsive session, user=abc, 

id=4E7EE7AD4E3ED1CF640B65E0849752DC
Oct-14-09, 04:32:07.864    <Thread[ThreadPool_0: WorkerThread_3,5,main]>    
LOG    CORE:AuthenticationClientInvocMod:logout:  

  user=abc, id=4E7EE7AD4E3ED1CF640B65E0849752DC
Oct-14-09, 04:34:50.322    <Thread[http-4430-Processor4,5,main]>    ERROR    

CORE:WebconsoleSecurityProvider.logoutOfAllSessions():    logoutOfAllSessions 
failed! user abc is still active
Oct-14-09, 04:34:50.329    <Thread[http-4430-Processor4,5,main]>    WARN    
CORE:WebconsoleSecurityProvider.login():    

Returning Exception: javax.security.auth.login.LoginException: Failed to force 
log off due to an internal error. One or more 

of your sessions are in an invalid state and cannot be terminated.
Oct-14-09, 04:37:09.457    <Thread[http-4430-Processor5,5,main]>    ERROR    

CORE:WebconsoleSecurityProvider.logoutOfAllSessions():    logoutOfAllSessions 
failed! user abc is still active
Oct-14-09, 04:37:09.457    <Thread[http-4430-Processor5,5,main]>    WARN    
CORE:WebconsoleSecurityProvider.login():    

Returning Exception: javax.security.auth.login.LoginException: Failed to force 
log off due to an internal error. One or more 

of your sessions are in an invalid state and cannot be terminated.



If you see the last message it is the exception message i was speaking of.
Let me know your views.


Thanks,
Sudip

--- On Wed, 7/10/09, Mark Thomas <ma...@apache.org> wrote:

From: Mark Thomas <ma...@apache.org>
Subject: Re: Tomcat gets hanged and sessions not releasing
To: "Tomcat Users List" <users@tomcat.apache.org>
Date: Wednesday, 7 October, 2009, 1:19 PM

> ------- Original Message -------
> From: sudip pattanayak <getsudi...@yahoo.co.in>
> Subject: Tomcat gets hanged and sessions not releasing
> 
> Actually the tomcat session kind of gets hanged and the session for the 
> troubled user does not get released and the force full log off feature does 
> not work.
> 
> Restarting the Tomcat solves the problem.
> 
> Any inputs on this.

It is a bug in your force log off feature. Without access to the relevant soure 
code, it is hard to help.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




      Add whatever you love to the Yahoo! India homepage. Try now! 
http://in.yahoo.com/trynew

Reply via email to