cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Client Not connected with dev server

0 Kudos

Hi All,

I seek if any one could help on the agentry architecture part of SMP and its infrastructure setup. Currently we are doing some POC with agentry components of SMP 2.3 server. We have installed all 64 bit version of SMP and Agentry tools in 64 bit version of windows 8 PC. But I don’t see Agentry Test Environment is available for 64 bit windows. Is it so? Because whenever I start the ATE tool, it gets hanged and says “Agentry Client for Win32 is not responding”. Is there any specific reason to be so?

Also after we export agentry app as jar file and copy it to dev server along with ini, jar and dlls and also modifying some configuration parameters in Agentry.ini and JavaBE.ini files, agentry admin client gives log as below.

18:48:01 11/11/2013: Starting server (64-bit Windows)

18:48:02 11/11/2013: Administration client command port is 13271, status port is 13272

18:48:02 11/11/2013: Looking for initial status connection...

18:48:02 11/11/2013: Reading system ini file.

18:48:02 11/11/2013: ID: Agentry, Name: ???, Location: ???

18:48:02 11/11/2013: Starting log file.

18:48:02 11/11/2013: Loading message groups.

18:48:02 11/11/2013: Starting threads.

18:48:02 11/11/2013:    1 initial threads.  Threads will auto-scale.

18:48:02 11/11/2013: Starting Server: Agentry v6.1.0.3

18:48:02 11/11/2013: Event: 0, 2, System Startup

18:48:02 11/11/2013: Loading 1 front ends

18:48:02 11/11/2013: Loading front end from angelvine.dll

18:48:02 11/11/2013: ANGEL Front End: reading init files.

18:48:02 11/11/2013: Event: 17, 14, ANGEL Front End v6.1.0.3

18:48:02 11/11/2013: Event: 0, 2, Loading the Agentry Server's public/private key for password exchanges.

18:48:02 11/11/2013: Event: 0, 2, Key pair loaded successfully.

18:48:02 11/11/2013: Starting Server Agent.

18:48:02 11/11/2013: Agentry: Starting threads.

18:48:02 11/11/2013:    1 initial threads.  Threads will auto-scale.

18:48:02 11/11/2013: Agentry: Adding messages.

18:48:02 11/11/2013: Event: 1, 4, Agentry v6.1.0.3

18:48:02 11/11/2013: Loading 1 agents

18:48:02 11/11/2013: Loading agent from ag3.dll

18:48:02 11/11/2013: Starting Server

18:48:02 11/11/2013: Server: reading ini file

18:48:02 11/11/2013: Event: 0, 30, Admin client 192.168.5.132:13273 authenticated successfully.

18:48:02 11/11/2013: Event: 0, 27, Admin client 192.168.5.132:13273 has connected

18:48:02 11/11/2013: Initializing 1-Java from ag3javabe.dll

18:48:02 11/11/2013: SystemConnection-1: Reading configuration information.

18:48:02 11/11/2013: SystemConnection-1: Setting name to 'Java Back End'.

18:48:02 11/11/2013: Java Back End: Initialized.

18:48:02 11/11/2013: Exception: 18:48:02 11/11/2013 : 25 (General), Unknown Exception (Java Back End - java.lang.UnsupportedClassVersionError: com/syclo/agentry/internal/AgentryManagedObject (Unsupported major.mino, ), javaBE.cpp#445:JavaBackEnd::init

18:48:02 11/11/2013: Failed to init Java Back End (Java v6.1.0.3 (JVM version 1.4.2_38, AJAPI version  build )) from ag3javabe.dll

18:48:02 11/11/2013: Event: 20, 150, Loading Development application definitions

18:48:02 11/11/2013: Event: 20, 152, Loading Development application definitions for default localization

18:48:02 11/11/2013: Event: 20, 153, Finished loading Development application definitions for default localization

18:48:02 11/11/2013: Event: 20, 151, Finished loading Development application definitions

18:48:02 11/11/2013: Event: 20, 4, Server v6.1.0.3

18:48:02 11/11/2013: Starting front ends

18:48:02 11/11/2013: ANGEL Front End: Starting threads.

18:48:02 11/11/2013:    3 initial threads.  Threads will auto-scale.

18:48:02 11/11/2013: ANGEL Front End: opening listen socket on port 7003

18:48:02 11/11/2013: Event: 17, 10, 0.0.0.0:7003 open

18:48:02 11/11/2013: Event: 17, 10, ANGEL Front End v6.1.0.3

18:48:02 11/11/2013: Event: 0, 0, Old log files moved into Logs-Rolled\2013-11-11-184801

18:48:02 11/11/2013: Event: 0, 23, 1

18:48:02 11/11/2013: Event: 0, 2, Server startup is complete.

18:48:02 11/11/2013: Agentry Application startup complete

Is there any exception in my deployment or infrastructure setup?.  App details are also configured with required BAPI wrappers in the SAP addon configuration panel.


Could any body help to sort this and run the app in ATE?

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Mohanaundaram,

There is only the 32 bit version of the ATE, but this will work on 64 bit servers.

Also, please install SP02 as I see are running SP01.

Also I see your server fails loading the Java Backend Connection:

18:48:02 11/11/2013: Exception: 18:48:02 11/11/2013 : 25 (General), Unknown Exception (Java Back End - java.lang.UnsupportedClassVersionError: com/syclo/agentry/internal/AgentryManagedObject (Unsupported major.mino, ), javaBE.cpp#445:JavaBackEnd::init

Please make sure the Java Code you are using complied under the same version the serer is running on.  The Java Version the server is 1.4.2_38.

Stephen Streeter

jason_latko
Advisor
Advisor
0 Kudos

Make sure you have 64-Bit Java installed on your Agentry server machine and that it exists first in your Windows PATH environment variable.  It seems as if your system is possibly configured for 32-Bit Java, giving you the  java.lang.UnsupportedClassVersionError problem.  Open a WIndows command prompt and type "PATH" to look at your environment path.  Isolate the java entries and make sure you have a path to the 64-bit java directories on your server, and not 32-bit, since you are using 64-bit Agentry.

Jason Latko - Senior Product Developer at SAP

Answers (2)

Answers (2)

atif_bhatti
Participant
0 Kudos

A small important parameter which you may needed later to debug your java code is

under Agentry.ini file

section

add the following parameter.

[Java-1]

nonStandardJavaOptions=-Xdebug -Xrunjdwp:transport=dt_socket,address=7090,server=y,suspend=n

thanks

0 Kudos

Hi Steeve & Jason,

Thank you for your help.

Yes. I had unrecommended Java version in my 64 bit windows machine. Now i have changed it to 64 bit Java 1.6.0_45. But still Java Back End issue there. This time while i start my Agentry Dev server, it says,

10:49:20 11/14/2013: Exception: 10:49:20 11/14/2013 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: 14.11.2013 10:49:16  - /SYCLO/CX_CORE_RFC_OO_DATA:An exception occurred),

10:49:20 11/14/2013: Failed to init Java Back End (Java v6.1.0.3 (JVM version 1.6.0_45, AJAPI version  build )) from ag3javabe.dll

Any idea? I have checked Back end system configurations too. Things looking perfect there also.

jason_latko
Advisor
Advisor
0 Kudos

Mohan,

Please provide the following info in a reply so we can figure this out:

results of "java -version" from a command prompt on your Agentry machine

results of "PATH" from a command prompt on your Agentry machine

[JAVA] section of your Agentry.ini file from your Agentry server directory

Also, what product are you testing against? (SAP Work manager, Service Manager, Inventory Manager, etc...)

Thanks!

Jason Latko - Senior Product Developer at SAP

0 Kudos

Jason, Info you ask for

Java -version

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\P

rogram Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x

86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL

Server\110\Tools\Binn\;C:\Program Files\Java\jdk1.6.0_45\bin\;C:\Program Files\

Java\jdk1.6.0_45\jre\bin\server\;C:\Program Files\Java\jdk1.6.0_45\jre\lib\;

[Java-1]

name=Java Back End

constantsFile=

deleteSource=true

enableAuthentication=true

enablePreviousUserAuthentication=false

initialHeapSize=2

maxHeapSize=64

nonStandardJavaOptions=

outputDirectory=.

performCompile=false

printBusinessLogicStackTrace=false

printStackTrace=false

reduceOSSignalUse=true

scriptsPath=

sourceDirectory=.

timeZoneName=

classPath=./Java/Agentry-v5.jar;ini4j.jar;sapjco.jar;SAPCommon-121161.jar;ZFlightBooking.jar;

serverClass=com/syclo/sap/sflight/server/Server

Thanks for showing interest.

0 Kudos

and we are doing some POC not testing any of the SAP products.