[jboss-jira] [JBoss JIRA] Closed: (JBAS-7116) Improper handling of domain included in jvmRoute

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Nov 17 16:02:29 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed JBAS-7116.
----------------------------------

    Fix Version/s: JBossAS-6.0.0.M2
                       (was: JBossAS-6.0.0.M3)
       Resolution: Done


> Improper handling of domain included in jvmRoute
> ------------------------------------------------
>
>                 Key: JBAS-7116
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7116
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering, Web (Tomcat) service
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: JBossAS-6.0.0.M1, JBossAS-6.0.0.M2
>
>
> org.jboss.web.tomcat.service.session.Util doesn't handle a domain.node as the jvmRoute format:
>    public static String getRealId(String sessionId)
>    {
>       int index = sessionId.lastIndexOf(".");  // WRONG!! Use String.indexOf('.', 0);
>       if (index > 0)
>       {
>          return sessionId.substring(0, index);
>       }
>       else
>       {
>          return sessionId;
>       }
>    }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list