Weblogic administration path is too slow

I installed weblogic 10.3.3, set up a simple domain with a default setting. And after starting weblogic, I can not use it through the admin console, because it starts too slowly (~ 10 minutes). It looks like the admin console application is not deploying correctly. Even when I turn on intermediate mode in the AdminConsole deployment options, this does not help. Anyone have a solution to this problem? It bothers me a lot.


Configuration properties:

Server: Dell PowerEdge r410 Server (Intel® Xeon® x64 Six -Core Processor, 8 GB RAM)

OS: Ubuntu Maverick 10.10 x86_64

Weblogic: 10.3.3 x64 (used to install the wls1033_generic.jar file)

Java: 1.6.0_17_i586 (used with different jdk, including x64, but it does not work)

+6
source share
3 answers

When starting weblogic uses a random number generator. Due to an error in java, it reads random bits from /dev/random . There are almost no problems with /dev/random , except that it is very slow. It takes at least 10 minutes or more to generate one number. A simple solution exists - /dev/urandom used instead. It's not as good as /dev/random , but at least it's instant. Java somehow maps the /dev/urandom file to /dev/random . That's why the default settings in $JAVA_HOME/jre/lib/security/java.security useless, they just don't make any sense.

The fix is ​​very simple - add the export JAVA_OPTIONS="-Djava.security.egd=file:/dev/./urandom" line export JAVA_OPTIONS="-Djava.security.egd=file:/dev/./urandom" to the /etc/bash.bashrc file. Using /dev/./urandom instead of just /dev/urandom is another hack. Otherwise, the JVM does not understand the value of the parameter.

Keep this issue in mind if you are trying to configure weblogic under a UNIX-based OS.

+23
source

Despite the startup logs, we can only guess. Weblogic is usually a beast. It usually takes me between 6-8 minutes to run me on my development machines, but it seems like a good server so it can take 10 minutes.

0
source

The administrator console should not be so slow, and it does not take 6-8 minutes to start the server or deploy the administrator console. Deploying the admin console on my machine takes less than 30 seconds, and startup takes less than 60 seconds. WebLogic startup time is a common complaint, but it is likely that something is incorrectly configured if there is a very long startup time or administration console time.

0
source

Source: https://habr.com/ru/post/886139/


All Articles