cancel
Showing results for 
Search instead for 
Did you mean: 

SMP3 - AppDevelopment (Agentry):

Former Member
0 Kudos

Hi, I have a question on SMP3 and AppDevelopment (Agentry):

I got a connection to the backend error, I am not sure if this is caused by system number & client number entry mistake in JavaBE.ini ?

How do I find a correct  system number & client ? Thank you.

SMP log:

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###openConnection::Failed to establish connection for user MOBUSER: Connect to SAP gateway failed |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###Connection parameters: TYPE=A DEST=custom_USER_AUTH ASHOST=10.96.77.186 SYSNR=00 PCS=1 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###LOCATION    CPIC (TCP/IP) on local host with Unicode |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###ERROR       partner '10.96.77.186:3300' not reached |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###TIME        Fri Jan 30 16:52:51 2015 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###RELEASE     720 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###COMPONENT   NI (network interface) |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###VERSION     40 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###RC          -10 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###MODULE      nixxi.cpp |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###LINE        3286 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###DETAIL      NiPConnect2: 10.96.77.186:3300 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###SYSTEM CALL connect |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###ERRNO       10061 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###ERRNO TEXT  WSAECONNREFUSED: Connection refused |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###COUNTER     2 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread### |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###User::initSession()::SAP Exception - JCO_ERROR_COMMUNICATION |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###release::log level = 6 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###release::begin |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###endStatefulConnection::log level = 6 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###endStatefulConnection::begin |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###endStatefulConnection::closing session session-1 |

2015 01 30 16:52:51#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###release::done |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###com.syclo.agentry.LoginBlockedException: JCO_ERROR_COMMUNICATION Connect to SAP gateway failed |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###Connection parameters: TYPE=A DEST=custom_USER_AUTH ASHOST=10.96.77.186 SYSNR=00 PCS=1 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###LOCATION    CPIC (TCP/IP) on local host with Unicode |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###ERROR       partner '10.96.77.186:3300' not reached |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###TIME        Fri Jan 30 16:52:51 2015 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###RELEASE     720 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###COMPONENT   NI (network interface) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###VERSION     40 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###RC          -10 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###MODULE      nixxi.cpp |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###LINE        3286 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###DETAIL      NiPConnect2: 10.96.77.186:3300 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###SYSTEM CALL connect |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###ERRNO       10061 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###ERRNO TEXT  WSAECONNREFUSED: Connection refused |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread###COUNTER     2 |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.login(Server.java:517) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.createServiceUser(Server.java:1749) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.getServiceUser(Server.java:1867) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.loadSAPProperties(Server.java:854) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.initServer(Server.java:297) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.Server.<init>(Server.java:272) |

2015 01 30 16:52:51#+1100#ERROR#System.err##anonymous#Agentry Dev Def Load Loop Thread### at com.syclo.sap.sflight.server.Server.<init>(Server.java:14) |

2015 01 30 16:52:51#+1100#ERROR#com.sap.mobile.platform.server.agentry.console##anonymous#Agentry Dev Def Load Loop Thread###Exception: 16:52:51 01/30/2015 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: JCO_ERROR_COMMUNICATION Connect to SAP gateway failed), Connection parameters: TYPE=A DEST=custom_USER_AUTH ASHOST=10.96.77.186 SYSNR=00 PCS=1 |

2015 01 30 16:52:52#+1100#ERROR#com.sap.mobile.platform.server.agentry.console##anonymous#Agentry Dev Def Load Loop Thread###Exception: 16:52:52 01/30/2015 : 0 (General), File system exception (The path could not be found, ), ..\crossplatform\win32\FileSystemWatcher.cpp#72:Syclo::FileSystemWatcher::FileSystemWatcher |

2015 01 30 16:52:52#+1100#INFO#System.out##anonymous#SMPServerStatusManager###SMPServerStatusManager: 108 of 108 tracked bundles have initialized. |

2015 01 30 16:52:53#+1100#INFO#System.out##anonymous#SMPServerStatusManager###SMPServerStatusManager: The SMP server has initialized and is ready. |

Agentry events.log :

01/30/2015 16:52:46, 0,         0,         0, Thr       7188, New files opened events.log, messages.log

01/30/2015 16:52:46, 0,         0,         2, Thr       7188, Loading the Agentry Runtime's public/private key for password exchanges.

01/30/2015 16:52:46, 0,         0,         2, Thr       7188, Key pair loaded successfully.

01/30/2015 16:52:46, 0,         0,         2, Thr       7188, Agentry Startup

01/30/2015 16:52:46, 0,         1,         4, Thr       7188, Agentry Server Agent v7.0.4.17

01/30/2015 16:52:47, 0,        20,       150, Thr      10008, Loading Development application definitions

01/30/2015 16:52:47, 1,         3,         9, Thr      10008, Java-1, Chickaming Java, initialHeapSize, File: , ..\agentry\SystemLogger.cpp#792:DTLoggerHandler::badKey

01/30/2015 16:52:47, 1,         3,         9, Thr      10008, Java-1, Chickaming Java, maxHeapSize, File: , ..\agentry\SystemLogger.cpp#792:DTLoggerHandler::badKey

01/30/2015 16:52:47, 1,         3,         9, Thr      10008, Java-1, Chickaming Java, nonStandardJavaOptions, File: , ..\agentry\SystemLogger.cpp#792:DTLoggerHandler::badKey

01/30/2015 16:52:47, 1,         3,         9, Thr      10008, Java-1, Chickaming Java, reduceOSSignalUse, File: , ..\agentry\SystemLogger.cpp#792:DTLoggerHandler::badKey

01/30/2015 16:52:51, 1,        20,        18, Thr      10008, JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: JCO_ERROR_COMMUNICATION Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=custom_USER_AUTH ASHOST=10.96.77.186 SYSNR=00 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       partner '10.96.77.186:3300' not reached

TIME        Fri Jan 30 16:52:51 2015

RELEASE     720

COMPONENT   NI (network interface)

VERSION     40

RC          -10

MODULE      nixxi.cpp

LINE        3286

DETAIL      NiPConnect2: 10.96.77.186:3300

SYSTEM CALL connect

ERRNO       10061

ERRNO TEXT  WSAECONNREFUSED: Connection refused

COUNTER     2

01/30/2015 16:52:51, 0,        20,       152, Thr      10008, Loading Development application definitions for default localization

01/30/2015 16:52:51, 0,        20,       153, Thr      10008, Finished loading Development application definitions for default localization

01/30/2015 16:52:51, 0,        20,       151, Thr      10008, Finished loading Development application definitions

01/30/2015 16:52:52, 0,        17,        14, Thr       7188, MyFlight v7.0.4.17

01/30/2015 16:52:52, 0,        20,         4, Thr       7188, MyFlight v7.0.4.17

01/30/2015 16:52:52, 1,         0,       250, Thr       4984, The path could not be found, ..\crossplatform\win32\FileSystemWatcher.cpp#72:Syclo::FileSystemWatcher::FileSystemWatcher

01/30/2015 16:52:52, 0,        21,         4, Thr       7188, SAPWM62 v7.0.4.17

01/30/2015 16:52:52, 0,        17,        10, Thr       7188, MyFlight v7.0.4.17

01/30/2015 16:52:52, 0,         0,         0, Thr       7188, Old log files moved into C:\SAP\MobilePlatform3\Server\log\agentry\rolled\2015-01-30-165245

01/30/2015 16:52:52, 0,         0,        23, Thr       7188, Agentry startup is complete.

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Check with backend team, they will assist you.

e.g.

System number/ID: ES1

client number: 001

Former Member
0 Kudos

Thanks Jitendra. It shld be a two digit number.

01/30/2015 18:15:16, 1,        20,        18, Thr       5948, JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: JCO_ERROR_CONFIGURATION Parameter ABAP system number ('sysnr') needs to be a two digit number string instead of 'MOB'

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you confirm it from SAP backend team?

Former Member
0 Kudos

It seems I get the connection resolved, but I am not getting any data, and more error shown:

2015 01 30 19:12:21#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###execute::::MOBUSER::before BAPI execute: /SYCLO/CORE_MDW_PARAMETER_GET |

2015 01 30 19:12:21#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###execute::begin |

2015 01 30 19:12:21#+1100#INFO#System.out##anonymous#SMPServerStatusManager###SMPServerStatusManager: 107 of 108 tracked bundles have initialized. |

2015 01 30 19:12:24#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###closeSession::begin |

2015 01 30 19:12:24#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###closeSession::session closed for user MOBUSER |

2015 01 30 19:12:24#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###release::begin |

2015 01 30 19:12:24#+1100#INFO#System.out##anonymous#Agentry Dev Def Load Loop Thread###endStatefulConnection::begin |

2015 01 30 19:12:25#+1100#ERROR#com.sap.mobile.platform.server.agentry.console##anonymous#Agentry Dev Def Load Loop Thread###Exception: 19:12:24 01/30/2015 : 0 (General), File system exception (The path could not be found, ), ..\crossplatform\win32\FileSystemWatcher.cpp#72:Syclo::FileSystemWatcher::FileSystemWatcher |

2015 01 30 19:12:25#+1100#INFO#System.out##anonymous#SMPServerStatusManager###SMPServerStatusManager: 108 of 108 tracked bundles have initialized. |

2015 01 30 19:12:26#+1100#INFO#System.out##anonymous#SMPServerStatusManager###SMPServerStatusManager: The SMP server has initialized and is ready. |

2015 01 30 19:12:37#+1100#INFO#System.out##anonymous#Thread-255###Session timer for user: MOBUSER ending. |

Thanks

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The connection information is stored in the JavaBE.ini.  You did not indicate what product you are working with, is it work manager?

Did you verify your backend confirmation in the management cockpit after deploying the app?  the error seems to indicate it thinks your agentry application is running in Development mode and it cannot find the definitions to load.

If you are in dev mode, did you publish from the edtior to your application directory?

--Bill

Former Member
0 Kudos

You did not indicate what product you are working with, is it work manager?

It is not a work manager application

Did you verify your backend confirmation in the management cockpit after deploying the app?  the error seems to indicate it thinks your agentry application is running in Development mode and it cannot find the definitions to load.

I managed to deploy the app as production, and the backend information populated. Please confirm, the backend information is populated only for production  ?

If you are in dev mode, did you publish from the editor to your application directory?

Yes I did, here is directory:

C:\SAP\MobilePlatform3\Server\configuration\com.sap.mobile.platform.server.agentry.application.MyFlight

The warning I got from SMP log:

18:19:28#+1100#WARN#com.sap.mobile.platform.server.proxy.configuration.service.AbstractEndpointConfigurationService##anonymous#http-bio-8083-exec-7####null#null#null#warn#Proxy#smpAdmin#null#1459fb2c-d2e5-4100-b5fd-064afab2c8fb#null#1422821968618#null#com.sap.mobile.platform.server.proxy.configuration.service.AbstractEndpointConfigurationService:getEndpoint#No endpoint with name MyFlight was found#null#693#null#1#null |

Thank you

Former Member
0 Kudos

The Management cockpit will show backend settings for both Development and production logic.  If you upload an application Zip file to the SMP Server this would be production logic, but you published right to the application folder, this is development logic:

18:12:40 02/02/2015: Event: 20, 152, Loading Development application definitions for default localization

18:12:40 02/02/2015: Event: 20, 153, Finished loading Development application definitions for default localization

18:12:40 02/02/2015: Event: 20, 151, Finished loading Development application definitions

For your startup.log file I see you have 2 applicaitons:

01/30/2015 16:52:52, 0,        21,         4, Thr       7188, SAPWM62 v7.0.4.17

01/30/2015 16:52:52, 0,        17,        10, Thr       7188, MyFlight v7.0.4.17


What one are you tring to use?  The "MyFlight' application right now?  if so, would it be possible to remove the SAPWM one for now until you get the other working?



I see you are running SMP SP04 runtime, SP05 is already released, can you upgrade to this version?

18:12:07 02/02/2015: Starting Agentry: Agentry Server Agent v7.0.4.17

Stephen

Former Member
0 Kudos

I Have upgraded to SP05 and removed SAPWM, but the issue still the same.

2015 02 03 15:39:43#+1100#WARN#com.sap.mobile.platform.server.proxy.configuration.service.AbstractEndpointConfigurationService##anonymous#http-bio-8083-exec-8####null#null#null#warn#Proxy#smpAdmin#null#6f606118-5db2-4d32-8dc1-73740abc9b7a#null#1422898783890#null#com.sap.mobile.platform.server.proxy.configuration.service.AbstractEndpointConfigurationService:getEndpoint#No endpoint with name MyFlight was found#null#722#null#1422938381920000#null |

Former Member
0 Kudos

Found the steplet name has to be the same as the java class name

Answers (0)