My Oracle Support Banner

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

Last updated on OCTOBER 26, 2020

Applies to:

Oracle WebLogic Server - Version 10.3.3 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="port" -Dwlst.user="<username>" -Dwlst.password="<password>" -Dsoa.targets="MyServer"
Buildfile: build.xml
.....
[wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://localhost:port' as user, '<username>'. 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.