[MGNLWLS-18] CLONE - Can't install modules because of conflict on Weblogic with Jersey library Created: 15/Mar/18 Updated: 15/Mar/18 Resolved: 15/Mar/18 |
|
| Status: | Closed |
| Project: | Oracle WebLogic Compatibility |
| Component/s: | None |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 2.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Dai Ha | Assignee: | Dai Ha |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | consolidation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Weblogic 12.1.3 |
||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Story Points: | 5 | ||||||||
| Description |
|
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 |
| Comments |
| Comment by Dai Ha [ 15/Mar/18 ] |
|
Fixed with changeset https://git.magnolia-cms.com/projects/ENTERPRISE/repos/weblogic/pull-requests/1/overview. |