OAG Managedomain Utility Menu Option 13 Returns a "401 Unauthorized" Error (Doc ID 1909195.1)

Last updated on AUGUST 10, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 to 11.1.2 [Release 11gR2]
Information in this document applies to any platform.

Symptoms

After changing the OAG admin password using the OAG management console, when trying to use the managedomain command utility to select option 13), the following error occurs:

Select option: 13
Traceback (most recent call last):

  File "/opt/oracle/oag/apigateway/system/lib/jython/managedomain.py", line 1694, in
  manageDomainUtil.printTopology()
  File "/opt/oracle/oag/apigateway/system/lib/jython/managedomain.py", line 1694, in
  manageDomainUtil.printTopology()
  File "/opt/oracle/oag/apigateway/system/lib/jython/managedomainlib.py", line 105, in printTopology
  topology = self.topologyAPI.getTopology()
  File "/opt/oracle/oag/apigateway/system/lib/jython/topologyapi.py", line 21, in getTopology
  return self.topologyClient.getTopology()
  at com.sun.jersey.api.client.WebResource.handle(WebResource.java:688)
  at com.sun.jersey.api.client.WebResource.access$300(WebResource.java:74)
  at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:508)
  at com.vordel.api.topology.client.TopologyClient.getTopology(TopologyClient.java:108)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
com.sun.jersey.api.client.UniformInterfaceException: com.sun.jersey.api.client.UniformInterfaceException: GET https://hostname:8090/api/topology returned a response status of 401 Unauthorized
oracle@hostname:/opt/oracle/oag/apigateway/posix/bin>

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