panmissl / javamelody

Automatically exported from code.google.com/p/javamelody
1 stars 0 forks source link

monitoring http sessions - problem #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have installed javamelody plugin to JIRA and Confluence. Everything works OK 
except chart which presents HTTP Sessions - it stopped to show anything. After 
restart of the service it presents https sessions for only some hours and then 
stops. Other monitoring is working correctly

Both operating systems and Java are x64.

Original issue reported on code.google.com by mimec...@gmail.com on 15 Mar 2012 at 4:37

GoogleCodeExporter commented 8 years ago
Jira version is 4.4.1 and Confluence is 4.1.2. 

Original comment by mimec...@gmail.com on 15 Mar 2012 at 5:09

GoogleCodeExporter commented 8 years ago
Javamelody is in the latest version 1.35.

Original comment by mimec...@gmail.com on 16 Mar 2012 at 9:04

GoogleCodeExporter commented 8 years ago
After upgrading to lates Jira 4.4.5 situation is still the same.

Original comment by mimec...@gmail.com on 28 Mar 2012 at 8:09

GoogleCodeExporter commented 8 years ago
It seems that there is a problem counting sessions (more invalidated sessions 
than created sessions in your case?).

Do you use the default tomcat of JIRA or another one like Tomcat 7 or jetty?
To install the javamelody plugin, do you have modified another file like 
web.xml, except than copying the jar file in WEB-INF/lib?

Original comment by evernat@free.fr on 28 Mar 2012 at 8:21

GoogleCodeExporter commented 8 years ago
Hi, I'm using default Tomcat version attached with JIRA (6.0.32). I have 
installed jar file in WEB-INF/lib and modified Application 
Data/JIRA/dbconfig.xml with the instructions from here: 
http://code.google.com/p/javamelody/wiki/UserGuide#2._web.xml_file

Original comment by mimec...@gmail.com on 29 Mar 2012 at 8:01

GoogleCodeExporter commented 8 years ago
I have reproduced the issue with JIRA 4.4.4.
In fact, sessionCreated events are strange in JIRA 4.4.4 with Tomcat 6.0.32, 
and it is certainly the Tomcat bug 51042 showing its face again but this time 
with JIRA 4.4 in the mix.
See https://issues.apache.org/bugzilla/show_bug.cgi?id=51042

In fact, there is two sessionCreated "events" with two different session ids 
but this time the second session is not the same instance as the first session 
*and* it contains the same attributes than the first session.

It is now fixed in trunk (revision 2855) and ready for the next release (1.38).
I have made a new build of the plugin for JIRA/Confluence/Bamboo and it is 
available at:
http://javamelody.googlecode.com/files/jira-javamelody-20120527.jar

Thanks

Original comment by evernat@free.fr on 27 May 2012 at 4:04