Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use /dev/urandom for weblogic:12.1.3-dev image #24

Closed
talberto-zz opened this issue Jul 22, 2015 · 3 comments
Closed

use /dev/urandom for weblogic:12.1.3-dev image #24

talberto-zz opened this issue Jul 22, 2015 · 3 comments
Assignees
Labels
enhancement question The issue is a question

Comments

@talberto-zz
Copy link

The dockerfile used for building the image oracle/weblogic:12.1.3-dev defines but doesn't use the env var CONFIG_JVM_ARGS. The result is that weblogic takes 10 mins to start (in my machine) if we use the image weblogic:12.1.3-dev as the base image.

I propose adding the definition of the env var to the .bashrc file using something like that in the Dockerfile:

echo "export CONFIG_JVM_ARGS=$CONFIG_JVM_ARGS" >> ~/.bashrc
@brunoborges
Copy link
Contributor

Thanks @Djelibeybi for calling my attention to this one. I'll be reviewing by the end of this week. Likely to merge into the sample code since it looks to be a reasonable configuration. Will test though.

Thanks @TAlberto for your suggestion.

@ovanekem
Copy link

I actually had to also set the same configuration when starting the domain (after domain creation), otherwise the startup of the domain was taking way too long (+10 mins).
In order to do that I added the following in the Dockerfile for domain creation (in samples/12c-domain):

ENV JAVA_OPTIONS -Djava.security.egd=file:///dev/./urandom

Also at same place I have added remote debugging information like -Xdebug -Xnoagent...

@brunoborges
Copy link
Contributor

I will add the JAVA_OPTIONS but I will leave the debugging paramaters out since this is a sample and users should come up with their own.

Thanks @ovanekem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement question The issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants