cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - Exception while loading SAP Backend

Former Member
0 Kudos

Hi,

I'm trying to set up a connection between a agentry development server installed on my computer and a SAP backend, but i'm getting the following exception:

14:34:02 01/09/2014: Exception: 14:34:02 01/09/2014 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: 09.01.2014 14:34:11  - /SYCLO/CX_CORE_AUTH_CHECK:System authorization check failed Role SAP_ALL),

The SAP user in the file JavaBE.ini, under the "[TEST_LOGON]" and "[SERVICE_LOGON]" sections, does not have the "SAP_ALL" role.

What could be the source of this error?

Regards

______________________________

Here is the full server startup log:

14:33:53 01/09/2014: Starting server (64-bit Windows)

14:33:53 01/09/2014: Administration client command port is 49604, status port is 49605

14:33:53 01/09/2014: Reading system ini file.

14:33:53 01/09/2014: ID: Agentry, Name: ???, Location: ???

14:33:53 01/09/2014: Starting log file.

14:33:53 01/09/2014: Loading message groups.

14:33:53 01/09/2014: Starting threads.

14:33:53 01/09/2014:    1 initial threads.  Threads will auto-scale.

14:33:53 01/09/2014: Starting Server: Agentry v6.1.3.10212

14:33:53 01/09/2014: Event: 0, 2, System Startup

14:33:53 01/09/2014: Loading 1 front ends

14:33:53 01/09/2014: Loading front end from angelvine.dll

14:33:53 01/09/2014: ANGEL Front End: reading init files.

14:33:53 01/09/2014: Event: 17, 14, ANGEL Front End v6.1.3.10212

14:33:53 01/09/2014: Event: 0, 2, Loading the Agentry Server's public/private key for password exchanges.

14:33:53 01/09/2014: Event: 0, 2, Key pair loaded successfully.

14:33:53 01/09/2014: Starting Server Agent.

14:33:53 01/09/2014: Agentry: Starting threads.

14:33:53 01/09/2014:    1 initial threads.  Threads will auto-scale.

14:33:53 01/09/2014: Agentry: Adding messages.

14:33:53 01/09/2014: Event: 1, 4, Agentry v6.1.3.10212

14:33:53 01/09/2014: Loading 1 agents

14:33:53 01/09/2014: Loading agent from ag3.dll

14:33:54 01/09/2014: Starting Server

14:33:54 01/09/2014: Server: reading ini file

14:33:55 01/09/2014: Initializing 1-Java from ag3javabe.dll

14:33:55 01/09/2014: SystemConnection-1: Reading configuration information.

14:33:55 01/09/2014: SystemConnection-1: Setting name to 'Java Back End'.

14:33:55 01/09/2014: Java Back End: Initialized.

14:33:55 01/09/2014: Java Back End: Java Virtual Machine loaded.

14:34:02 01/09/2014: Exception: 14:34:02 01/09/2014 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: 09.01.2014 14:34:11  - /SYCLO/CX_CORE_AUTH_CHECK:System authorization check failed Role SAP_ALL),

14:34:02 01/09/2014: Failed to init Java Back End (Java v6.1.3.10212 (JVM version 1.6.0_45, AJAPI version  build )) from ag3javabe.dll

14:34:02 01/09/2014: Event: 20, 150, Loading Development application definitions

14:34:02 01/09/2014: Event: 20, 152, Loading Development application definitions for default localization

14:34:02 01/09/2014: Event: 20, 153, Finished loading Development application definitions for default localization

14:34:02 01/09/2014: Event: 20, 151, Finished loading Development application definitions

14:34:02 01/09/2014: Event: 20, 4, Server v6.1.3.10212

14:34:02 01/09/2014: Starting front ends

14:34:02 01/09/2014: ANGEL Front End: Starting threads.

14:34:02 01/09/2014:    3 initial threads.  Threads will auto-scale.

14:34:02 01/09/2014: ANGEL Front End: opening listen socket on port 7003

14:34:02 01/09/2014: Event: 17, 10, 0.0.0.0:7003 open

14:34:02 01/09/2014: Event: 17, 10, ANGEL Front End v6.1.3.10212

14:34:02 01/09/2014: Event: 0, 0, Old log files moved into Logs-Rolled\2014-01-09-143353

14:34:02 01/09/2014: Event: 0, 23, 1

14:34:02 01/09/2014: Event: 0, 2, Server startup is complete.

14:34:02 01/09/2014: Agentry Application startup complete

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

We managed to find the problem, it was in the Agentry Configuration Panel.

In the Security Configurations, we had a rule with wrong values. We eliminated that rule and the connection between the Agentry Server and the SAP backend went without problems.

Answers (1)

Answers (1)

former_member188433
Participant
0 Kudos

You are using v6.1.x and I am using v6.0.32, but from my point of view it look like the service user you have configured in Agentry to access the SAP backend system does not have the correct authorizations.  Check the security authorizations for the service user that is configured to access the SAP backend system.  Regards - Jeff