Speed up WebLogic managed server start times!

Several notes before progressing:
  • Only apply this to Development/Testing environments.
  • Configuration change impacts the security settings of the server: 
  • The following property change can be applied to the server config.sh, but I prefer to apply it within WebLogic Console due to ease of management.
  1. Log into WebLogic Console.
  2. Click Servers.
  3. Click on the server to apply to property to.
  4. Under the Configuration tab, click on the Server Start tab.
  5. In the Arguments input box, enter the following argument:–Djava.security.egd=file:/dev/./urandom
  6. Shut down and restart the same server.


That’s it. Notice the difference in the time it takes to start your managed server!

Results:
Originally, it took my WebCenter Portal managed server 4-5 minutes to Start. With this configuration change, it takes just under 2 minutes! A colleague of mine reported their WebCenter Portal server to start in 40 seconds!

3 comments: