Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am trying to automate the process of Weblogic OHS installation through PowerShell. As a prerequisite Fusion Middleware, RCU configuration and domain reconfiguration with em and jrf has to be done. While doing domain configuration we are facing the error as below:
- Error: runCmd() failed. Do dumpStack() to see details.
- Problem invoking WLST - Traceback (innermost last):
- File "/apps/enable_domain_7001.py", line 6, in ?
- File "/tmp/WLSTOfflineIni2138226892654916720.py", line 135, in updateDomain
- File "/tmp/WLSTOfflineIni2138226892654916720.py", line 19, in command
- 64254: Error occurred in "OPSS Processing" phase execution
- 64254: Encountered error: SecurityContext:
- Domain Name: ohs
- JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
- JDBC URL: opss-data-source:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
- JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource
- JNDI Name: opss-data-source:jdbc/OpssDataSource
- Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver
- Driver Name: opss-data-source:oracle.jdbc.OracleDriver
- Persistence Type: DATABASE
- Platform: WLS
- Scratch Dir: scratch
- Reconfig Domain: false
- Shared Secret Store: null
- Extension: true
- DisableManagementOperations: falseJDBC Properties:
- user:DEV_IAU_APPEND
- username:DEV_IAU_APPENDJDBC Properties:
- user:DEV_OPSS
- username:DEV_OPSS
- 64254: Check log for more detail.
- at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
- at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2768)
- at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:701)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error updating dom
- ain:
- 64254: Error occurred in "OPSS Processing" phase execution
- 64254: Encountered error: SecurityContext:
- Domain Name: ohs
- JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
- JDBC URL: opss-data-source:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
- JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource
- JNDI Name: opss-data-source:jdbc/OpssDataSource
- Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver
- Driver Name: opss-data-source:oracle.jdbc.OracleDriver
- Persistence Type: DATABASE
- Platform: WLS
- Scratch Dir: scratch
- Reconfig Domain: false
- Shared Secret Store: null
- Extension: true
- DisableManagementOperations: falseJDBC Properties:
- user:DEV_IAU_APPEND
- username:DEV_IAU_APPENDJDBC Properties:
- user:DEV_OPSS
- username:DEV_OPSS
- 64254: Check log for more detail.
- During RCU configuration I have given the schema prefix as DEV1 but it is pointing to an already created prefix DEV.Is there a way to specify the schema details during the silent reconfiguration of domain?
- Domain configuration command is:
- $CreateDomain= "plink -i $key Server@Servername -batch $WlstPath $RootPath/enable_domain_7001.py"
- Invoke-Expression ($CreateDomain)
- And the enable_domain_7001.py contains:
- #!/usr/bin/python
- import os, sys
- readDomain('MW_HOME/user_projects/domains/ohs')
- addTemplate('MW_HOME/oracle_common/common/templates/wls/oracle.jrf_template.jar')
- addTemplate('MW_HOME/em/common/templates/wls/oracle.em_wls_template.jar')
- updateDomain()
- closeDomain()
- exit()
- Is there a way to pass the RCU configuration details while configuring the domain for Weblogic 12c?
Add Comment
Please, Sign In to add comment