foobar443
foobar443

Reputation: 2657

weblogic.Deployer gets slow when running multiple times

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 ?

Upvotes: 1

Views: 1688

Answers (1)

foobar443
foobar443

Reputation: 2657

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

Upvotes: 2

Related Questions