on 08-26-2014 10:58 AM
Hello All,
Please guide on below issue:
Trying to connect to an R/3 system to call a function module of ABAP using SAP JCo Connector on Linux
Successfully connected and executed on Windows Environment by downloading relevant SAPJCO dll files, but unable to execute the Java Servlet program on a Linux system even though the relevant .so files are placed in the /usr/lib folder as suggested. Java Servlet program unable to load the SAPJCO class provided in SAPJCo.jar file and the library even after the class and library path are set in environment variables.
Where do I place the libsapjco3.so file and .jar files on Linux System to execute my Servlet?
Thanks,
Venkat
Make sure you have the correct distribution package
The directory is arbitrary but add the path to the LD_LIBRARY_PATH
Installation manual:
To install JCo for Linux copy the appropriate distribution package into an arbitrary directory {sapjco3-install-path}
. Next, change to the installation directory:
cd {sapjco3-install-path}
[return]
and extract the archive:
tar zxvf sapjco3-linux*3.0.11.tgz
[return]
Then add {sapjco3-install-path}
to the LD_LIBRARY_PATH
environment variable.
Finally, add {sapjco3-install-path}/sapjco3.jar
to your CLASSPATH
environment variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.