Get Error: Could Not Find Or Load Main Class Com.oracle.ouaf.oem.install.OraGenSec.

(Doc ID 2329715.1)

Last updated on NOVEMBER 17, 2017

Applies to:

Oracle Utilities Work and Asset Management Enterprise Edition - Version 2.2.0.0.0 and later
Information in this document applies to any platform.

Goal

Got error

Error: Could not find or load main class com.oracle.ouaf.oem.install.OraGenSec

when ran the command

java com.oracle.ouaf.oem.install.OraGenSec -l oragensec.log -d <DBUSER>,<DBPASS>,jdbc:oracle:thin::@<DB_Server>:1521/<SERVICE_NAME> -a A -r <R_USER_ROLE>,<RW_USER_ROLE> -u <RWUSER>,<RUSER>

REF:

<Configuring Security> (page 5-2)

3. Run the following command with the defined parameters on the command prompt.

java com.oracle.ouaf.oem.install.OraGenSec -l oragensec.log -d <DBUSER>,<DBPASS>,jdbc:oracle:thin::@<DB_Server>:1521/<SERVICE_NAME> -a A -r <R_USER_ROLE>,<RW_USER_ROLE> -u <RWUSER>,<RUSER>

via DOC

Oracle Utilities Work and Asset Management Database Administrator Guide

Release 2.2.0

E81399-01

April 2017

URL = https://docs.oracle.com/cd/E81394_01/files/WAM_DBA_Guide_v2_2_0.pdf

Solution

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