Automic Continuous Delivery Automation

 View Only

HTTP response isn't OK, code: 403

  • 1.  HTTP response isn't OK, code: 403

    Posted Jan 08, 2018 11:45 AM
    Deploying Tomcat (i.e. Tomcat Deploy Application) within an ARA workflow returns a 403 error code.

    tomcat-tool: ERROR: Unknown error
     <---- Stacktrace
    Error when execute method: checkVersion(), HTTP response isn't OK, code: 403
     Stacktrace ---->

    Investigation
    A review of the Job Report shows:

    20171205/092050.213 - U02001096 Job '1003170' uses client-wide resource '100:PCK.AUTOMIC_TOMCAT.PRV.STORE/TOMCATTOOL.JAR' - 'C:\CAutomic\Automation.Platform\Agents\windows\Resources\0100\tomcat-tool.jar'.
    Program 'UC4 Job Messenger' version '12.1.0+build.796' started
    UCMDJP: *********************************************************************
    UCMDJP: ** JOB 0001003170 (ProcID:0000009928) START AT 05.12.2017/09:20:50 **
    UCMDJP: **                                    UTC TIME 05.12.2017/17:20:50 **
    UCMDJP: *********************************************************************
    Connected with agent 'WIN01'
    Program 'UC4 Job Messenger' version '12.1.0+build.796' terminated normally
    tomcat-tool: tomcat-tool
    tomcat-tool: (c) Automic Software GmbH
    tomcat-tool: Version: 1.1.1
    tomcat-tool: Date: 2016-09-30 16:41

    tomcat-tool: ERROR: Unknown error
     <---- Stacktrace
    Error when execute method: checkVersion(), HTTP response isn't OK, code: 403
     Stacktrace ---->

    tomcat-tool: INFO: Return code: 12
    Program 'UC4 Job Messenger' version '12.1.0+build.796' started
    UCMDJP: *********************************************************************
    UCMDJP: ** JOB 0001003170 (ProcID:0000009928) ABEND AT 05.12.2017/09:20:51 **
    UCMDJP: **                                    UTC TIME 05.12.2017/17:20:51 **
    UCMDJP: ** --------------------------------------------------------------- **
    UCMDJP: **                                RET-CODE:         12             **
    UCMDJP: **                                    USED:     14.053 CPU         **
    UCMDJP: **                                                   4 PROCESSES   **
    UCMDJP: **                                               44860 PAGE FAULTS **
    UCMDJP: *********************************************************************
    Connected with agent 'WIN01'
    Program 'UC4 Job Messenger' version '12.1.0+build.796' terminated normally

    Solution
    Edit the server.xml (located in the Tomcat conf directory) and comment out the Valve parameter.

    fxjaaa4f6xz0.pnghttps://us.v-cdn.net/5019921/uploads/editor/vd/fxjaaa4f6xz0.png" width="1453">