I'm trying to use oracle's OWSM to secure my application. And i have scripts to create policies and authenticators. And when i try to run those script it fails at very first line, which is
beginRepositorySession()
I'm getting the following error:
"The MBean ,@ oracle.wsm:*,name=WSMDocumentManager,type=Repository was not found"
After going through some links i found that this error occur when i try to execute the wlst.sh from wrong location. But i'm executing it from the Oracle_common and still i'm getting this error.
Any idea.. why is this occurring? Is this some setup issue? or i need to do add some code before executing this beginRepositorySession ?
My wlst.sh location is
$ORACLE_MIDDLEWARE/oracle_common/common/bin/wlst.sh
Thank You.
complete Exception trace :
wls:/myOWSM/serverConfig> beginRepositorySession()
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Traceback (innermost last):
File "<console>", line 1, in ?
File "$ORACLE_MIDDLEWARE/oracle_common/common/wlst/wsmManage.py", line 172, in beginRepositorySession
File "$ORACLE_MIDDLEWARE/oracle_common/common/wlst/lib/ora_util.py", line 51, in raiseScriptingException
OracleScriptingException: The MBean oracle.wsm:*,name=WSMDocumentManager,type=Repository was not found.