My Oracle Support Banner

DeploymentException- Url-pattern <pattern> In Web Application <app> Is Mappped To Multiple Servlets (Doc ID 2404407.1)

Last updated on JUNE 18, 2018

Applies to:

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

Symptoms

Application in production which has nearly 15 JAX-WS webservices included in it. The service/endpoint implementation is done as in the sample below:


The code if corrected to include only @WebService or @WebServlet in the sample, results in successful deployment.

If both are included, the deployment fails. Would it be needed to do any change in the application code?

Or, is there any custom setting in WLS 12.2.1.2.0 whereby the application deployment can work like how it used to work in WLS 12.1.3.0.0 ?

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.