Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-82

Can't install modules because of conflict on Weblogic with Jersey library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1
    • 1.2
    • None
    • Weblogic 12.1.3
      Magnolia 5.5.x
    • Kromeriz 129, Saigon 131, Saigon 132, Saigon 133, Saigon 135, Saigon 136, Saigon 137, Saigon 138
    • 5

      REST modules currently use resteasy-jaxrs-3.0.19.Final library which in turn uses jboss-jaxrs-api_2.0_spec.

      Weblogic 12.1.3 uses internally jersey-bundle-1.9 and jsr311-api-1.1.1.

      The problem is that both libraries are having a conflict which prevents magnolia's war to deploy:

      <Servlet: "Jersey" failed to preload on startup in Web application: "test-stk-webapp-1.0-SNAPSHOT.war".
      com.sun.jersey.spi.inject.Errors$ErrorMessagesException
      	at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
      	at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136)
      	at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199)
      	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
      	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)
      

      On previous versions of the REST modules (in Magnolia 5.4.x), resteasy-jaxrs-3.0.4.Final was being used which didn't have any dependency with jboss-jaxrs-api_2.0_spec and didn't have any conflicts deploying on Weblogic.

      Full log of the deploy issue attached

        Acceptance criteria

              dai.ha Dai Ha
              ebguilbert Edwin Guilbert
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 6d 1.5h Remaining Estimate - 1d 6.5h
                    1d 6.5h
                    Logged:
                    Time Spent - 6d 1.5h Remaining Estimate - 1d 6.5h
                    6d 1.5h