My Oracle Support Banner

Sites Fails to Start after Adding a 404 Page in web.xml Due to "string value 'xxx/xxx'' does not match pattern for war-pathType" (Doc ID 1947852.1)

Last updated on JUNE 05, 2023

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Sites fails to start due to -

weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-datatype-valid.1.1: string value 'path/to/404.html' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:

Changes

An error page is added into web.xml:

<error-page>
<error-code>404</error-code>
<location>path/to/404.html</location>
</error-page>

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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