0 Replies Latest reply on Apr 9, 2015 9:16 AM by Leandro Iriarte

    Exception using Jedis: Cannot obtain mxbean interface for: class org.apache.commons.pool2.impl.GenericObjectPool

    Leandro Iriarte Newbie

      The following exception is thrown when Jedis 2.6.2 (uses apache commons-pool2 2.0) on JBoss EAP 5.2:


      javax.management.NotCompliantMBeanException: Cannot obtain mxbean interface for: class org.apache.commons.pool2.impl.GenericObjectPool


      The full stack trace is:

       

        at org.jboss.mx.mxbean.MXBeanMetaData.<init>(MXBeanMetaData.java:174)

        at org.jboss.mx.mxbean.MXBeanDelegate.buildMBeanInfo(MXBeanDelegate.java:456)

        at org.jboss.mx.mxbean.MXBeanDelegate.getMBeanInfo(MXBeanDelegate.java:334)

        at org.jboss.mx.server.RawDynamicInvoker.getMBeanInfo(RawDynamicInvoker.java:187)

        at org.jboss.mx.server.RawDynamicInvoker.preRegister(RawDynamicInvoker.java:205)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:700)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:227)

        at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)

        at org.apache.commons.pool2.impl.BaseGenericObjectPool.jmxRegister(BaseGenericObjectPool.java:883)

        at org.apache.commons.pool2.impl.BaseGenericObjectPool.<init>(BaseGenericObjectPool.java:130)

        at org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:107)

        at redis.clients.jedis.JedisPool.<init>(JedisPool.java:38)

        at com.fuseim.search.service.CatalogItemCache.getCacheConnection(CatalogItemCache.java:32)

        at com.fuseim.search.service.CatalogItemCache.exists(CatalogItemCache.java:163)

        at com.fuseim.search.service.SearchEvent.doFindItem(SearchEvent.java:163)

        at com.fuseim.search.service.SearchEvent.findItem(SearchEvent.java:139)

        at com.fuseim.search.service.SearchEngine.findItem(SearchEngine.java:153)

        at com.fuseim.search.action.SearchAndFindController.doFindItem(SearchAndFindController.java:212)

        at com.fuseim.search.action.SearchAndFindController.findItem(SearchAndFindController.java:201)

        at com.fuseim.search.action.CatalogItemSearchController.findItem(CatalogItemSearchController.java:127)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)

        at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

        at com.fuseim.common.util.MethodProfilingInterceptor.aroundInvoke(MethodProfilingInterceptor.java:35)

        at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)

        at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:187)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:72)

        at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

        at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

        at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

        at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

        at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)

        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

        at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)

        at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)

        at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)

        at com.fuseim.search.action.CatalogItemSearchController_$$_javassist_seam_8.findItem(CatalogItemSearchController_$$_javassist_seam_8.java)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)

        at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)

        at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)

        at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)

        at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

        at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175)

        at org.jboss.seam.navigation.Page.preRender(Page.java:311)

        at org.jboss.seam.navigation.Pages.preRender(Pages.java:351)

        at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:560)

        at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:471)

        at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:147)

        at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117)

        at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)

        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)

        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.fuseim.webapp.LogAttributeFilter.doFilter(LogAttributeFilter.java:46)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.fuseim.site.framework.TenantContextFilter.doFilter(TenantContextFilter.java:49)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)

        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)

        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)

        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

        at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:63)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

        at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

        at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.fuseim.webapp.URLFilter.doFilter(URLFilter.java:69)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.fuseim.site.framework.InternetExplorerFilter.doFilter(InternetExplorerFilter.java:20)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

        at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)

        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:385)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

        at java.lang.Thread.run(Thread.java:745)