Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10152

IronJacamar isn't compatible with picketbox version used in WildFly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR18
    • 7.1.0.DR15, 7.1.0.DR17
    • Build System, JCA
    • None

      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.

              psakar@redhat.com Petr Sakar (Inactive)
              msimka@redhat.com Martin Simka
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: