OpenSSO 8.0: updateschema.sh Some Errormessage Of No Such File Or Directory

(Doc ID 1339196.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle OpenSSO - Version: 8.0 and later   [Release: 8.0 and later ]
Information in this document applies to any platform.

Symptoms


On Applications : OpenSSO 8.0 update 2 patch 3
When attempting to script updateschema.sh the following error occurs.

-- Error
com.sun.identity.cli.CLIException: add_webagent_attrs.xml (No such file or directory)
at com.sun.identity.cli.schema.AddAttributeSchema.addAttributeSchema(AddAttributeSchema.java:164)
at com.sun.identity.cli.schema.AddAttributeSchema.handleRequest(AddAttributeSchema.java:96)

-- Expected Behaviour
You would not expect to see the errors indicating a missing file

-- What is working
updateschema.sh from the directory where the script is located

-- Steps
The issue can be reproduced at will with the following steps.
1. execute updateschema.sh from outside the directory were the script is located


-- Business Impact
The update procedure needs to be re-run, some changes were not applied and the patch will not work as expected

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