on 09-29-2009 5:32 PM
Hi,
I installed SAPGUI7.10rev9 on 64bit Linux and try to connect to the SAP Netweaver2004s Test Drive. The connection failed:
Attempt to load shared library
/opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so failed.
The library file exists, so either the program has
insufficient privileges to access the library or the library
is not loadable by the shared object loader.
Please recheck the system requirements for your operating
system and make sure all required libraries are installed.
Details:
ava.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:30)
at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:843)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:849)
at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:454)
at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at: java.awt.Component.processMouseEvent(Unknown Source)
at: javax.swing.JComponent.processMouseEvent(Unknown Source)
at: java.awt.Component.processEvent(Unknown Source)
at: java.awt.Container.processEvent(Unknown Source)
at: java.awt.Component.dispatchEventImpl(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Window.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.EventQueue.dispatchEvent(Unknown Source)
at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)
at: java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.run(Unknown Source)
The 32bit JAVA is installed. JRE1.5.0_19 and the profile is:
PATH=$PATH:$HOME/bin/:/home/roland/jre1.5.0_19/bin/
export JAVA_HOME=/home/roland/jre1.5.0_19/
export PLATIN_JAVA_VER=1.5.0_19
export PLATIN_JAVA=$JAVA_HOME/bin/java
Can you help me?
Thanks
Roland
Hi Roland,
please provide the output of:
uname -a
file /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so
file /home/roland/jre1.5.0_19/bin/java
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,
uname -a
Linux lux001 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
file /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so
/opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
file /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so
/opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Thanks,
Roland
I suspect it is a 64bit version of java. Sadly, although the SAPGUI Java client is "java", there are some C libraries it depends on (and which are delivered with SAPGUI Java like libJPlatin.so) that are platform specific.
If you're interested in running the SAPGUI Java client using a 64bit version of java, let me know. I already opened an OSS message on that topic several months ago and I was given a (unsupported of course) procedure on how to install the SAPGUI Java client with 64bit java.
SAP has also stated that the next version of SAPGUI, 7.20, will have official support for 64bit clients.
Brian
Hi Brian,
I know that the Java SAPGUI 710 doesn't support 64bit. My computer is runnig on a 64bit Linux with a 64bit Java and a 32bit Java. I try to manage this in the profile with the varibles:
PATH=$PATH:$HOME/bin/:/home/roland/jre1.5.0_19/bin/
export JAVA_HOME=/home/roland/jre1.5.0_19/
export PLATIN_JAVA_VER=1.5.0_19
export PLATIN_JAVA=$JAVA_HOME/bin/java
The C libraries are still on 64bit. Need I 32bit?
If the SAPGUI 720 runs on 64bit, I will update immediately.
Thanks,
Roland
Yes, there are some 32bit C library dependencies for the SAP delivered 32bit C libraries (like libJPlatin.so for instance). You might try doing an ldd on /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so and make sure there aren't any missing C libraries. In my experience, these type of errors don't get sent to a log or the screen
Regarding SAPGUI 7.20, it is not out yet. If you want to run SAPGUI Java with the 64bit jre, you'll have to follow the manual procedure SAP gave me. I'd be glad to send you the details or you can open an OSS message and they can help you (keeping in mind it is "beta" and not supported).
Brian
On what OS are your trying to install the GUI?
>
Attempt to load shared library /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so failed.
> The library file exists, so either the program has insufficient privileges to access the library or the library
> is not loadable by the shared object loader.
>
Did you check the permissions of the stated library /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.