geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3376) can't customize tomcat's session manager behavior per web context
Date Fri, 03 Aug 2007 21:40:52 GMT
can't customize tomcat's session manager behavior per web context
-----------------------------------------------------------------

                 Key: GERONIMO-3376
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3376
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 1.1.1, 2.0
            Reporter: Paul McMahan
            Assignee: Paul McMahan
             Fix For: 2.0.x, 2.1


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message