on 12-26-2013 4:39 AM
Hello,
I am new to Agentry and trying to develop one basic custom application for FlightBooking the problem I am facing is that I am not able to start the Agentry server, the details are mentioned below:
1. I have 32bit, windows 7 machine with Admin rights
2.Agntry server/Eclipse/Test client all installed on the the above machine
3.Versions:
Agentry server 6.1.0.45
JDK 1.7.0_45
Eclipse-SDK-3.7.2-win32
4. Editons in JAVABE.ini file
[HOST]
server=<IP ADDRESS OF ERP SYSTEM>
; mobile application name configured in sap like SMART_WORK_MANAGER_51, SMART_CUSTOMER_SERVICE_10, SMART_ISU_WORK_MANAGER_10...etc
APPNAME=Z01_FlightBooking
[CONFIG]
; Used to get the SAP Configutaions from SAP if source=SAP or from JavaBE ini file
; SAP Configurations are [ENABLE_TABLE], [TABLE_CHECK], [TABLE_REFRESH], [BAPI_WRAPPER],
; [SAPOBJECT], [CT_SAPOBJECT], [CT_BAPI_WRAPPER], [CT_RETURN_TABLE], [CT_DELETE_TABLE].....etc
source=SAP
[TEST_LOGON]
UID=
UPASSWORD=
UGUID=
SERVERSERIALNUM=
; Service login user is used to get the SAP Configutaions from SAP if source=SAP
; Set ENABLED=true if source=SAP or ENABLED=false if source=INI
; If ENABLED=true, set the UID, UPASSWORD and SERVERSERIALNUM
; SERVERSERIALNUM is the Agentry server serial number
[SERVICE_LOGON]
ENABLED=true
UID=<ID FOR ERP>
UPASSWORD=<PWD FOR ERP SYS>
UPASSWORDENCODED=false
SERVERSERIALNUM=<SERIAL NUMBER OF SERVER>
[PUSH_LOGON]
ENABLED=false
UID=
UPASSWORD=
UPASSWORDENCODED=false
SHAREDCONNECTION=10
[CLIENT_NUM]
CLIENT=100<client on which ERP is connected>
[SYSTEM_NUM]
SYSNUM=00 <instance number of the ERP system>
[LANGUAGE]
LANG=EN
[LOGGING]
;1=Fatal, 2=Error, 3=Warning, 4=Info, 5=debug, 6=trace
Level=4
[LOGON_METHOD]
; USER_AUTH if standard UID/Password authentication is used
; USER_AUTH_GLOBAL if pooled connections using single UID/Password is used
; USER_AUTH_GROUP if UID/Password authentication with SAP Message Server
; (load balancing) is used
LOGON_METHOD=USER_AUTH
[GLOBAL_LOGON]
; referenced when LOGON_METHOD=USER_AUTH_GLOBAL
; uses a pool of connections to the SAP backend all utilizing a single
; UID/password
UID=
UPASSWORD=
SHAREDCONNECTION=100
[GROUP_LOGON]
; referenced when LOGON_METHOD=USER_AUTH_GROUP
; individual user authentication using an SAP Message Server which distributes
; client connections among a "group" of SAP application servers based on load
; balancing criteria
;
; host name or IP address of SAP Message Server
MESSAGE_SERVER=
GROUP_NAME=
SYSTEM_ID=
CLIENT=
[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
5. Editions in the Agentry.ini file (all the files are in serverdev aparrt from Agentry-v5.jar which is in Java folder)
[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=C:\Agentry\ServerDev\Java\Agentry-v5.jar;C:\Agentry\ServerDev\ini4j.jar;C:\Agentry\ServerDev\sapjco.jar;C:\Agentry\ServerDev\SAPCommon-121161.jar;C:\Agentry\ServerDev\ZflightBooking.jar;
serverClass=com/syclo/sap/sflight/server/Server
Please help ...
thanks in advance
Pooja
The Error is:
Could not initialize:
Tags edited by: Michael Appleby
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Punith,
1. Ensure that the below are present in the ServerDev: Yes all the below files are in ServerDev
a. ag3javabe.dll
b. ini4j(jar file)
c. sapjco(jar File)
d. sapjcorfc.dll
2. Ensure that the below are present in the (..\ServerDev\Java)/(..\ServerProd\Java) folder
1. Agentry-v5(jar file)
2. SAPCommon-122891 (jar File)
3. Custom java application published as jar file into this folder
Yes all the above are copied inot ./ServerDev/Java folder now, but I ma using SAPCommon-121161.jar?
3. Updated the Agentyr.ini again as below
classPath=.\ini4j.jar;.\sapjco.jar;.\Java\Agentry-v5.jar;.\Java;.\Java\SAPCommon-121161.jar;.\Java\ZflightBooking.jar;
serverClass=com/syclo/sap/sflight/server/Server
4. restarted the server but same error
Thanks
Pooja
Punit,
The lib32rfc.dll was not there so i copied form System32 to ServerDev folder, but same eeror, one more questions all the requires DLLs and jar was not present initially in the ServerDev folder , I searched the net and downloaded them in the folder, hope this is the approach to be follwed or all the jar and dll should be htere once the server is being installed?
Pooja
I guess you have installed Agentry Server 6.0 Release.
If you go with Agentry IM Server or Agentry WM Server you will find them by default.
In your case you need to find them and use it.
I have one question, I hope at the time of Java Class Development you need all the jar files I mention or else you might get errors, didn't you had these at the time of Java Development..??
Adding these should work fine.
Ensure that the System Environment Variables has to be maintained properly.
( Include
1. ..\Program Files\Java\jdk1.6.0\bin;
2. ..Program Files\Java\jdk1.6.0\jre\bin\server;
3. ..\Program Files\Java\jdk1.6.0\lib;
4. ..\Program Files\Java\jre1.6.0\bin;
5. ..\Program Files\Java\jre1.6.0\lib; in your Environment Variables Path ).
Regards,
Punith.
Hi Punith,
I have also been facing the same issue as Pooja.
1) The sapjcorfc.dll and librfc32.dll cannot be found in the Server folder of Agentry 6.1.0.3
2) I tried copying the dll's from the IM folder, but still the same problem persists.
3) Even the ini4j.jar and sapjco.jar are not to be found.( I copied them from the IM Server and there is no problem).
I have tried all possible means to rectify the error and it continues and I'm unable to solve it.
Regards
A Reshma
Then once recite the steps,
1. Ensure that the below are present in he ServerDev/ServerProd folder.
a. ag3javabe.dll
b. ini4j(jar file)
c. sapjco(jar File)
d. sapjcorfc.dll
e. lib32rfc.dll
4th FIle(sapjco) would be very important for you.
(Note:- If you don't find any, copy the same from IM Server)
2. Ensure that the below are present in the (..\ServerDev\Java)/(..\ServerProd\Java) folder
1. Agentry-v5(jar file)
2. SAPCommon-122891 (jar File)
3. Custom java application published as jar file into this folder
(Note:- If you don't find any, copy the same from IM Server)
3.Now, maintain the Classpath in you agentry.ini file.
Eg:- classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPCommon-
122891.jar;./Java/(Your Custom Application);
4. From the Previous Screen shot I can make out that the PATH files are set properly.
(Note:- Ensure that you have exported the java class jar file to Java folder and published
Agentry Application ServerDev/ServerProd).
Once the above things are done, start the serve and share the exception you received.
Regards,
Punith.
Punit,
Please find the sapjco screen shot, I reinstalled the server and now invalid passowrd comes up despite me entering the correct id and pwd used for ERP my agentry.ini
classPath=C:\Agentry\ServerDev\ini4j.jar;C:\Agentry\ServerDev\sapjco.jar;C:\Agentry\ServerDev\Java\Agentry-v5.jar;C:\Agentry\ServerDev\Java\SAPCommon-130881.jar;C:\Agentry\ServerDev\Java\ZflightBooking.jar;
serverClass=com/syclo/agentry/Server
I would suggest you the below.
Install SAP_INVENTORY_MANAGER/Work_manager Server.
You will get all the files what you require.
Inside the SAP Inventory Manager Server folder copy all the files which I have mentioned above and paste it into your Agentry Development Server.
Deploy you Application, Export the Custom Java Application to Java folder.
Maintain the CLASSPATH in agentry.ini.
Start the server, It will work.
All the thing what you have to do is, find the SAP Inventory Manager/Work Manager or any Standard Server available, install and copy the files which I told and maintain CLASSPATH.
Before that, once replace your CLASSPATH in you agentry.ini file from below what I mention.
classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPIM-3.2.0.0.jar;./Java/SAPCommon-122891.jar;./Java/ZflightBooking.jar;
Ensure that your System Environment Variable contains below path
(..\Program Files\Java\jdk1.6.0\jre\bin\server)
If you don't have, add this as well.
Regards,
Punith.
You install it.
1. Go to the Path -->(..\SAP Inventory Manager\ServerDev)
Copy-->> a. ag3javabe.dll
b. ini4j(jar file)
c. sapjco(jar File)
d. sapjcorfc.dll
e. lib32rfc.dll
2. Go to the Path --> (..\Agentry\ServerDev)
Paste --> all the above files
3. Go to the Path -->(..\SAP Inventory Manager\ServerDev\Java)
Copy-->> a. Agentry-v5(jar file)
b. SAPCommon-122891(jar FIle)
4. Go to the Path --> (..\Agentry\ServerDev\Java)
Paste --> all the above files
5. Go to PATH --> (..Program Files-->Java-->jdk1.6.0-->jre-->bin-->server)
Copy the Path,
a. press Windows + Pause_Break
b. Advanced System Settings
c. Advances --> Environment Variables
d. System Variables
e. Find PATH --> edit
f. Paste the PATH.
also
g. Copy and paste the path of (jdk1.6-->bin; jdk1.6-->lib; jre1.6 --> bin; jre1.6 --> lib;) inside this PATH of Environment Variables.
6. Do basic settings in agentry.ini file and javaBe.ini file in your (..\Agentry\ServerDev)
change you classpath to the below:
classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPIM-3.2.0.0.jar;./Java/SAPCommon-122891.jar;./Java/ZflightBooking.jar;
(Start the Server)
Regards,
Punith
Hello Punith,
Afterinstalling the IM3.1 I could not get the ./Java/SAPIM-3.2.0.0.jar jar file so could not add it in the class pathpath variable, rest all has been copied in ServeDev, and now the class path look like
classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java\/APCommon-130881.jar;./Java/ZflightBooking1.jar
serverClass=com/syclo/sap/sflight/server/Server
My Environment pathlooks lik
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;
I started the server but now it is unable to load ag3javabe.dll file from connection1:(
Pooja
1.
classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java;./Java\/APCommon-130881.jar;./Java/ZflightBooking1.jar
Change ./Java\/APCommon-130881.jar to ./Java\SAPCommon-130881.jar
2.
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;
Also add
a. C:\Program Files\Java\jdk1.6.0_45\lib; C:\Program Files\Java\jdk1.6.0_45\jre\bin;
Pooja,
From your Agentry Server machine, please copy and paste the contents of your PATH environment variable here by opening a CMD prompt and typing "PATH". Also, please copy and paste the contents of your java version by typing "JAVA -version" from the CMD prompt. Thanks!
Jason Latko - Senior Product Developer at SAP
Pooja,
From your error message screen shot the problem is not with your system path (for java) but rather that the Java Backend cannot find the com.syclo.sap.Server class file. This class is part of the SAP-Common jar and is the base class from which the products extend to define the java server class for interaction with SAP.
Verify that your classpath in the Agentry.ini correclty points to your SAP-Common jar file. For my flight booking app my Agentry.ini [Java-1] classpath is as follows.
classPath=.\Java\Agentry-v5.jar;ini4j.jar;sapjco.jar;.\Java\SAPCommon-122971.jar;.\Java\ZFlightBooking.jar
serverClass=com/syclo/sap/sflight/server/Server
Hope this helps!
--Bill
Thanks all for the helpful answer..there was a problem in the dll files., the ones I was using were for 64 bit and my machine on which server is being installed is 32bit, once those files were changes server was up and hence app started running.
Thanks
Pooja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pooja,
Are you using SAPCommon-130881.jar file?
If yes, this jar file has a problem.
Kindly see the below link and see if its helpful for you.
http://scn.sap.com/thread/3493997
Regards
A Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja,
Try to install Microsoft Visual studio 32 bit along with
Agentry server 6.1.0.45
JDK 1.7.0_45
Eclipse-SDK-3.7.2-win32
Thanks
Nag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nag,
There is no Agentry Server version 6.1.0.45.
to Pooja,
I don't think your System Path is correct. Please look at the KB: http://service.sap.com/sap/support/notes/1813024
Hello Pooja,
Did you also check your front end application ?
Regards,
Kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.