You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Paul McMahan (JIRA)" <ji...@apache.org> on 2007/08/03 23:57:52 UTC

[jira] Closed: (GERONIMO-3376) can't customize tomcat's session manager behavior per web context

     [ https://issues.apache.org/jira/browse/GERONIMO-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul McMahan closed GERONIMO-3376.
----------------------------------

    Resolution: Fixed

> 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.