Running BTM CLI produces: "Access to operation invokeRequest in the service AP_Command_Service at... is denied" (Doc ID 1588745.1)

Last updated on AUGUST 28, 2015

Applies to:

APM - Application Performance Management - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

 When trying to run the BTM CLI utility you see the following:

./btmcli.sh listNodeAliases -s http://somewhere:6011/btmcentral/sphere -l admin:admin  in
com.amberpoint.cdo.AuthorizationException: Access to operation invokeRequest in the service AP_Command_Service at http://somewhere:6011/btmcentral/command/ is denied.
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
       at com.amberpoint.util.soa.utils.StandardDeserializer.getDetailedException(StandardDeserializer.java:359)
       at com.amberpoint.util.soa.utils.DataClassMessageContentCacheImpl.setupFromChildIterator(DataClassMessageContentCacheImpl.java:213)
       at com.amberpoint.util.soa.utils.DataClassMessageContentCacheImpl$ByteArrayBased.setup(DataClassMessageContentCacheImpl.java:611)
       at com.amberpoint.util.soa.utils.DataClassMessageContentCacheFactory$Wrapper.setup(DataClassMessageContentCacheFactory.java:339)
       at com.amberpoint.util.soa.utils.ProxyBase.sendAndGetPayload(ProxyBase.java:513)
       at com.amberpoint.util.soa.utils.ProxyBase.sendAndGetPayload(ProxyBase.java:476)
       at com.amberpoint.commandclient.CommandServiceProxy.invoke(CommandServiceProxy.java:147)
       at com.amberpoint.commandscript.commandservicesupport.InvokeCommandProcessor.executeDerived(InvokeCommandProcessor.java:111)
       at com.amberpoint.cliframework.baseclasses.CliBaseCommandProcessor.execute(CliBaseCommandProcessor.java:400)
       at com.amberpoint.cliframework.CommandLine.execute(CommandLine.java:613)
       at com.amberpoint.cliframework.CommandLine.execute(CommandLine.java:295)
       at com.amberpoint.cliframework.CommandLine.main(CommandLine.java:149)

  

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