Launching Access Tester over Command Line

(Doc ID 2368367.1)

Last updated on APRIL 18, 2018

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.2.3.0 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 /oracle/Middleware/user_projects/domains/OAM_Domain/config/config.xml. unexpected element (uri:"http://xmlns.oracle.com/weblogic/domain", local:"domain"). Expected elements are <{http://xmlns.oracle.com/idm/oam/oamtest/schema}oamtestconfig>,<{http://xmlns.oracle.com/idm/oam/oamtest/schema}oamtestscript>,<{http://xmlns.oracle.com/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="/oracle/Middleware/Oracle_IDM1/oam/server/tester/ebs" -Dcontrol.ignorecontent="true" -jar oamtest.jar

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

Changes

 

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