Guest User

Untitled

a guest
Jan 18th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. 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:
  2.  
  3. Error: runCmd() failed. Do dumpStack() to see details.
  4. Problem invoking WLST - Traceback (innermost last):
  5. File "/apps/enable_domain_7001.py", line 6, in ?
  6. File "/tmp/WLSTOfflineIni2138226892654916720.py", line 135, in updateDomain
  7. File "/tmp/WLSTOfflineIni2138226892654916720.py", line 19, in command
  8. 64254: Error occurred in "OPSS Processing" phase execution
  9. 64254: Encountered error: SecurityContext:
  10. Domain Name: ohs
  11. JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
  12. JDBC URL: opss-data-source:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
  13. JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource
  14. JNDI Name: opss-data-source:jdbc/OpssDataSource
  15. Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver
  16. Driver Name: opss-data-source:oracle.jdbc.OracleDriver
  17. Persistence Type: DATABASE
  18. Platform: WLS
  19. Scratch Dir: scratch
  20. Reconfig Domain: false
  21. Shared Secret Store: null
  22. Extension: true
  23. DisableManagementOperations: falseJDBC Properties:
  24. user:DEV_IAU_APPEND
  25. username:DEV_IAU_APPENDJDBC Properties:
  26. user:DEV_OPSS
  27. username:DEV_OPSS
  28. 64254: Check log for more detail.
  29.  
  30. at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
  31. at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2768)
  32. at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:701)
  33. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  34. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  35. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  36. at java.lang.reflect.Method.invoke(Method.java:498)
  37.  
  38. com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error updating dom
  39. ain:
  40. 64254: Error occurred in "OPSS Processing" phase execution
  41. 64254: Encountered error: SecurityContext:
  42. Domain Name: ohs
  43. JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
  44. JDBC URL: opss-data-source:jdbc:oracle:thin:@//dbhost.example.com:1521/orcl
  45. JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource
  46. JNDI Name: opss-data-source:jdbc/OpssDataSource
  47. Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver
  48. Driver Name: opss-data-source:oracle.jdbc.OracleDriver
  49. Persistence Type: DATABASE
  50. Platform: WLS
  51. Scratch Dir: scratch
  52. Reconfig Domain: false
  53. Shared Secret Store: null
  54. Extension: true
  55. DisableManagementOperations: falseJDBC Properties:
  56. user:DEV_IAU_APPEND
  57. username:DEV_IAU_APPENDJDBC Properties:
  58. user:DEV_OPSS
  59. username:DEV_OPSS
  60. 64254: Check log for more detail.
  61. 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?
  62.  
  63. Domain configuration command is:
  64.  
  65. $CreateDomain= "plink -i $key Server@Servername -batch $WlstPath $RootPath/enable_domain_7001.py"
  66. Invoke-Expression ($CreateDomain)
  67. And the enable_domain_7001.py contains:
  68.  
  69. #!/usr/bin/python
  70. import os, sys
  71. readDomain('MW_HOME/user_projects/domains/ohs')
  72. addTemplate('MW_HOME/oracle_common/common/templates/wls/oracle.jrf_template.jar')
  73. addTemplate('MW_HOME/em/common/templates/wls/oracle.em_wls_template.jar')
  74. updateDomain()
  75. closeDomain()
  76. exit()
  77. 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