cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Connecting Agentry Client

CRVMANISH
Contributor
0 Kudos

Hello Experts,

When i connect Agentry client , i get following error .

No backends loaded. Please check server startup logs

Please Suggest.

Regards

Manish

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

Could you please specify the path from where to copy in the Agentry Server folder of SMP 2.3

sapjco.jar

ini4j.jar

sapjcorfc.dll and

librfc32.dll

Regards

A Reshma

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Historically those files are stored in the ServerDev directory (or ServerProd) of the Agentry server.

--Bill

sankar_27
Active Participant
0 Kudos

Hi Manish,

I am getting same error , please respond if you resolved the issue

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sankara,

Please create a Discussion marked as a Question.  Not only so others may benefit from your solution once it is found, but also because you will have more folks looking to provide a solution when your issue has the greater visibility of a Discussion.  Also suggest that you visit the Getting Started link at the top right of each SCN page for help with creating a good Discussion.

--Bill

agentry_src
Active Contributor
0 Kudos

Regards, Mike (Moderator)

SAP Technology RIG

agentry_src
Active Contributor
0 Kudos

Hi Manish,

Do you have a backend connection configured? 

If it is configured and pointing to an ERP system, it could be a number of things, but first make sure the JavaBE.ini file contains the correct information for the ERP system including UID, client, sysno, pwd, and application server (Host).  A fairly common error to use the default client and/or default sysno.

As a simple check, you can use the same information to login directly to the ERP system from SAPGUI.

Regards, Mike

CRVMANISH
Contributor
0 Kudos

Hello Michael,

What is needed to configure backend, my backend is SAP.

This is my JavaBE.ini setting , let me know what is missing.

[HOST]

server=192.168.111.2

APPNAME=ZSMART_WORK_MANAGER_51

[CONFIG]

source=SAP

[CLIENT_NUM]

CLIENT=100

[SYSTEM_NUM]

SYSNUM=00

[LANGUAGE]

LANG=EN

Level=5

[REQUIRED_BAPI_WRAPPER]com.syclo.sap.bapi.LoginCheckBAPI=/SYCLO/CORE_SUSR_LOGIN_CHECK

com.syclo.sap.bapi.RemoteUserCreateBAPI=/SYCLO/CORE_MDW_SESSION1_CRT

com.syclo.sap.bapi.RemoteParameterGetBAPI=/SYCLO/CORE_MDW_PARAMETER_GET

com.syclo.sap.bapi.SystemInfoBAPI=/SYCLO/CORE_SYSTINFO_GET

com.syclo.sap.bapi.ChangePasswordBAPI=/SYCLO/CORE_SUSR_CHANGE_PASSWD

com.syclo.sap.bapi.CTConfirmationBAPI=/SYCLO/CORE_OUTB_MSG_STAT_UPD

com.syclo.sap.bapi.DTBAPI=/SYCLO/CORE_DT_GET

com.syclo.sap.bapi.GetEmployeeDataBAPI=/SYCLO/HR_EMPLOYEE_DATA_GET

com.syclo.sap.bapi.GetUserDetailBAPI=/SYCLO/CORE_USER_GET_DETAIL

com.syclo.sap.bapi.GetUserProfileDataBAPI=/SYCLO/CORE_USER_PROFILE_GET

com.syclo.sap.bapi.PushStatusUpdateBAPI=/SYCLO/CORE_PUSH_STAT_UPD

com.syclo.sap.bapi.RemoteObjectCreateBAPI=/SYCLO/CORE_MDW_USR_OBJ_CRT

com.syclo.sap.bapi.RemoteObjectDeleteBAPI=/SYCLO/CORE_MDW_USR_OBJ_DEL

com.syclo.sap.bapi.RemoteObjectGetBAPI=/SYCLO/CORE_MDW_SESSION_GET

com.syclo.sap.bapi.RemoteObjectUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD

com.syclo.sap.bapi.RemoteReferenceCreateBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_CRT

com.syclo.sap.bapi.RemoteReferenceDeleteBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_DEL

com.syclo.sap.bapi.RemoteReferenceGetBAPI=/SYCLO/CORE_MDW_SESSION_GET

com.syclo.sap.bapi.RemoteReferenceUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD

com.syclo.sap.bapi.RemoteSessionDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL

com.syclo.sap.bapi.RemoteUserDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL

com.syclo.sap.bapi.RemoteUserUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD

com.syclo.sap.bapi.TransactionCommitBAPI=WFD_TRANSACTION_COMMIT

com.syclo.sap.bapi.SignatureCaptureBAPI=/SYCLO/CS_DOBDSDOCUMENT_CRT

agentry_src
Active Contributor
0 Kudos

Hi Manish,

Those all look fine (I assume you have deliberately not listed the logon information). 

Have you logged in directly to ERP (thru SAPGUI) using the JavaBE.ini credentials and host information? 

Regards, Mike

CRVMANISH
Contributor
0 Kudos

No i have not deliberately listed logon information.

What i need to put there. I do not know parameters for it.

Yes my ECC  is logging properly through GUI.

Regards

Manish

agentry_src
Active Contributor
0 Kudos

Hi Manish,

Depending on what portions of the WM you are using, there may be more needed (if you are doing pushes for example), but at a minimum:

[SERVICE_LOGON]

ENABLED=true

UID=syclo-07

UPASSWORD=welcome

UPASSWORDENCODED=false

SERVERSERIALNUM=AMWCHEHANFAEJKXN

The server serial number is the one you used from the license txt file when installing the server.  Most likely you will have to replace what is prepackaged in the WM app's JavaBE.ini file.

Good luck, Mike

CRVMANISH
Contributor
0 Kudos

Thanks Michael,

From where i will get UID and UPASSWORD.

Regards

Manish

agentry_src
Active Contributor
0 Kudos

Hi Manish,

Those are the same as the ones used to login to the ERP system.  If you are using your personal ID and pwd, you will want Basis/Security to create a separate ID for the use with WM (don't let the pwd have an expiration date!!).  I would suggest that you register with resource.syclo.com and browse through their guides for WM.  They have some good ones.  I would also make sure you get the guides from Services Marketplace which should have guidelines for the creation of IDs for use with WM.

Regards, Mike

CRVMANISH
Contributor
0 Kudos

Hello Michael,

I am trying to setup Work Manager at client location , its windows server 2008 R2.

It gives me following error as 'No Backend loaded', I have tried all the solution given in notes but does not works.

Please attached screen shot

Regards

Manish

Former Member
0 Kudos

Manish,

Please look at note 1813024 - Troubleshooting: Failed to load ag3javaBE.dll - Agentry

Stephen Streeter

Former Member
0 Kudos

Note the issue is most likely with the Agentry.ini Setting or a configuration on the System. The above note should help with making sure all the System settings are correct.

CRVMANISH
Contributor
0 Kudos

i am using jdk 1.7.0_25 for WM 5.3.

As per note my ennvironment is set correctly , but i am using higher version of jdk.

Regards

Manish

Former Member
0 Kudos

Manish,

The Java Version should be fine.  In your System -> Advanced System Settings -> Advanced Tab -> "Environment Variables" make sure the "Path" value is has at the start of it: <JDK install>bin;<JDK install>\jre\bin\server;

CRVMANISH
Contributor
0 Kudos

Yes , It is on the start

Regards

Manish

Former Member
0 Kudos

Manish,

Have you confirmed that you are able to login to SAPGui with the UID and UPASSWORD?  That Michael was referring too?


Stephen Streeter

CRVMANISH
Contributor
0 Kudos

Yes, I did . Still did not worked.

Regards

Manish

CRVMANISH
Contributor
0 Kudos

My Event log.

11/08/2013 15:37:58, 0,         0,         0, Thr       5096, New files opened events.log, messages.log

11/08/2013 15:37:58, 0,         0,         2, Thr       5096, System Startup

11/08/2013 15:37:58, 0,         0,        18, Thr       5096, Memory: page: 4023443456/7897415680, phys: 1909506048/3949678592, virtual: 8796015337472/8796092891136

11/08/2013 15:37:58, 0,        17,        14, Thr       5096, ANGEL Front End v6.1.0.3

11/08/2013 15:37:58, 0,         0,         2, Thr       5096, Loading the Agentry Server's public/private key for password exchanges.

11/08/2013 15:37:58, 0,         0,         2, Thr       5096, Key pair loaded successfully.

11/08/2013 15:37:58, 0,         1,         4, Thr       5096, Agentry v6.1.0.3

11/08/2013 15:37:58, 0,         0,        30, Thr       7824, Admin client 192.168.111.47:13896 authenticated successfully.

11/08/2013 15:37:58, 0,         0,        27, Thr       7824, Admin client 192.168.111.47:13896 has connected

11/08/2013 15:37:58, 0,        24,         4, Thr       5096, Loaded HTTP-XML Back End (HTTPXML v6.1.0.3) from ag3httpxmlbe.dll

11/08/2013 15:37:59, 1,        20,        28, Thr       5096, Java Back End - NoClassDefFoundError|java.lang.NoClassDefFoundError: com/syclo/sap/sflight/server/Server

Caused by: java.lang.ClassNotFoundException: com.syclo.sap.sflight.server.Server

          at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

|classpath = .;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip;c:\agentry\serverdev\.\Java\Agentry-v5.jar;c:\agentry\serverdev\ini4j.jar;c:\agentry\serverdev\sapjco.jarjavaBE.cpp#428:JavaBackEnd::init

11/08/2013 15:37:59, 0,        20,       150, Thr       8348, Loading Development application definitions

11/08/2013 15:37:59, 0,        20,       152, Thr       8348, Loading Development application definitions for default localization

11/08/2013 15:37:59, 0,        20,       153, Thr       8348, Finished loading Development application definitions for default localization

11/08/2013 15:37:59, 0,        20,       151, Thr       8348, Finished loading Development application definitions

11/08/2013 15:37:59, 0,        20,         4, Thr       5096, Server v6.1.0.3

11/08/2013 15:37:59, 1,         2,        48, Thr       5096, EADDRINUSE, ..\Socket\win32\sockets.cpp#1514:ListeningStreamSocket::OSListeningSocket::listenOn

11/08/2013 15:37:59, 0,        17,        10, Thr       5096, ANGEL Front End v6.1.0.3

11/08/2013 15:37:59, 0,         0,        18, Thr       5096, Memory: page: 3673837568/7897415680, phys: 1883684864/3949678592, virtual: 8795133689856/8796092891136

11/08/2013 15:37:59, 0,         0,        20, Thr       5096, Disk: 104752738304 bytes total, 34914992128 bytes free

11/08/2013 15:37:59, 0,         0,         0, Thr       5096, Old log files moved into Logs-Rolled\2013-11-08-153757

11/08/2013 15:37:59, 0,         0,         2, Thr       5096, Server startup is complete.

Regards

Manish

CRVMANISH
Contributor
0 Kudos

I have solved all the above error but now i get below error.

I have checked my environment variable also it is correct

Exception: 18:35:17 11/08/2013 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION

CAUGHT: com.syclo.agentry.AgentryException: For input string: ""),

Failed to init Java Back End (Java v6.1.0.3 (JVM version 1.7.0_04, AJAPI version

  build )) from ag3javabe.dll

wenonah_jaques2
Advisor
Advisor
0 Kudos

Hi Manish,

How are you setting up the server? Have you installed the Work Manager server and trying to start that up or have you installed a blank Agentry server and trying to ser up Work Manager on it?

If it is a blank Agentry server, make sure you have done the following (i'm assuming you have a reference Work Manager server set up)

- Published your Agentry application definitions to your server

- Deploy the Work Manger and Common .jar files (these are Work Manager specific .jar files) into the Java directory of the server

- Copy the following files in your base server directory (JavaBE.ini, ini4j.jar, librfc32.jar, sapjco.jar, sapjcorfc.jar

- In the Java section of your Agentry.ini make sure your class path is correct: classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPWM-5.3.0.0.jar;./Java;./Java/SAPCommon-122971.jar;

Hope this helps

Thanks,

Wenonah

CRVMANISH
Contributor
0 Kudos

Hello Wenonah,

I am developing my own syclo application from scratch, this is not WM.

librfc32,sapjcorfc are dll not jar, correct me if i am wrong.

I have done exactly what you mentioned.

Regards

MAnish

wenonah_jaques2
Advisor
Advisor
0 Kudos

Hi Manish,

If you are developing a new Syclo application from scratch, have you developed the Server class which will log in to the SAP system - I see you have defined this as your Server class : com/syclo/sap/sflight/server/Server. you need to build a jar of your java package and include that in your classpath - specify your .jar instead of ;./Java/SAPWM-5.3.0.0.jar;./Java;./Java/SAPCommon-122971.jar;

Thanks,

Wenonah

CRVMANISH
Contributor
0 Kudos

Yes, I have included the jar in my Agentry.ini config file.

Regards

Manish