5608057 / javamelody

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

tomcat 7 deltamanager #321

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install apache-tomcat-7.0.42
2. basic configuration, but enable the 
org.apache.catalina.ha.tcp.SimpleTcpCluster in the server.xml file
3. start the server and deploy and application that doesn't have javamelody 
included.
4. examine the manager using jconsole (Catalina->manager->application 
name->attributes -and will show the apache.catalina.ha.session.DeltaManager
5. add the javamelody-1.45.jar and jrobin.jar file to the tomcat lib directory
6. restart the tomcat instance
7. repeat step 4 and now it shows the StandardManager instead of the 
DeltaManager, breaking session persistence across servers.

This is on red hat version 5.9 and 6.4, jdk7.1.7.0_25

If you remove the web-fragement.xml from the META-INF and add the recompiled 
jar files to the war file and the configuration in the web.xml file, then it 
works.

Original issue reported on code.google.com by qu...@yahoo.com on 11 Jul 2013 at 7:33

GoogleCodeExporter commented 8 years ago
I have not removed web-fragment.xml from the javamelody.jar file but I have 
added "<distributable/>" in web-fragment.xml.
I have verified that it fixes the issue.

This is committed in trunk (revision 3426) and it is ready for the next release 
(1.46).
I have made a new build from the trunk including the fix and it is available at:
http://javamelody.googlecode.com/files/javamelody-20130712.jar

Thanks for the issue and for the steps.

Original comment by evernat@free.fr on 12 Jul 2013 at 4:10