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

list operation causes InstanceNotFoundException on JBoss for ResourceAdapterModule #178

Closed
jcordes73 opened this issue Jan 8, 2015 · 0 comments
Milestone

Comments

@jcordes73
Copy link
Contributor

When installing jolokia on JBoss EAP 6.3 with a resource-adapter configured (f.e. for JBoss A-MQ) and calling the list operation an InstanceNotFoundException is generated:

"javax.management.InstanceNotFoundException: JBAS019906: Could not find ResourceAdapterModule"

The full response below:

{"error_type":"java.lang.IllegalArgumentException","error":"java.lang.IllegalArgumentException : Cannot find MBean : javax.management.InstanceNotFoundException: JBAS019906: Could not find ResourceAdapterModule","status":400,"request":{"type":"list"},"stacktrace":"java.lang.IllegalArgumentException: Cannot find MBean : javax.management.InstanceNotFoundException: JBAS019906: Could not find ResourceAdapterModule\n\tat org.jolokia.backend.executor.AbstractMBeanServerExecutor.each(AbstractMBeanServerExecutor.java:72)\n\tat org.jolokia.handler.ListHandler.doHandleRequest(ListHandler.java:93)\n\tat org.jolokia.handler.ListHandler.doHandleRequest(ListHandler.java:42)\n\tat org.jolokia.handler.JsonRequestHandler.handleRequest(JsonRequestHandler.java:160)\n\tat org.jolokia.backend.MBeanServerHandler.dispatchRequest(MBeanServerHandler.java:97)\n\tat org.jolokia.backend.LocalRequestDispatcher.dispatchRequest(LocalRequestDispatcher.java:98)\n\tat org.jolokia.backend.BackendManager.callRequestDispatcher(BackendManager.java:411)\n\tat org.jolokia.backend.BackendManager.handleRequest(BackendManager.java:158)\n\tat org.jolokia.http.HttpRequestHandler.executeRequest(HttpRequestHandler.java:197)\n\tat org.jolokia.http.HttpRequestHandler.handleGetRequest(HttpRequestHandler.java:86)\n\tat org.jolokia.http.AgentServlet$4.handleRequest(AgentServlet.java:435)\n\tat org.jolokia.http.AgentServlet.handleSecurely(AgentServlet.java:320)\n\tat org.jolokia.http.AgentServlet.handle(AgentServlet.java:291)\n\tat org.jolokia.http.AgentServlet.doGet(AgentServlet.java:252)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:734)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:847)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\n\tat io.hawt.web.AuthenticationFilter.doFilter(AuthenticationFilter.java:148)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\n\tat io.hawt.web.CORSFilter.doFilter(CORSFilter.java:42)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\n\tat io.hawt.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:28)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\n\tat io.hawt.web.SessionExpiryFilter.process(SessionExpiryFilter.java:103)\n\tat io.hawt.web.SessionExpiryFilter.doFilter(SessionExpiryFilter.java:47)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)\n\tat org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)\n\tat java.lang.Thread.run(Thread.java:744)\nCaused by: javax.management.InstanceNotFoundException: JBAS019906: Could not find ResourceAdapterModule\n\tat org.jboss.as.jsr77.managedobject.J2EEDeployedObjectHandlers.findHandler(J2EEDeployedObjectHandlers.java:208)\n\tat org.jboss.as.jsr77.managedobject.J2EEDeployedObjectHandlers.getMBeanInfo(J2EEDeployedObjectHandlers.java:147)\n\tat org.jboss.as.jsr77.managedobject.ManagedObjectHandlerRegistry.getMBeanInfo(ManagedObjectHandlerRegistry.java:112)\n\tat org.jboss.as.jsr77.subsystem.JSR77ManagementMBeanServer.getMBeanInfo(JSR77ManagementMBeanServer.java:189)\n\tat org.jboss.as.jmx.PluggableMBeanServerImpl.getMBeanInfo(PluggableMBeanServerImpl.java:581)\n\tat org.jboss.as.jmx.PluggableMBeanServerImpl.getMBeanInfo(PluggableMBeanServerImpl.java:569)\n\tat org.jolokia.handler.ListHandler$ListMBeanEachAction.lookupMBeanInfo(ListHandler.java:207)\n\tat org.jolokia.handler.ListHandler$ListMBeanEachAction.callback(ListHandler.java:182)\n\tat org.jolokia.backend.executor.AbstractMBeanServerExecutor.each(AbstractMBeanServerExecutor.java:64)\n\t... 41 more\n"}

jcordes73 added a commit to jcordes73/jolokia that referenced this issue Jan 8, 2015
@rhuss rhuss closed this as completed in 2985f39 Jan 10, 2015
@rhuss rhuss added this to the 1.3.0 milestone Jan 10, 2015
@rhuss rhuss modified the milestones: 1.2.4, 1.3.0 May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants