If you are using the Endevor Web Services feature and STC pooling is enabled, the spawned task can fail with authorization error - C1I0012E YOU ARE NOT AUTHORIZED TO ACCESS ANY ENDEVOR ENVIRONMENTS
search cancel

If you are using the Endevor Web Services feature and STC pooling is enabled, the spawned task can fail with authorization error - C1I0012E YOU ARE NOT AUTHORIZED TO ACCESS ANY ENDEVOR ENVIRONMENTS

book

Article ID: 28705

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

With STC pooling, the  Endevor STC is spawned before the first action request arrives, so there is no way to figure out the user-id which will come in the future.
But the Endevor world has to be initialized under some user-id, so this user-id is taken from endevor.cfg file under Tomcat or if not specified, as Tomcat's user-id.
Later, when an action request arrives (together with real user-id), the user-id is swapped temporarily for the time the request is fulfilled.

This can result in the error:   
C1I0012E YOU ARE NOT AUTHORIZED TO ACCESS ANY ENDEVOR ENVIRONMENTS



Environment

Release: ENDAE.00200-18.0-Endevor-Software Change Manager
Component:

Resolution

To resolve the problem you can either supply the Tomcat id with authority to any Endevor environment, or provide an id through the userID parameter in the datasource config file (endevor.cfg)