The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.

You might receive the following error while starting the integrated WebLogic server in JDeveloper

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’)  

Error:  ADRS_DOMAIN_PASSWORD environment variable not set. 

Cause

The Jython module resides in the WebLogic server is supporting your operating system

Solution

  1. Go to the <ORACLE_HOME>\ wlserver\common\wlst\modules
  2. Unzip the jython-modules.jar file using jar -xvf jython-modules.jar    ( Note: The jar file present under <JAVA_HOME>\bin )
  3. Open the file javashell.py under \lib directory in a notepad and go to line 145  .
  4. Add your OS into the array _osTypeMap, For example, add Windows 10 in the array as shown below

    050816_2222_TheServerIn1 The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.

5. Go Back to ..\wlst\modules folder, move the jython-modules.jar  to a different folder  and Package the jar file using the below command 

6. Restart the integrated WebLogic server

govindan The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.
Connect me
Like us on Facebook.
Connect!