Skip to content

Failed to get environment, environ will be empty: #445

@JaikrishnaPatel

Description

@JaikrishnaPatel

When I tried to use this out of box, I get following exception. Do I need to make this directory C:\Test\weblogic-deploy\bin>createDomain.cmd -oracle_home C:\WLS1213 -domain_type=WLS -domain_parent C:\WLS1213\user_projects\domains\JimDomain -model_file MinimalDemoDomain.yaml
JDK version is 1.8.0_212, setting JAVA_VENDOR to Sun...
JAVA_HOME = C:\PROGRA1\Java\JDK181.0_2
WLST_EXT_CLASSPATH = C:\Test\WEBLOG1\lib\weblogic-deploy-core.jar
CLASSPATH = C:\Test\WEBLOG
1\lib\weblogic-deploy-core.jar
WLST_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployCustomizeLoggingConfig -Dcom.oracle.cie.script.throwException=true
C:\WLS1213\oracle_common\common\bin\wlst.cmd C:\Test\WEBLOG~1\lib\python\create.py -oracle_home C:\WLS1213 -domain_type=WLS -domain_parent C:\WLS1213\user_projects\domains\JimDomain -model_file MinimalDemoDomain.yaml
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Picked up _JAVA_OPTIONS: -Xmx512M

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Failed to get environment, environ will be empty: (0, 'Failed to execute command (['sh', '-c', 'env']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
Problem invoking WLST - Traceback (innermost last):
File "C:\Test\WEBLOG~1\lib\python\create.py", line 36, in ?
File "C:\Test\weblogic-deploy\lib\python\wlsdeploy\tool\create\domain_typedef.py", line 23, in ?
File "C:\Test\weblogic-deploy\lib\python\wlsdeploy\tool\create\domain_typedef.py", line 29, in DomainTypedef
File "C:\WLS1213\wlserver\common\wlst\modules\jython-modules.jar\Lib/javapath$py.class", line 110, in join
File "C:\WLS1213\wlserver\common\wlst\modules\jython-modules.jar\Lib/javapath$py.class", line 27, in _tostr
TypeError: join() argument must be a str or unicode object, not 'NoneType' object

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