Magnolia 5.4 reached end of life on November 15, 2018. This branch is no longer supported, see End-of-life policy.
HTTP and JCR session debugging.
For HTTP session related issues, check:
Magnolia provides a basic SessionDebugger
class to assist with this process. The SessionDebugger
class is both a javax.servlet.Filter
and an HttpSessionListener
. To enable the filter, register it in Magnolia's filter chain. To enable the session event listener, add the following to your web.xml:
<listener> <listener-class>info.magnolia.debug.SessionDebugger</listener-class> </listener>
This listener logs a large quantity of data in WARN mode. Be sure to disable this process when the debugging session is over.
Magnolia includes a simple JMX Mbean which allows you monitor currently opened JCR sessions. Connect to your container (for instance using JConsole) and locate the Magnolia JCRStats
MBean. It will show you how many JCR sessions are currently open. See Monitoring for more.