Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-1346

IronJacamar isn't compatible with picketbox version used in WildFly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • WildFly/IronJacamar 1.4.2.Final
    • Build
    • None
    • Included in IJ 1.4.4

      Ironjacamar is compiled with Picketbox 4.0.19.Final and WildFly comes with 5.0.1.Final. These versions are not binary compatible, I'm getting

      Caused by: java.lang.NoSuchMethodError: org.jboss.security.identity.RoleGroup.getRoles()Ljava/util/List;
              at org.jboss.jca.core.security.picketbox.PicketBoxSecurityContext.getRoles(PicketBoxSecurityContext.java:76)
              at org.jboss.as.test.integration.jca.security.WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase$MyWork.run(WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase.java:304)
              at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)
              ... 6 more
      

      signature changed in this case from List<Role> getRoles() to Collection<Role> getRoles()

      I tried to compile IJ with 5.0.1 and my test then works.

              smaestri@redhat.com Stefano Maestri
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: