[JBoss JIRA] (GTNPORTAL-3581) IDM Pool become full due to hibernate session leak
by Trong Tran (JIRA)
Trong Tran created GTNPORTAL-3581:
-------------------------------------
Summary: IDM Pool become full due to hibernate session leak
Key: GTNPORTAL-3581
URL: https://issues.jboss.org/browse/GTNPORTAL-3581
Project: GateIn Portal
Issue Type: Bug
Reporter: Trong Tran
Assignee: Trong Tran
Fix For: 3.9.0.Final
All ApplicationLifecycle starts should be always ended to prevent idm session leak.
We noticed in some cases that The ApplicationLifeCycle isn't closed :
{code:java}try {
for (ApplicationLifecycle<RequestContext> lifecycle : getApplicationLifecycle()) {
lifecycle.onStartRequest(this, context);
}
...
.....
} finally {
WebuiRequestContext.setCurrentInstance(parentAppRequestContext);
}{code}
This case appears In /webui/portlet/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java in these methods :
- serveResource(ResourceRequest req, ResourceResponse res)
- processEvent(EventRequest req, EventResponse res)
- processAction(ActionRequest req, ActionResponse res)
*PS* : In the comment of the method serverResource(), it's already mentioned that "onEndRequest()" call should be invoqued in the finally block.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 10 months
[JBoss JIRA] (GTNPORTAL-3580) Make the PicketLinkIDMService hot deployed with new configuration
by Neji Gammoudi (JIRA)
Neji Gammoudi created GTNPORTAL-3580:
----------------------------------------
Summary: Make the PicketLinkIDMService hot deployed with new configuration
Key: GTNPORTAL-3580
URL: https://issues.jboss.org/browse/GTNPORTAL-3580
Project: GateIn Portal
Issue Type: Feature Request
Components: Identity integration
Affects Versions: 3.5.10.Final
Reporter: Neji Gammoudi
Assignee: Boleslaw Dawidowicz
I want to make an administration LDAP screen for eXoPlatform from which i can update the LDAP configuration for different implementations (openldap,opends,ad,...) that requires the load of different XML configuration files such as picketlink-idm-msad-config.xml and picketlink-idm-ldap-config.xml ,...
I didn't found any way to make the PciketLinkIDMService hot deployed with new configuration.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 10 months