on 10-02-2008 9:46 PM
Hi All,
I installed JCO 2.1.8 on HP UX and i am getting error when trying to run the following command
java -jar /home/pmt/JCO/sapjco.jar
Here is the error message
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [/opt/java1.5/jre/lib/IA64N:/opt/java1.5/jre/lib/IA64N/server:/opt/java1.5/jre/../lib/IA64N::/home/pmt/JCO:/usr/lib]
at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:168)
at com.sap.mw.jco.About.<init>(About.java:33)
I even tried to change the java.library.path by doing as below
set LD_LIBRARY_PATH=""
export LD_LIBRARY_PATH=$:<JCO installationpath>
still no luck.
Any help is really appreciated.
Thanks
Thanks Vladimir. I dont have access to the link yet, once i get access, i will verify the connection again. Most likely they might also advise to keep the .so file in the path, which i have already done.
Please let me know if you have any other debug points to check.
Thanks agian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Visala,
Have you checked the documentation available at https://service.sap.com/~sapidb/011000358700007415502002E#4 ?
Regards,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can any one please help!!! I put the .so files in the native folder at java.library.path. Doesn't help.
Really appreicate if anyone can throw some light on this issue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.