Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Release Notes
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.
Attachments
Issue Links
- is blocked by
-
JBAS-5878 Register JBossCacheManager in JMX using JBosWeb Registry.registerComponent
- Closed