Closed GoogleCodeExporter closed 9 years ago
I have reproduced the issue and it is a javamelody bug indeed.
What happens is that when using BASIC auth, a session is created with an id,
and later Tomcat changes the session id, for security against session fixation.
In this case, Tomcat does not notify of the changed id with a sessionCreated
event for the second id.
It happens in particular for your own session, when using BASIC auth.
It is now fixed in trunk (revision 4060) and for the next release (1.56).
By the way, your web.xml is misconfigured. You would better write:
<init-param>
<param-name>allowed-addr-pattern</param-name>
<param-value>192\.168\.[0-9]{1,3}\.[0-9]{1,3}</param-value>
</init-param>
<init-param>
<param-name>storage-directory</param-name>
<param-value>${catalina.base}/javamelody-data</param-value>
</init-param>
Thanks Juergen.
Original comment by evernat@free.fr
on 11 Apr 2015 at 4:58
Original issue reported on code.google.com by
evernat@free.fr
on 11 Apr 2015 at 1:54