WLS 12.2.1: Jersey 1.1 Style Servlet-Mapping Ignored (Doc ID 2149796.1)

Last updated on JUNE 09, 2017

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


When attempting to deploy a Jersey 1.1 application in 12.2.1, it was discovered that the servlet-mapping for com.sun.jersey.spi.container.servlet.ServletContainer is ignored. 

The application works fine in 12.1.3. 

For example, with:

In 12.1.3 the URI is '/weblogicupgrade/rest/test/helloworld'

In 12.2.1 the URI is '/weblogicupgrade/resources/test/helloworld'


Per doc, https://docs.oracle.com/middleware/1221/wls/RESTF/jersey-back-comp.htm#RESTF385, servlet-mapping should take priority. A lower priority is the default 'resources' URI.




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms