Jersey 1.9 RESTful Service Resource Base Redefinition At Deployment (Doc ID 2267572.1)

Last updated on MAY 18, 2017

Applies to:

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

Goal

We have a REST Service deployed on a WebLogic Server 11g (10.3.6.0) cluster as Web Archive.

Accessing the WADL (http://xxx.yy.a.zz:16200/cwe-rest/jersey/application.wadl) should show resource base as
http://xxx.yy.a.zz:16200/cwe-rest/jersey/ but shows as http://company_name.internal.uk:80/cwe-rest/jersey/

There is no Java class extending javax.ws.rs.core.Application in the Web Archive where @ApplicationPath("override/the/base/uri") could have been specified.

We need to achieve the same on another server.

How to do this?
 

Solution

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