Wednesday, March 14, 2012

domain creation stuck

Weblogic Domain creation stuck/froze at creating domain security information.......
Have taken a backup of config.sh (wlserver_10.3\common\bin)
added the variable -Djava.security.egd=file:/dev/./urandom in JVM_ARGS

it now looks like 
JVM_ARGS="-Djava.security.egd=file:/dev/./urandom -Dprod.props.file='${WL_HOME}/.product.properties' -Dpython.cachedir=/tmp/cachedir ${JVM_D64} ${MEM_ARGS} ${CONFIG_JVM_ARGS}"

rerunning config.sh solved the issue. 

20 comments:

Anonymous said...

Thanks Alot man...it resolved my problem.

Anonymous said...

thanks alot man..it resolved my problem.and saved alot of time.

Anonymous said...

Thanks. Resolved my problem as well!

Anonymous said...

this solved my problem too :)

disap4m said...

Didn't work for me, but i suspect my switches somehow are to blame.
RHEL 6.5 wls 12.1.3

Stewart Sims said...

Jeeez this saved my bacon trying to setup a legacy test environment, Java EE app servers are such a pain to work with sometimes

Anonymous said...


Thanks. Resolved my problem on RHEL 6.4 wls 12.1.3

Anonymous said...

Thanks that solved my problem. Appreciate the work you put in.

Sunil kumar t k said...
This comment has been removed by the author.
Sunil kumar t k said...
This comment has been removed by the author.
Sunil kumar t k said...

For those who are using Weblogic 12c.

the config.sh file can be found in
/wls12130/oracle_common/common/bin/ folder

and you can add the similar way as advised above. To finally get something like below.

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

Sunil kumar t k said...
This comment has been removed by the author.
Don said...

The fix in the original post worked for me! Thanks!

Anonymous said...

Thanks.

Ben L said...

Thank you so much

Anonymous said...

Great !! Worked .Thanks a lot....Saved my time lot !! :-)

Thanks,
KTC

Tomislav Novakovic said...

Thanks m8, this was really helpfull

Anonymous said...

Thanks a lot man.. u really saved my day...

Anonymous said...

thank you solved my problem !!

Antonio Russo said...

Hi,

Thank you this was great .. Just one thing more, what if you change this definition in the /jre/lib/security/java.security file ? I just wonder ho may times this random thing may be used ...