Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBoss AS 7 configuration should not be needed #289

Closed
GoogleCodeExporter opened this issue Jun 21, 2015 · 1 comment
Closed

JBoss AS 7 configuration should not be needed #289

GoogleCodeExporter opened this issue Jun 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. When deploying a webapp including javamelody in JBoss AS 7 and without 
configuration of modules, the following stack-trace is printed and the 
deployment of the webapp fails:

WARN  [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC0000
4: Failure during stop of service jboss.web.deployment.default-host./test: 
java.lang.NoClassDefFoundError: com/sun/management/OperatingSystemMXBean
        at net.bull.javamelody.MemoryInformations.<init>(MemoryInformations.java:75)
        at net.bull.javamelody.JavaInformations.<init>(JavaInformations.java:140)
        at net.bull.javamelody.HtmlController.writeHtmlToLastShutdownFile(HtmlController.java:297)
        at net.bull.javamelody.MonitoringController.writeHtmlToLastShutdownFile(MonitoringController.java:248)
        at net.bull.javamelody.FilterContext.destroy(FilterContext.java:288)
        at net.bull.javamelody.MonitoringFilter.destroy(MonitoringFilter.java:141)
        at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:504)
        at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3277)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3960)
        at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:86)
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909)
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

There is documentation to configure JBoss AS 7 and to make it work here:
https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Usage_of_in_JBoss_AS
_7_%28which_uses_OSGI%29

It is expected that it works without needing JBoss AS 7 configuration.

Original issue reported on code.google.com by evernat@free.fr on 2 Mar 2013 at 6:38

@GoogleCodeExporter
Copy link
Author

It is fixed: configuration of JBoss AS 7 modules is not needed anymore.
It is committed in trunk (revision 3297) and ready for the next release (1.44)

Original comment by evernat@free.fr on 2 Mar 2013 at 6:46

  • Changed state: Fixed
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant