OpenSSO: Policy Agent 2.2 - Oracle Waveset "Web.Xml" Throwing Error After Installing on Sun AS 9.0/9.1 (Doc ID 1318175.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle OpenSSO - Version: 8.0.1.1 to 8.0.2 - Release: 8.0 to 8.0
Oracle Waveset - Version: 8.0 to 8.1.1   [Release: 8.0 to 8.1]
Oracle GlassFish Server - Version: 9.0 to 9.1   [Release: 9.0 to 9.1]
Information in this document applies to any platform.

Symptoms



Error seen in server.log when deploying application:
AS 9.1 is refusing to deploy the application with the following error:

Deploying application in domain failed; Error loading deployment descriptors for module [idm] Line 1 Column 19 -- Deployment descriptor file WEB-INF/web.xml in archive [idm]. The document type declaration for root element type "web-app" must end with '>'. Error loading deployment descriptors for module [idm] Line 1 Column 19 -- Deployment descriptor file WEB-INF/web.xml in archive [idm]. The document type declaration for root element type "web-app" must end with '>'.

" loading deployment descriptors for module [idm] Line 706 Column 11 -- Deployment descriptor file WEB-INF/web.xml in archive [idm]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param...
cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://java.sun.com/xml/ns/j2ee":filter-class}' is expected."

Changes

Sun Access Manager Policy Agent 2.2 for Sun AS 9.0/9.1 -

IDM/OpenSSO

Use the following deployment:
- node1 : Sun AS9.1 (build 58g - FCS) / MySql5 / IDM 7.1.1
- node2 : JES5u1 (DS+AS+AM Realm+PS+..)

On node1, install and configure the Sun AM 2.2 Policy Agent for AS9.1 to protect the idm application.

web.xml contains Deployment Descriptor as provided in example web.xml included with Intergration guide.

http://download.oracle.com/docs/cd/E19575-01/820-4729/ggtzd/index.html

 

The proposed sample file in the Intergration guide used to modify the deployment descriptor is not working.
This sample is provided on page 68. By setting the <DOCTYPE> element as shown in the code example.


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