[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-2088) Infinite loop when edit banner portlet with invalid value

Michal Vanco (JIRA) jira-events at lists.jboss.org
Fri Sep 9 06:03:26 EDT 2011


Infinite loop when edit banner portlet with invalid value
---------------------------------------------------------

                 Key: GTNPORTAL-2088
                 URL: https://issues.jboss.org/browse/GTNPORTAL-2088
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.2.0-M01, 3.1.0-GA
         Environment: verified with EPP 5.2.0 DEV03 and 5.1.1 GA
            Reporter: Michal Vanco
             Fix For: 3.2.0-M02
         Attachments: epp52.jps

When you edit banner portlet with invalid value, close & open browser -> you are not able to access portal.
With each refresh it takes another database connection and after 20 attempts you end up with:

13:20:10,748 ERROR [JDBCExceptionReporter] Unable to get managed connection for gatein-idm; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for gatein-idm)

I'm also attaching thread dump where you can see that 20 threads are running in following classes:
at java.util.HashMap.get(HashMap.java:300)
at org.exoplatform.resolver.ApplicationResourceResolver.getResourceResolver(ApplicationResourceResolver.java:70)
at org.exoplatform.webui.application.WebuiRequestContext.getResourceResolver(WebuiRequestContext.java:184)

I think there is problem with while loop in WebuiRequestContext.getResourceResolver method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list