我正在尝试运行 weblogic 12.2.1.2 docker 映像,但我陷入了域创建阶段。
我按照 container-registry.oracle.com 中的说明进行操作,但必须进行一些更改才能获得它,直到域创建阶段,这给了我以下日志..
Error: set() failed. Do dumpStack() to see details.
Error: runCmd() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/u01/oracle/container-scripts/createInfraDomain.py", line 265, in ?
File "/u01/oracle/container-scripts/createInfraDomain.py", line 53, in createInfraDomain
File "/u01/oracle/container-scripts/createInfraDomain.py", line 66, in createBaseDomain
File "/tmp/WLSTOfflineIni2843296184802971251.py", line 79, in set
File "/tmp/WLSTOfflineIni2843296184802971251.py", line 19, in command
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
RetVal from Domain creation 1
Domain Creation Failed.. Please check the Domain Logs
我试图找到域日志但失败了..
请帮我解决这个问题!
非常感谢 !!
这就是我所看到的:
docker run -p 9001:7001 --network=InfraNET -v $HOST_VOLUME:/u01/oracle/user_projects --name InfraAdminContainer --env-file ./infraDomain.env.list container-registry.oracle.com/middleware/fmw-infrastructure:12.2.1.2
Configuring Domain for first time run
=====================================
Password does not Match the criteria, re-generating...
Database Schema password Auto Generated :
----> Database schema password: z8zAJQY1
CONNECTION_STRING=InfraDB:1521/InfraPDB1.us.oracle.com
RCUPREFIX=INFRA6
DOMAIN_NAME=InfraDomain
Loading RCU Phase
=================
CONNECTION_STRING=InfraDB:1521/InfraPDB1.us.oracle.com
RCUPREFIX=INFRA6
DB_PASSWORD=Oradoc_db1
jdbc_url=jdbc:oracle:thin:@InfraDB:1521/InfraPDB1.us.oracle.com
ADMIN_PASSWORD=MyWLSAdminPassword
DB_SCHEMA_PASSWORD=z8zAJQY1
DB_USERNAME=sys
DOMAIN_HOME: /u01/oracle/user_projects/domains/InfraDomain
Loading SOA RCU into database
MW_HOME: /u01/oracle
WL_HOME: /u01/oracle/wlserver
ADMIN_USER: weblogic
DOMAIN_ROOT: /u01/oracle/user_projects/domains
DOMAIN HOME: /u01/oracle/user_projects/domains/InfraDomain
Domain Configuration Phase
==========================
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
/u01/oracle/container-scripts/createInfraDomain.py called with the following sys.argv array:
sys.argv[0] = /u01/oracle/container-scripts/createInfraDomain.py
sys.argv[1] = -oh
sys.argv[2] = /u01/oracle
sys.argv[3] = -jh
sys.argv[4] = /usr/java/default
sys.argv[5] = -parent
sys.argv[6] = /u01/oracle/user_projects/domains
sys.argv[7] = -name
sys.argv[8] = InfraDomain
sys.argv[9] = -user
sys.argv[10] = weblogic
sys.argv[11] = -password
sys.argv[12] = MyWLSAdminPassword
sys.argv[13] = -rcuDb
sys.argv[14] = InfraDB:1521/InfraPDB1.us.oracle.com
sys.argv[15] = -rcuPrefix
sys.argv[16] = INFRA6
sys.argv[17] = -rcuSchemaPwd
sys.argv[18] = z8zAJQY1
Error: set() failed. Do dumpStack() to see details.
Error: runCmd() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "/u01/oracle/container-scripts/createInfraDomain.py", line 265, in ?
File "/u01/oracle/container-scripts/createInfraDomain.py", line 53, in createInfraDomain
File "/u01/oracle/container-scripts/createInfraDomain.py", line 66, in createBaseDomain
File "/tmp/WLSTOfflineIni2843296184802971251.py", line 79, in set
File "/tmp/WLSTOfflineIni2843296184802971251.py", line 19, in command
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
RetVal from Domain creation 1
Domain Creation Failed.. Please check the Domain Logs