OpenSSO update patch 4 running updateschema.sh throws FileNotFound Exception (Doc ID 1501278.1)

Last updated on MARCH 19, 2013

Applies to:

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

Symptoms

When upgrading OpenSSO 8 to a new patch level we must run as a last step updatschema.sh to load into the config store new attributes.

When running updateschema.sh we can get errors about the script not being able to find the needed xml files that contain this new schema elements like:

Executing class, com.sun.identity.cli.schema.SetServiceRevisionNumber.
Authenticating...
Authenticated.
Service Schema, sunIdentityRepositoryService was modified.
/opt/ssoAdminTools8u2P4/opensso/bin//ssoadm add-attrs -s sunIdentityRepositoryService -t Organization -u amadmin -f ssoadm.pw.file -v -F add_idreposervice_attr.xml
Process Request ...
Constructing Request Context...
Validating mandatory options...
Processing Sub Command ...

Executing class, com.sun.identity.cli.schema.AddAttributeSchema.
Authenticating...
Authenticated.
com.sun.identity.cli.CLIException: add_idreposervice_attr.xml (No such file or directory)

 

Executing class, com.sun.identity.cli.schema.SetServiceRevisionNumber.
Authenticating...
Authenticated.
Service Schema, iPlanetAMSessionService was modified.
/opt/ssoAdminTools8u2P4/opensso/bin//ssoadm add-attrs -s iPlanetAMSessionService -t Global -u amadmin -f ssoadm.pw.file -v -F add_session_attr.xml
Process Request ...
Constructing Request Context...
Validating mandatory options...
Processing Sub Command ...

Executing class, com.sun.identity.cli.schema.AddAttributeSchema.
Authenticating...
Authenticated.
com.sun.identity.cli.CLIException: add_session_attr.xml (No such file or directory)

 

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