My Oracle Support Banner

Launching Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3) Access Tester over Command Line (Doc ID 2368367.1)

Last updated on AUGUST 29, 2023

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.

Symptoms

On : Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3) version, Configuration Service


Access Tester with command line mode

After execution the command got the error like "Unable to load server configuration from/.../.../config.xml"

ERROR
-----------------------

][error] Unable to load server configuration from <MIDDLEWARE_HOME>/user_projects/domains/<DOMAIN_NAME>/config/config.xml. unexpected element (uri:"http://<OAM_HOSTNAME>:<OAM_PORT>/weblogic/domain", local:"domain"). Expected elements are <{http://<OAM_HOSTNAME>:<OAM_PORT>/idm/oam/oamtest/schema}oamtestconfig>,<{http://<OAM_HOSTNAME>:<OAM_PORT>/idm/oam/oamtest/schema}oamtestscript>,<{http://<OAM_HOSTNAME>:<OAM_PORT>/idm/oam/oamtest/schema}oamteststats>



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Try to open access tester by command line by running below command
java -Dscript.scriptfile="<OAM_ORACLE_HOME>/oam/server/tester/ebs" -Dcontrol.ignorecontent="true" -jar oamtest.jar

BUSINESS IMPACT
-----------------------
Unable to launch access tester from command line

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
Cause
Solution


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