search cancel

Encrypted Password issue with starting and stopping clients by using the Application Interface: Logon error: Access denied

book

Article ID: 190041

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

NOTE: the issue is present in Sun Solaris OS only.

When Utilizing Application Interface as described on this page , you get 'Logon error: Access denied' error

Example Scenario:

1. Make sure Application Interface is configured and the Java code specified in the documentation is used.

2. Create a JOBS job with the command to start and/or stop client using the following command in the Process tab:

java aeClientGoStop <go/stop> <cp> <port> <client> <user> <dep> <pwd> (Ex. ‘usr/bin/java cp $CLASSPATH:../uc4.jar aeClientGoStop stop Automic 2217 100 USER DEPARTMENT '--1095A0A8CAB2ED9DAA0EE0F0F279F6F12E7C57DDE24272A69C')

3. Run the job.

Expected results: Client is stopped/started.
Actual Results: You get ‘Access denied’ error in the report

Environment

Release : 12.0, 12.1, 12.2, 12.3

Component : AUTOMATION ENGINE

Cause

Incorrect password

Resolution

NOTE: the issue is present in Sun Solaris OS only.

Once you encrypt the password with Automic encryption tool, copy and paste it in the job, however, replace 2 first characters ('--') with two hyphens.
Even though the first 2 characters look like hyphens, they are two HEX characters, and thus you're getting an error 'Logon error: Access denied'