HandlerChain Does Not Work When Using Relative Path (Doc ID 1561519.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Weblogic Server - Version 10.3.6 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

A WebService is annotated with HandlerChain using a relative path:

For example:

When the WebService is deployed in non-exploded format (for example a .war file), the handler-chain.xml file is not being used and hence handlers are not invoked.
When the same WebService is deployed in exploded format, the handler-chain.xml file is used and handlers are invoked.

 

The same can be seen when deploying for example from OEPE:

Cause

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