on 10-26-2013 11:43 AM
Hi All,
I was following an SAP How-to Guide regarding development of custom Agentry application.I have developed a sample application for getting flight schedule details.But I am stuck at the part of JAVABE.ini configuration part.After all the devs in agentry editor, I published the code to Agentry development server.I have developed the Java class files according to the guide.But when I start my Syclo server,I am getting the following error."Error validation user password".And I have maintained the user name and password in the agentry.ini but that file is used by the Agentry test client to connect to the Agentry server.Do I need to maintain password in some other files too?
The Bapi wrapper i have assigned for the custom applications are the following
The JAVABE.ini configurations is where I think I have made the mistake.I have commented all the other bapi's in the JAVABE.ini file since my custom application is not assigned with those bapis.
Thanks in advance...
I would not comment those Required BAPI's in the javaBE.ini. Those are core SAP/Agentry code tied to the most use part of the program. Different products may have something different but anything that states "CORE" you don't want to ommit that because that is key inside the program. So your omission may be contributing. Your custom application may not used those but the core code of the system needs it (like creating an SAP session and so forth).
This is my guess.
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks for the tip.i uncommented all the BAPI's with SYCLO/CORE and agentry server now started up..
now i am facing error in my agentry test client.
But i guess this is due to JavaBackend Error which was unable to get my custom java classes.I am working rectifying this part now ..thanks a lot for tip.
if your getting error during server start-up then you need to check Service user id and pwd ? especially check encoding type..if you have manually typed in password then set ENCODING to FALSE and start Agentry Server.
UPASSWORDENCODED=false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Server is erroring when the is tryin gto connect SAP to pull out the values. Can you check the Service_Logon section of the JavaBE.ini to see if the username and password is valid?
Stephen Streeter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi steve,
I have run the connectTest.bat in cmd and here is the screenshot from it.it is able to fetch the details from backend.
And the log files details from the syclo server is
events.log
10/29/2013 13:58:24, 0, 0, 0, Thr 8060, New files opened events.log, messages.log
10/29/2013 13:58:24, 0, 0, 2, Thr 8060, System Startup
10/29/2013 13:58:24, 0, 0, 18, Thr 8060, Memory: page: 1446256640/4154966016, phys: 846528512/2077483008, virtual: 2086240256/2147352576
10/29/2013 13:58:24, 0, 17, 14, Thr 8060, ANGEL Front End v6.0.22.0
10/29/2013 13:58:24, 0, 0, 2, Thr 8060, Loading the Agentry Server's public/private key for password exchanges.
10/29/2013 13:58:24, 0, 0, 2, Thr 8060, Key pair loaded successfully.
10/29/2013 13:58:24, 0, 1, 4, Thr 8060, Agentry v6.0.22.0
10/29/2013 13:58:24, 0, 0, 30, Thr 4672, Admin client 10.222.110.111:60192 authenticated successfully.
10/29/2013 13:58:24, 0, 0, 27, Thr 4672, Admin client 10.222.110.111:60192 has connected
10/29/2013 13:58:25, 1, 20, 18, Thr 8060, JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: Error validation user password
10/29/2013 13:58:25, 0, 20, 150, Thr 7440, Loading Development application definitions
10/29/2013 13:58:25, 0, 20, 152, Thr 7440, Loading Development application definitions for default localization
10/29/2013 13:58:25, 0, 20, 153, Thr 7440, Finished loading Development application definitions for default localization
10/29/2013 13:58:25, 0, 20, 151, Thr 7440, Finished loading Development application definitions
10/29/2013 13:58:25, 0, 20, 4, Thr 8060, Server v6.0.22.0
10/29/2013 13:58:25, 0, 17, 10, Thr 8060, 0.0.0.0:7003 open
10/29/2013 13:58:25, 0, 17, 10, Thr 8060, ANGEL Front End v6.0.22.0
10/29/2013 13:58:25, 0, 0, 18, Thr 8060, Memory: page: 1131798528/4154966016, phys: 810987520/2077483008, virtual: 1251205120/2147352576
10/29/2013 13:58:25, 0, 0, 20, Thr 8060, Disk: 42949668864 bytes total, 16668884992 bytes free
10/29/2013 13:58:25, 0, 0, 0, Thr 8060, Old log files moved into Logs-Rolled\2013-10-29-135824
10/29/2013 13:58:25, 0, 0, 2, Thr 8060, Server startup is complete.
10/29/2013 13:58:54, 0, 0, 19, Thr 6120, Virtual memory: 1249107968 avail (898244608 used)
startup.log
13:58:24 10/29/2013: Starting server (32-bit Windows)
13:58:24 10/29/2013: Administration client command port is 60097, status port is 60098
13:58:24 10/29/2013: Looking for initial status connection...
13:58:24 10/29/2013: Reading system ini file.
13:58:24 10/29/2013: ID: SAP Inventory Manager Server v3.2.0.0, Name: ???, Location: ???
13:58:24 10/29/2013: Starting log file.
13:58:24 10/29/2013: Loading message groups.
13:58:24 10/29/2013: Starting threads.
13:58:24 10/29/2013: 1 initial threads. Threads will auto-scale.
13:58:24 10/29/2013: Starting Server: Agentry v6.0.22.0
13:58:24 10/29/2013: Event: 0, 2, System Startup
13:58:24 10/29/2013: Loading 1 front ends
13:58:24 10/29/2013: Loading front end from angelvine.dll
13:58:24 10/29/2013: ANGEL Front End: reading init files.
13:58:24 10/29/2013: Event: 17, 14, ANGEL Front End v6.0.22.0
13:58:24 10/29/2013: Event: 0, 2, Loading the Agentry Server's public/private key for password exchanges.
13:58:24 10/29/2013: Event: 0, 2, Key pair loaded successfully.
13:58:24 10/29/2013: Starting Server Agent.
13:58:24 10/29/2013: Agentry: Starting threads.
13:58:24 10/29/2013: 1 initial threads. Threads will auto-scale.
13:58:24 10/29/2013: Agentry: Adding messages.
13:58:24 10/29/2013: Event: 1, 4, Agentry v6.0.22.0
13:58:24 10/29/2013: Loading 1 agents
13:58:24 10/29/2013: Loading agent from ag3.dll
13:58:24 10/29/2013: Event: 0, 30, Admin client 10.222.110.111:60192 authenticated successfully.
13:58:24 10/29/2013: Starting Server
13:58:24 10/29/2013: Server: reading ini file
13:58:24 10/29/2013: Event: 0, 27, Admin client 10.222.110.111:60192 has connected
13:58:25 10/29/2013: Initializing 1-Java from ag3javabe.dll
13:58:25 10/29/2013: SystemConnection-1: Reading configuration information.
13:58:25 10/29/2013: SystemConnection-1: Setting name to 'Java Back End'.
13:58:25 10/29/2013: Java Back End: Initialized.
13:58:25 10/29/2013: Java Back End: Java Virtual Machine loaded.
13:58:25 10/29/2013: Exception: 13:58:25 10/29/2013 : 20 (Agentry3), JavaBackEndError (JAVA EXCEPTION CAUGHT: com.syclo.agentry.AgentryException: Error validation user password),
13:58:25 10/29/2013: Failed to init Java Back End (Java v6.0.22.0 (JVM version 1.6.0, AJAPI version build )) from ag3javabe.dll
13:58:25 10/29/2013: Event: 20, 150, Loading Development application definitions
13:58:25 10/29/2013: Event: 20, 152, Loading Development application definitions for default localization
13:58:25 10/29/2013: Event: 20, 153, Finished loading Development application definitions for default localization
13:58:25 10/29/2013: Event: 20, 151, Finished loading Development application definitions
13:58:25 10/29/2013: Event: 20, 4, Server v6.0.22.0
13:58:25 10/29/2013: Starting front ends
13:58:25 10/29/2013: ANGEL Front End: Starting threads.
13:58:25 10/29/2013: 3 initial threads. Threads will auto-scale.
13:58:25 10/29/2013: ANGEL Front End: opening listen socket on port 7003
13:58:25 10/29/2013: Event: 17, 10, 0.0.0.0:7003 open
13:58:25 10/29/2013: Event: 17, 10, ANGEL Front End v6.0.22.0
13:58:25 10/29/2013: Event: 0, 0, Old log files moved into Logs-Rolled\2013-10-29-135824
13:58:25 10/29/2013: Event: 0, 23, 1
13:58:25 10/29/2013: Event: 0, 2, Server startup is complete.
13:58:25 10/29/2013: Agentry Application startup complete
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.