[jboss-jira] [JBoss JIRA] Updated: (JBWEB-152) Status servlet error with <distributable/> web apps in EAP 5

Dennis Reed (JIRA) jira-events at lists.jboss.org
Mon Nov 30 15:36:29 EST 2009


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

Dennis Reed updated JBWEB-152:
------------------------------

    Description: 
In EAP 5, when there are <distributable/> web applications deployed, http://server:8080/status?full=true errors out with:

ERROR [[Status Servlet]] Servlet.service() for servlet Status Servlet threw exception
javax.management.AttributeNotFoundException: not found: activeSessions
        at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335)
        at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565)   
        at org.apache.catalina.manager.StatusTransformer.writeManager(StatusTransformer.java:736)
        at org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:703)
        at org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:586)
        at org.jboss.web.tomcat.service.StatusServlet.doGet(StatusServlet.java:265)
        ...

In EAP 5, the JBoss Cache session manager (used for distributable apps) has the same JMX object name as the JBoss Web manager (used for non-distributable apps), but does not have the same attributes.  StatusTransformer does not handle this.

  was:
In EAP 5, when there are <distributable/> web applications deployed, http://server:8080/status?full=true errors out with:

ERROR [[Status Servlet]] Servlet.service() for servlet Status Servlet threw exception
javax.management.AttributeNotFoundException: not found: activeSessions
        at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335)
        at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565)   
        at org.apache.catalina.manager.StatusTransformer.writeManager(StatusTransformer.java:736)
        at org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:703)
        at org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:586)
        at org.jboss.web.tomcat.service.StatusServlet.doGet(StatusServlet.java:265)
        ...

In EAP 5, the JBoss Cache session manager has the same name as the JBoss Web version, but does not have the same attributes.  StatusTransformer does not handle this.



> Status servlet error with <distributable/> web apps in EAP 5
> ------------------------------------------------------------
>
>                 Key: JBWEB-152
>                 URL: https://jira.jboss.org/jira/browse/JBWEB-152
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tomcat
>    Affects Versions: JBossWeb-2.1.3.GA
>            Reporter: Dennis Reed
>            Assignee: Remy Maucherat
>
> In EAP 5, when there are <distributable/> web applications deployed, http://server:8080/status?full=true errors out with:
> ERROR [[Status Servlet]] Servlet.service() for servlet Status Servlet threw exception
> javax.management.AttributeNotFoundException: not found: activeSessions
>         at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335)
>         at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565)   
>         at org.apache.catalina.manager.StatusTransformer.writeManager(StatusTransformer.java:736)
>         at org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:703)
>         at org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:586)
>         at org.jboss.web.tomcat.service.StatusServlet.doGet(StatusServlet.java:265)
>         ...
> In EAP 5, the JBoss Cache session manager (used for distributable apps) has the same JMX object name as the JBoss Web manager (used for non-distributable apps), but does not have the same attributes.  StatusTransformer does not handle this.

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