运行weblogicImportMetaData.sh时出现异常

时间:2016-05-17 10:51:09

标签: weblogic metadata wlst oim

我正在运行weblogicImportMetaData.sh,其中weblogic用户工作正常,但xelsysadm失败时出现以下异常:

Problem invoking WLST - Traceback (innermost last):
  File "/home/oracle/Oracle/Middleware/Oracle_OIM/server/bin/weblogicImportMetadata.py", line 21, in ?
  File "/home/oracle/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 298, in importMetadata
  File "/home/oracle/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 850, in executeAppRuntimeMBeanOperation
  File "/home/oracle/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 1131, in saveStackAndRaiseException
WLSTException: java.lang.SecurityException: MBean operation access denied.
  MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=OIMAppMetadata,ApplicationVersion=11.1.2.0.0
  Operation: importMetadata(java.lang.String, [Ljava.lang.String;, [Ljava.lang.String;, boolean, boolean, boolean, boolean, boolean, java.lang.String)
  Detail: Access denied. Required roles: Admin, executing subject: principals=[BIReportAdministrator, SYSTEM ADMINISTRATORS, xelsysadm, challengenotset]
 MDS-91009: Operation "importMetadata" failure. Use dumpStack() to view the full stacktrace.

1 个答案:

答案 0 :(得分:0)

我需要将xelsysadm放入weblogic领域,以便让xelsysadm能够运行webloginMetadataImport.sh