WLS 10.3.4 - URL pattern in servlet mapping not working after upgrade from WLS 8.1, resulting in HTTP 404 error

(Doc ID 1296809.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.4 and later
Information in this document applies to any platform.

Symptoms

After upgrading a working web application (webapp) from WLS 8.1 to WLS 10.3.4, webapp is returning HTTP 404 errors.

The servlet mapping in web.xml is --

... ... ...
<servlet-mapping>
<servlet-name>RegValidator</servlet-name>
<url-pattern>/RegValidator/</url-pattern>
</servlet-mapping>
... ... ...

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