My Oracle Support Banner

wldeploy Ant Task Produces DeployerException at com.oblix.weblogic.security.ObWLSUser (Doc ID 798695.1)

Last updated on MARCH 08, 2017

Applies to:

COREid Access - Version: 10.1.4.2
This problem can occur on any platform.

Symptoms

WebLogic Server 9.2 has been configured with the Oracle Access Manager (OAM) SSPI Connector 10.1.4.2. Weblogic 9.2 and OAM have been integrated according to the Oracle Access Manager 10.1.4.2 Integration Guide documentation.Weblogic Server starts successfully and the administration console can be accessed with appropriate administrator credentials.

However the wldeploy ant task (weblogic.ant.taskdefs.management.WLDeploy) produces DeployerException at com.oblix.weblogic.security.ObWLSUser and fails to connect to the weblogic administration server.

Error output:

[wldeploy] weblogic.Deployer -noexit -source C:\work\workspace_weblogic\SSO\dist\webapp.war
-adminurl t3://localhost:8001 -user weblogic -password welcome1 -deploy
[wldeploy] weblogic.Deployer invoked with options: -noexit -source C:\work\workspace_weblogic\SSO\dist\webapp.war -adminurl t3://localhost:8001 -user weblogic -deploy

BUILD FAILED
C:\work\workspace_weblogic\SSO\build.xml:122: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:8001': com.oblix.weblogic.security.ObWLSUser. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:357)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:8001': com.oblix.weblogic.security.ObWLSUser. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
at weblogic.Deployer.run(Deployer.java:72)
at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
... 15 more

 

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

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