ImportError: no module named security during the OPSS Oracle Identity Manager 11gR2 Installation

When trying to Configuring OPSS Security Store running the configureSecurityStore.py following error might happen:

Problem invoking WLST – Traceback (innermost last):
File “/appserver/Oracle/Middleware/Oracle_IDM1/common/tools/configureSecurityStore.py”, line 15, in ?
ImportError: no module named security

 

Oracle-Identity-Manager-11gR2-ImportError no module

 

This erros is due in plain weblogic environment the WLST is called from wl_server/common/bin however in Oracle Fusion Middleware environment you should call wlst from oracle_common (for example – /appserver/Oracle/Middleware/oracle_common/common/bin/wlst.sh).

Run a search for wlst.sh in your environment and call the wlst.sh from oracle_common not from wl_server/common/bin.

Example:

C:\Oracle\Middleware\oracle_common\common\bin\wlst C:\Oracle\Middleware\Oracle_IDM1\common\tools\configureSecurityStore.py -d C:\Oracle\Middleware\user_projects\domains\base_domain -c IAM -p yourpassword -m create