Skip to content

image tool domain creation with WDT tool failing -->/u01/domains/base_domain is not a directory> #112

@MaheshwarReddyGade

Description

@MaheshwarReddyGade

Step 35/49 : COPY --chown=oracle:oinstall domain.properties /u01/wdt/models/
---> d6051a5eba89
Step 36/49 : RUN unzip -q /tmp/imagetool/$WDT_PKG -d /u01/wdt && cd /u01/wdt/weblogic-deploy/bin && ./createDomain.sh -oracle_home /u01/oracle -domain_home /u01/domains/base_domain -domain_type WLS -variable_file /u01/wdt/models/domain.properties -model_file /u01/wdt/models/sample.yaml -archive_file /u01/wdt/models/archive.zip
---> Running in d32f0e584d30
JDK version is 1.8.0_211-b12
JAVA_HOME = /u01/jdk
WLST_EXT_CLASSPATH = /u01/wdt/weblogic-deploy/lib/weblogic-deploy-core.jar
CLASSPATH =
WLST_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dcom.oracle.cie.script.throwException=true -Djava.security.egd=file:/dev/./urandom
/u01/oracle/oracle_common/common/bin/wlst.sh /u01/wdt/weblogic-deploy/lib/python/create.py -oracle_home /u01/oracle -domain_home /u01/domains/base_domain -domain_type WLS -variable_file /u01/wdt/models/domain.properties -model_file /u01/wdt/models/sample.yaml -archive_file /u01/wdt/models/archive.zip
The createDomain program will write its log to /u01/wdt/weblogic-deploy/logs/createDomain.log

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

####<Dec 28, 2019 4:06:36 PM>

<createDomain argument processing failed: Supplied Domain Home directory /u01/domains/base_domain was not valid: Directory /u01/domains/base_domain is not a directory>

createDomain.sh failed due to a parameter validation error
Removing intermediate container d32f0e584d30
[SEVERE ] Response code: -1, message: docker command failed with error: The command '/bin/sh -c unzip -q /tmp/imagetool/$WDT_PKG -d /u01/wdt && cd /u01/wdt/weblogic-deploy/bin && ./createDomain.sh -oracle_home /u01/oracle -domain_home /u01/domains/base_domain -domain_type WLS -variable_file /u01/wdt/models/domain.properties -model_file /u01/wdt/models/sample.yaml -archive_file /u01/wdt/models/archive.zip' returned a non-zero code: 98

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions