on 04-22-2009 7:16 PM
New to linux, install SAP NetWeaver 2004s on RHEL 5.3 under Linux.
Install jdk v1.4.2 (java-1.4.2-ibm-1.4.2.10-1jpp.2.el4.x86_64.rpm, java-1.4.2-ibm-devel-1.4.2.10-1jpp.2.el4.x86_64.rpm) and execute java -jar PlatinGUI-Linux-700.jar without any problems.
However, when trying to bring up the SAP GUI for Java environment, I get the fatal error as belows:
Attempt to load the shared library /opt/SAPClients/SAPGUI7.00/bin/libjOlatin.so failed.
The library file exists, so either the program or the library don't has privileges to access the library
or the library is not loadable by the shared object loader.
/opt/SAPClients/SAPGUI7.00/bin
drwxr-xr-x 2 root root 4096 Apr 22 13:28 gmux
-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guilogon
-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guistart
-rwxr-xr-x 1 root root 5276 Apr 22 13:28 libGnomeConnect.so
-rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so
-rwxr-xr-x 1 root root 15456 Apr 22 13:28 libKde3Connect.so
-rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp
-rwxr-xr-x 1 root root 4050 Apr 22 13:28 sapgui
-rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp
Any ideas to the above
Thanks.
Hi Him,
whats the output of
file `which java`
file /opt/SAPClients/SAPGUI7.00/bin/libjPlatin.so
I suppose that both don't fit to each other, but let's see
Thanks,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hannes,
When the guistart program is started, I get the following messages:
drwxr-xr-x 2 root root 4096 Apr 22 13:28 gmux
-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guilogon
-rwxr-xr-x 1 root root 4052 Apr 22 13:28 guistart
-rwxr-xr-x 1 root root 5276 Apr 22 13:28 libGnomeConnect.so
-rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so
-rwxr-xr-x 1 root root 15456 Apr 22 13:28 libKde3Connect.so
-rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp
-rwxr-xr-x 1 root root 4050 Apr 22 13:28 sapgui
-rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp
[root@localhost bin]# ./guistart /H/n4shost/S/3201&expert=true
[1] 5428
[root@localhost bin]# ############################# ERROR #############################
22.04. 16:29:30.791 ERROR: Attempt to load shared library /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so failed.
The library file exists, so either the program
don't has the privileges to access the library
or the library is not loadable by the shared object loader
Technical information:
Error location: GuiJniLoader.loadPlatinLibrary()
Error message : /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
ERROR #############################
java.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:958)
at java.lang.System.load(System.java:366)
at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:129)
at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)
at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:314)
at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850)
at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265)
at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:43)
at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584)
at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.platin.Gui.main(Gui.java:65)
[root@localhost bin]#
Cheers.
Dear Him,
Again, please give the output of
file `which java`
file /opt/SAPClients/SAPGUI7.00/bin/libjPlatin.so
which will most likely show, that your java is 64bit and your JavaGUI is 32bit ...
Please try a 32bit JVM.
And don't forget to post the output of the two commands above ...
Thanks,
Hannes
Hello,
I am having the same problem, where can I get the java 32 bits?
My installation CD documentation reads this...
..."You can verify this requirement by running java -fullversion. The version and build information in the output text must read like j9xa64142... From this build information you can identify that you have a recent 64bit version of J9VM for AMD/EM64T Linux active.
" and my jave -version reads as per the text above here.
I am running SLES 10, SAP NetWeaver 2004s - TestDrive, SAPGUI 7.00.
Thanks in advance,
Carlos Gonzalez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.