Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-50

Unable to boostrap picketlink IDM with hibernate store and container managed data source

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • IDM_1.X
    • None

      We are trying to embed picketlink IDM into an EJB environment using the Hibernate identity store. The bootstrap process fails because it is trying to manage the transaction directly.

      There is code in HibernateIdentityStore that seems to allow you to turn off this behaviour, but it seems to be broken:

            String manageTransactionDuringBootstrap = configurationMD.getOptionSingleValue(MANAGE_TRANSACTION_DURING_BOOTSTRAP);
      
            if (manageTransactionDuringBootstrap != null && manageTransactionDuringBootstrap.equalsIgnoreCase("false"))
            {
               this.isAllowNotDefinedAttributes = false;
            }
      

      It checks the manageTransactionDuringBootstrap configuration but then sets the isAllowNotDefinedAttributes field

            psilva@redhat.com Pedro Igor Craveiro
            brockj_jira Brock Janiczak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: