0 Replies Latest reply on Apr 19, 2013 4:49 AM by Wells G

    picketlink.idm  -- createCriteria is not valid without active transaction

    Wells G Novice

      Today , our app occurs some exception as follows :

       

      org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl] (ajp-127.0.0.1-8009-50) Exception occurred:

      org.hibernate.HibernateException: createCriteria is not valid without active transaction

       

      Caused by: org.hibernate.HibernateException: createCriteria is not valid without active transaction

          at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:339)

          at sun.proxy.$Proxy263.createCriteria(Unknown Source)

          at org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.getHibernateIdentityObject(HibernateIdentityStoreImpl.java:2607)

          ... 40 more

       

      But what confused me is that in the early days it worked well , and today when we login the app , it reported above error , anyone knows what's wrong ?