Jersey 1.9 RESTful Service Resource Base Redefinition At Deployment
(Doc ID 2267572.1)
Last updated on AUGUST 04, 2023
Applies to:
Oracle WebLogic Server - Version 10.3.6 and laterInformation 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.xx.x.xx>:<port#1>/<rest-service>/jersey/<appname>.wadl) should show resource base as
http://<xxx.xx.x.xx>:<port#1>/<rest-service>/jersey/ but shows as http://<hostname.domainname>:80/<rest-service>/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 |