Weblogic 12.1.2 & Jersey 2.7

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

Weblogic 12.1.2 & Jersey 2.7

Hi All - Anyone have an elegant way to get a Jersey 2.7 app working on weblogic 12.1.2? Below is what I added to my weblogic.xml but dang does this approach seem brittle. Although the list seems short, it was a painful process that took hours of inspecting TONs of different exceptions to come up with that list.

And it's odd they call it "prefer-application-packages", i didn't find that very accurate. It's more like "only-look-in-application-for-packages", because if you put java.* in one of those your app will fail with class not found exception for java.lang.Object.

<!-- <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes> -->
<!-- <wls:package-name>org.codehaus.jackson.*</wls:package-name> -->
<!-- <wls:package-name>org.jvnet.*</wls:package-name> -->
Reply | Threaded
Open this post in threaded view

Re: Weblogic 12.1.2 & Jersey 2.7

This post has NOT been accepted by the mailing list yet.
The author has deleted this message.