[magnolia-dev] [JIRA] (MGNLREST-94) REST modules not working with Weblogic

"JIRA (on behalf of Alberto Alvarado)" <jira-O8DnXSz/[email protected]>
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <[email protected]>
Alberto Alvarado created an issue

Magnolia REST Framework / https://jira.magnolia-cms.com/browse/MGNLREST-94 MGNLREST-94

REST modules not working with Weblogic

Issue Type:
Bug

Assignee:
Unassigned

Attachments:
log.txt

Created:
02/Jun/17 2:57 PM

Environment:
Weblogic 12.1.3
Magnolia 5.5.x

Priority:
Critical

Reporter:
Alberto Alvarado

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

https://jira.magnolia-cms.com/browse/MGNLREST-94#add-comment
Add Comment

This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)

----------

----------------------------------------------------------------

For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html

Alternatively, use our forums: http://forum.magnolia-cms.com/

To unsubscribe, E-mail to: <[email protected]>

----------------------------------------------------------------
(unnamed) (image/png, 425 B) - not displayed
(unnamed) (image/png, 1.1 KB) - not displayed
(unnamed) (image/png, 2.9 KB) - not displayed
(unnamed) (image/png, 528 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.