Docker Community Forums

Share and learn in the Docker community.

Unable to create WLS domain while configuring the server

docker

(Devopsgeek) #1

I have created an custom Image “platform/deploy-stack-linux:12213-domain” with the below teckstack

Image teckstack includes
OracleLinux7.4
Java 1.8
OracleInstantClient 12.2.0.1
WLS 12.2.1.3

On top of it, i am trying to install the custom applications which will deploy on to the WLS

Command used to start the container
docker run -itd --mount src="/tools/common_scripts",target="/tools/common_scripts",type=bind -p 7010-7014:7010-7014 --hostname=mycontainer.com platform/deploy-stack-linux:12213-domain
b3b8b98c76230cef9c73d5a6a94b11cc56f90a83268eea15511001c580fe1798

After installing the .bin, I am trying to configure server which is failng.
[oracle@mycontainer platform]$ ./configureServer
Attempting to shutdown old server (if any …)
Removing the old configuration directory, /u01/apps/config/MyDomain …
_
Removing old Domain directory …

Initializing WebLogic Scripting Tool (WLST) …

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Saving the Domain to /u01/apps/config/MyDomain
Starting the Server …t3://l:7013
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at weblogic.management.scripting.utils.WLSTProcess.run(WLSTProcess.java:82)
at java.lang.Thread.run(Thread.java:748)
Problem invoking WLST - Traceback (innermost last):
File “/u01/apps/config/weblogic/setup/createDomain.py”, line 274, in ?
File “”, line 366, in startServer
File “”, line 553, in raiseWLSTException
WLSTException: Error occurred while performing startServer : Could not start the server, the process might have timed out or there is an Error starting the server. Please refer to the log files for more details.

Creating deafult boot.properties…
Preparing MyServer staging directories…
Checking JSP precompilation …
Removing temporary JSP precompilation directories…
Installing help for selected languages …
[oracle@mycontainer platform]$

Any pointers to fix it.