cancel
Showing results for 
Search instead for 
Did you mean: 

Problem starting an Agentry application SMP 3.0

Former Member
0 Kudos

Hi Everyone,

I wanted to follow the tutorial Agentry Tutorial How to Create an Agentry App form Scratch to create a Test application. We have reached the publish step but we are now facing a problem and it is that the Agentry server is not starting, in the startup.log file the following message appears:

com.syclo.agentry.AgentryException: Error validation user password.

I've checked the solution provided in the discussion but those definitions are already present on my JavaBE.ini file. 

The tutorial indicates that the files SAPCommon-121161.jar sapjcorfc.dll and sapjco.jar  are included in the path, but as I'm running this example on SMP 3.0 the files I put on the Agentry.ini  file for the classPath were the SAPCommon-133461.jar, sapjco3.dll and sapjco3.jar. Is this affecting somehow the server start up?

What other things can be causing this issue?

Thanks for your help,

William

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Can you check your ServerClass value.  Is it set to "com.syclo.agentry.Server"  or did you update to the "com/syclo/sap/sflight/server/Server", also you need to have enableAuthentication=true

Also, in your JavaBE.ini in the [SERVICE_LOGON] section you need to have a valid user for the following values:

UID=

UPASSWORD=

Former Member
0 Kudos

Hi Stephen,

I've checked the enableAuthentication line and it is set to true, also the serverClass value is com/syclo/sap/sflight/server/Server.

My Password and user are correctly set in the [SERVICE_LOGON] section, there I set the UPASSWORDENCODED = false to make sure the password is passed as I wrote it in the JavaBE file, but nothing of this have worked.

At the [SERVICE_LOGON] section I have a doubt, What value should go in the SERVERSERIALNUM parameter?

I have attached my Agentry.ini and JavaBE.ini. These files were modified from another application.

Thanks

Former Member
0 Kudos

I've added the following lines at the end of the JavaBE.ini file and it is now connecting to the backend without errors, I'm still having some issues with the data that is getting the application but i think this problem might be something else like the wrappers.

[REQUIRED_BAPI_CLASS_MAPPING]

ChangePasswordBAPI=com.syclo.sap.bapi.ChangePasswordBAPI

CTBAPI=com.syclo.sap.bapi.CTBAPI

CTConfirmationBAPI=com.syclo.sap.bapi.CTConfirmationBAPI

DTBAPI=com.syclo.sap.bapi.DTBAPI

GetEmployeeDataBAPI=com.syclo.sap.bapi.GetEmployeeDataBAPI

GetUserDetailBAPI=com.syclo.sap.bapi.GetUserDetailBAPI

GetUserProfileDataBAPI=com.syclo.sap.bapi.GetUserProfileDataBAPI

LoginCheckBAPI=com.syclo.sap.bapi.LoginCheckBAPI

PushClearUserQueueBAPI=com.syclo.sap.bapi.PushClearUserQueueBAPI

PushResetUserQueueBAPI=com.syclo.sap.bapi.PushResetUserQueueBAPI

PushStatusUpdateBAPI=com.syclo.sap.bapi.PushStatusUpdateBAPI

RemoteObjectCreateBAPI=com.syclo.sap.bapi.RemoteObjectCreateBAPI

RemoteObjectDeleteBAPI=com.syclo.sap.bapi.RemoteObjectDeleteBAPI

RemoteObjectGetBAPI=com.syclo.sap.bapi.RemoteObjectGetBAPI

RemoteParameterGetBAPI=com.syclo.sap.bapi.RemoteParameterGetBAPI

RemoteReferenceCreateBAPI=com.syclo.sap.bapi.RemoteReferenceCreateBAPI

RemoteReferenceDeleteBAPI=com.syclo.sap.bapi.RemoteReferenceDeleteBAPI

RemoteReferenceGetBAPI=com.syclo.sap.bapi.RemoteReferenceGetBAPI

RemoteUserCreateBAPI=com.syclo.sap.bapi.RemoteUserCreateBAPI

RemoteUserDeleteBAPI=com.syclo.sap.bapi.RemoteUserDeleteBAPI

SignatureCaptureBAPI=com.syclo.sap.bapi.SignatureCaptureBAPI

SystemInfoBAPI=com.syclo.sap.bapi.SystemInfoBAPI

As the main problem of connection is solve I'll close the discussion.

Answers (0)