]
RH Bugzilla Integration commented on GTNPORTAL-3525:
----------------------------------------------------
Honza Fnukal <hfnukal(a)redhat.com> changed the Status of [bug
JTA - HibernateException: Unable to locate current JTA transaction
------------------------------------------------------------------
Key: GTNPORTAL-3525
URL:
https://issues.jboss.org/browse/GTNPORTAL-3525
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.8.2.Final
Reporter: Marek Posolda
Assignee: Marek Posolda
Fix For: 3.8.3.Final, 3.9.0.Final
See
https://bugzilla.redhat.com/show_bug.cgi?id=1122138 . Snipet from tacktrace:
{code}
[0m08:24:01,660 INFO [org.exoplatform.services.organization.idm.UserDAOImpl]
(http-vmg39.mw.lab.eng.bos.redhat.com/10.16.88.117:8080-5) Cannot obtain user: john; :
org.picketlink.idm.common.exception.IdentityException: Cannot obtain Hibernate Session
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.getHibernateSession(HibernateIdentityStoreImpl.java:2798)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.getHibernateIdentityObjectType(HibernateIdentityStoreImpl.java:2850)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.getHibernateIdentityObject(HibernateIdentityStoreImpl.java:2896)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.safeGet(HibernateIdentityStoreImpl.java:2821)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.findIdentityObject(HibernateIdentityStoreImpl.java:684)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.findIdentityObject(WrapperIdentityStoreRepository.java:171)
[picketlink-idm-core-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.findUser(PersistenceManagerImpl.java:426)
[picketlink-idm-core-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.exoplatform.services.organization.idm.UserDAOImpl.getPopulatedUser(UserDAOImpl.java:727)
[exo.portal.component.identity-3.8.4.Final-redhat-1.jar:3.8.4.Final-redhat-1]
at
org.exoplatform.services.organization.idm.UserDAOImpl.findUserByName(UserDAOImpl.java:294)
[exo.portal.component.identity-3.8.4.Final-redhat-1.jar:3.8.4.Final-redhat-1]
at
org.exoplatform.web.login.FilterDisabledLoginModule.login(FilterDisabledLoginModule.java:72)
[exo.portal.component.web.security-3.8.4.Final-redhat-1.jar:3.8.4.Final-redhat-1]
...
Caused by: org.hibernate.HibernateException: Unable to locate current JTA transaction
at
org.hibernate.context.internal.JTASessionContext.currentSession(JTASessionContext.java:89)
at
org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:993)
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreSessionImpl.getSessionContext(HibernateIdentityStoreSessionImpl.java:57)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
at
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.getHibernateSession(HibernateIdentityStoreImpl.java:2789)
[picketlink-idm-hibernate-1.4.5.Final-redhat-1.jar:1.4.5.Final-redhat-1]
... 89 more
{code}