caioquirino / docker-weblogic

Weblogic image for Docker
7 stars 2 forks source link

Domain creation stuck #1

Open paulovsm opened 9 years ago

paulovsm commented 9 years ago

When executing entrypoint.sh the script stuck while creating domain (call to myDomain.py).

Editing the configure.sh as described in following url everything worked:

https://www.vleo.org/blog/2014/10/31/weblogic-12c-very-slow-domain-creation/

caioquirino commented 9 years ago

I've been made some changes in both Dockerfile and entrypoint.sh now to fix the domain creation but haven't experienced slow or stuck domain creation.

It seems slow or just stuck? How much time?

paulovsm commented 9 years ago

@caioquirino It just stuck! Actually it worked only when I changed the script /weblogic/wls12130/oracle_common/common/bin/wlst.sh line 99:

JVM_ARGS="-Dprod.props.file='${WL_HOME}'/.product.properties ${WLST_PROPERTIES} ${JVM_D64} ${UTILS_MEM_ARGS} ${COMMON_JVM_ARGS} ${CONFIG_JVM_ARGS} -Djava.security.egd=file:///dev/urandom"

caioquirino commented 9 years ago

Can you test with the latest docker version please? On Nov 4, 2015 9:46 PM, "paulovsm" notifications@github.com wrote:

@caioquirino https://github.com/caioquirino It just stuck! Actually it worked only when I changed the script /weblogic/wls12130/oracle_common/common/bin/wlst.sh line 99:

JVM_ARGS="-Dprod.props.file='${WL_HOME}'/.product.properties ${WLST_PROPERTIES} ${JVM_D64} ${UTILS_MEM_ARGS} ${COMMON_JVM_ARGS} ${CONFIG_JVM_ARGS} -Djava.security.egd=file:///dev/urandom"

— Reply to this email directly or view it on GitHub https://github.com/caioquirino/docker-weblogic/issues/1#issuecomment-153906736 .

caioquirino commented 9 years ago

Are you using it outside of docker? I have seen things about cygwin in your fork hehe

paulovsm commented 9 years ago

@caioquirino I using docker latest version Docker version 1.9.0.

I'm not using cygwin, but Vagrant and Virtualbox.

At this moment I'm building the image again with your latest changes.

paulovsm commented 9 years ago

I tried using your lastest code update but it still stuck at the same place:

Reading template... Creating AdminServer... Setting credentials... Writing domain...

It's weird that's working to you.

mpatton125 commented 9 years ago

It takes a Loooooong time to complete that step, but it does complete eventually.