Details
Description
Tomcat allows session management behavior to be customized per web app context, and geronimo should support this settting in the geronimo-web.xml deployment descriptor.
However, when you add this to your gbean:
<manager>TomcatManager</manager>
<gbean name="TomcatManager" class="org.apache.geronimo.tomcat.ManagerGBean">
<attribute name="className">org.apache.catalina.session.StandardManager</attribute>
<attribute name="initParams">
maxActiveSessions=10
</attribute>
</gbean>
You get an error from cglib when it tries to create the proxy since the ManagerGBean does not provide a noarg constructor. Adding the noarg constructor to the gbean fixes this problem and allows session management behavior to be customized per web app context.