1

I deploy some EAR to a remote weblogic server with

java weblogic.Deployer -adminurl http://weblogic:7001/ -username weblogic -password weblogic1 -deploy /tmp/package.ear -remote

But when I run this command multiple times, it's getting really slow to deploy (like 10-15 minutes to deploy a small EAR/WAR).

Why ?

foobar443
  • 2,339
  • 3
  • 23
  • 31

1 Answers1

2

Solution is to add the parameter -Djava.security.egd=file:/dev/./urandom to the java command. See this answer and this post for more details.

The complete command becomes

java -Djava.security.egd=file:/dev/./dev/urandom weblogic.Deployer -adminurl http://weblogic:7001/ -username weblogic -password weblogic1 -deploy /tmp/package.ear -remote

Community
  • 1
  • 1
foobar443
  • 2,339
  • 3
  • 23
  • 31