Ant Deployment script failed with weblogic.deploy.api.tools.deployer.DeployerException (Doc ID 1326360.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When attempting to deploy an application using ant, the following error occurs:

ant deploy -Dapplication.name="MyApp" -Dapplication.ear="MyEar.ear" -Dwlst.host="localhost" -Dwlst.port="7001" -Dwlst.user="weblogic" -Dwlst.password="webl
ogic01" -Dsoa.targets="MyServer"
Buildfile: build.xml
.....
[wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://localhost:7001' as user, 'weblogic'. Error received: null
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.
<init>(WebLogicDeploymentManagerImpl.java:121)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
[wldeploy] at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms