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

How to config weblogic.Deployer javaVmArguments? #30

Open
sylvietseng opened this issue Apr 18, 2017 · 1 comment
Open

How to config weblogic.Deployer javaVmArguments? #30

sylvietseng opened this issue Apr 18, 2017 · 1 comment

Comments

@sylvietseng
Copy link

sylvietseng commented Apr 18, 2017

I used wls-remote-10.3.x to deploy war to remote weblogic server and got this error: weblogic.deploy.api.tools.deployer.DeployerException: Java heap space
This error could be solved by adding jvm arguments-Xms256m -Xmx512m,and the full cmd is such as: java -Xms256m -Xmx512m -cp /bea/wlserver_10.3/server/lib/weblogic.jar weblogic.Deployer -adminurl ..................
I've tried this command and it worked, but I couldn't find a way to config jvm arguments in this plugin.

the full log trace:

weblogic.deploy.api.tools.deployer.DeployerException: Java heap space
	at weblogic.deploy.api.tools.deployer.Jsr88Operation.postExecute(Jsr88Operation.java:564)
	at weblogic.deploy.api.tools.deployer.DeployOperation.execute(DeployOperation.java:49)
	at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:139)
	at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
	at weblogic.utils.compiler.Tool.run(Tool.java:158)
	at weblogic.utils.compiler.Tool.run(Tool.java:115)
	at weblogic.Deployer.run(Deployer.java:70)
	at weblogic.Deployer.main(Deployer.java:54)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at weblogic.utils.io.UnsyncByteArrayOutputStream.resizeBuffer(UnsyncByteArrayOutputStream.java:59)
	at weblogic.utils.io.UnsyncByteArrayOutputStream.write(UnsyncByteArrayOutputStream.java:89)
	at java.io.DataOutputStream.write(DataOutputStream.java:107)
	at weblogic.deploy.api.internal.utils.JMXDeployerHelper.transferData(JMXDeployerHelper.java:754)
	at weblogic.deploy.api.internal.utils.JMXDeployerHelper.uploadSource(JMXDeployerHelper.java:650)
	at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.upload(ServerConnectionImpl.java:844)
	at weblogic.deploy.api.spi.deploy.internal.BasicOperation.uploadFiles(BasicOperation.java:327)
	at weblogic.deploy.api.spi.deploy.internal.BasicOperation.execute(BasicOperation.java:438)
	at weblogic.deploy.api.spi.deploy.internal.BasicOperation.run(BasicOperation.java:176)
	at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.deploy(WebLogicDeploymentManagerImpl.java:386)
	at weblogic.deploy.api.tools.deployer.DeployOperation.execute(DeployOperation.java:48)
	... 6 more
@day2daychallenge
Copy link

I have the same problem. any suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants