Automic Continuous Delivery Automation

 View Only
  • 1.  Not able to run LOGIN_Update.jar on Unix machine

    Posted May 09, 2018 06:25 AM
    I am trying to execute LOGIN_Update.jar file on unix box to update the Login object but facing below error

     


    bash-4.1$ /local/0/sw/java/jdk1.8.0_121/bin/java -jar /home/automicd/Utilities/LOGIN_Update.jar -name RM.CTS_SMCR_DEV_FLDR.737203 -u_updloginsrc [Hostname,UNIX,userid] -u_updlogintrg [Hostname,UNIX,userid,xxxx] -commit
    Filtering Progress:
             %% processing Matching Login Object: RM.CTS_SMCR_DEV_FLDR.737203
             ++ UPDATE: Pattern For Login Entry Update: [Hostname,UNIX,userid]
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
            at com.automic.std.utils.consistencyUtils.getShortLoginPattern(consistencyUtils.java:635)
            at com.automic.specifics.GoRunCommand.main(GoRunCommand.java:243)

     

    Can anyone please help me on this


  • 2.  Re: Not able to run LOGIN_Update.jar on Unix machine
    Best Answer

    Posted May 10, 2018 02:51 PM

    Hi VivekSharma609055,

     

    I get those error if I am missing the Quotation mark or apostrophe.  I have it like the example at: LOGIN Update Command Line Utility 


    Sample:

    java -jar LOGIN_Update.jar -name "LOGIN.TEST*" -u_updloginsrc "['WIN99','WINDOWS','admin']" -u_updlogintrg "['WIN99','WINDOWS','newadmin','password']" -commit