[ 
https://issues.apache.org/jira/browse/GERONIMO-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757865#action_12757865
 ] 

Jack Cai commented on GERONIMO-4833:
------------------------------------

There are quite a few problems in the monitoring code in branch 2.1. 
Fortunately David has heavily refactored the code for 2.2.

For now, I will be creating a fix just for this problem for 2.1. 

> javax.resource.ResourseException in too many graphs in one view after disable 
> server
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4833
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4833
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: monitoring
>    Affects Versions: 2.1.4
>         Environment: Windows XP sp2
> Sun jdk 1.5
>            Reporter: Vanessa Wang 
>
> 1 add a jmx server 
> 2 add a view with more than 15 graphs
> 3 disable the jmx server
> 4 click the new view you just added
> error occur:
> SQL state: null
> SQL error: 0
> java.sql.SQLException
>         at 
> org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:6)
>         at 
> org.apache.geronimo.monitoring.console.util.DBManager.createConnectin(DBManager.java:53)
>         at 
> org.apache.geronimo.monitoring.console.util.DBManager.<init>(DBManagr.java:39)
>         at 
> org.apache.geronimo.monitoring.console.GraphsBuilder.buildOneDB(GrapsBuilder.java:48)
>         at 
> jsp.WEB_002dINF.view.monitoringPage_jsp._jspService(monitoringPage_jp.java:139)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisatcher.java:646)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicationispatcher.java:551)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDipatcher.java:488)
>         at 
> org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(ortletRequestDispatcherImpl.java:106)
>         at 
> org.apache.geronimo.monitoring.console.MonitoringPortlet.doView(MonioringPortlet.java:313)
>         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
>         at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
>         at 
> org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:141)
>         at 
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:20)
>         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisatcher.java:646)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicationispatcher.java:551)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDipatcher.java:488)
>         at 
> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPorletInvokerService.java:167)
>         at 
> org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPorletInvokerService.java:101)
>         at 
> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainermpl.java:173)
>         at 
> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:12)
>         at 
> jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dkin_jsp.java:102)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisatcher.java:646)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicationispatcher.java:551)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDipatcher.java:488)
>         at 
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrar.java:968)
>         at 
> jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspx_meth_c_005fforEac_005f0(default_002dtheme_jsp.java:238)
>         at 
> jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002theme_jsp.java:124)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisatcher.java:646)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplictionDispatcher.java:436)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(Applicationispatcher.java:374)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDipatcher.java:302)
>         at 
> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServle.java:151)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PltoURLRebuildFilter.java:65)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:235)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFiler.java:125)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(AppicationFilterChain.java:235)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationilterChain.java:206)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperalve.java:233)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextalve.java:191)
>         at 
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSbjectValve.java:56)
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthentictorBase.java:525)
>         at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValveinvoke(GeronimoStandardContext.java:406)
>         at 
> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GernimoBeforeAfterValve.java:47)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ava:128)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ava:102)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVave.java:109)
>         at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java567)
>         at 
> org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(ThreadClenerValve.java:40)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jaa:293)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav:849)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.procss(Http11Protocol.java:583)
>         at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.resource.ResourceException: No ManagedConnections available 
> wihin configured blocking timeout ( 5000 [ms] ) for pool 
> org.apache.geronimo.conn
> ctor.outbound.singlepoolconnectionintercep...@a68a10
>         at 
> org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionIterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:86)
>         at 
> org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptr.getConnection(TransactionEnlistingInterceptor.java:46)
>         at 
> org.apache.geronimo.connector.outbound.TransactionCachingInterceptorgetConnection(TransactionCachingInterceptor.java:96)
>         at 
> org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.gtConnection(ConnectionHandleInterceptor.java:43)
>         at 
> org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnectionTCCLInterceptor.java:39)
>         at 
> org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptorgetConnection(ConnectionTrackingInterceptor.java:66)
>         at 
> org.apache.geronimo.connector.outbound.AbstractConnectionManager.allcateConnection(AbstractConnectionManager.java:87)
>         at 
> org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:5)
>         ... 75 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to