cancel
Showing results for 
Search instead for 
Did you mean: 

/opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so failed

roland_weber2
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

hannes_kuehnemund
Active Contributor
0 Kudos

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

roland_weber2
Explorer
0 Kudos

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

hannes_kuehnemund
Active Contributor
0 Kudos

Roland,

accidentally, you've provided two times the output of libJPlatin.so, but the most interesting output is missing -> java binary !

Is your java 32-bit like libJPlatin.so or 64-bit? Please provide the file output on your java binary...

Hannes

Former Member
0 Kudos

You can check which java package is installed via

rpm -qa | grep java

Kind regards.

brian_walker
Active Participant
0 Kudos

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

roland_weber2
Explorer
0 Kudos

Hi Hannes,

Sorry, here is the output of the Java binary:

file /home/roland/jre1.5.0_19/bin/java
/home/roland/jre1.5.0_19/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

Thanks,

Roland

roland_weber2
Explorer
0 Kudos

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

hannes_kuehnemund
Active Contributor
0 Kudos

Roland,

I'd suggest that you try opening the same question in the [SAP GUI|; SDN forum, as the Linux Forum focusses more on the server side. I've seen lots of JavaGUI related reports there and the colleagues from the SAP JavaGUI development are also around there.

Thanks,

Hannes

brian_walker
Active Participant
0 Kudos

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

roland_weber2
Explorer
0 Kudos

Hi Brian,

thanks for the information. I will be on the look-out for SAP GUI 720.

Best regards,

Roland

roland_weber2
Explorer
0 Kudos

Hi,

the problem is solved with note 909250.

Best regards,

Roland

brian_walker
Active Participant
0 Kudos

Glad to hear SAP has this document in SAP note 909250 and that this matches exactly the advice I gave to use ldd in my post dated Oct 2, 2009 5:44 PM

Brian

Former Member
0 Kudos

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 ?

roland_weber2
Explorer
0 Kudos

Hi Sven,

the OS is Fedora 11, Kernel 2.6.30.8-64.fc11.x86_64. The permissions of /opt/SAPClients/SAPGUI7.10rev9/bin/libJPlatin.so are:

-rwxr-xr-x. 1 root root

Thanks,

Roland