My Oracle Support Banner

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.