cancel
Showing results for 
Search instead for 
Did you mean: 

solaris SAPGUI for Java 7.10 rev 8 try error JniAgiLibAdaptor.<init>

Former Member
0 Kudos

i have a problem java sapgui.

Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.

i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.

gui version;

SAPGUI for Java 7.10 rev 8 (java),

no library (lib)

(Version ID 071000040800)

Mon Mar 30 10:34:24 MEST 2009

uw1059, 710_REL, 1054563

Java VM: Sun Microsystems Inc. Version 1.6.0_14

OS: SunOS(x86) Version 5.10

The version of Java being used is:

  1. java -version

java version "1.5.0_16"

Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)

Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)

Thank You,

Ferhan

-


JniAgiLibAdaptor.<init>: Cannot load JNI library

-


details;

java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library

at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:29)

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:798)

at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)

at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)

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.proc

-


Attempt to load shared library

/opt/SAPClients/SAPGUI7.10rev8/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.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)

at: java.lang.ClassLoader$NativeLibrary.load(Native Method)

at: java.lang.ClassLoader.loadLibrary0(Unknown Source)

at: java.lang.ClassLoader.loadLibrary(Unknown Source)

at: java.lang.Runtime.load0(Unknown Source)

at: java.lang.System.load(Unknown Source)

at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:56)

at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:27)

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:798)

at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)

at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)

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.BasicB

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.

>

> gui version;

> SAPGUI for Java 7.10 rev 8 (java),

> no library (lib)

> (Version ID 071000040800)

> Mon Mar 30 10:34:24 MEST 2009

> uw1059, 710_REL, 1054563

> Java VM: Sun Microsystems Inc. Version 1.6.0_14

> OS: SunOS(x86) Version 5.10

The Java gui runs

- on 64bit only

- on SPARC hardware only (not on x86)

If you execute the command

file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so

you'll see that the library is just for SPARC.

Markus

Former Member
0 Kudos

thanks.

  1. file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so

/opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ELF 32-bit MSB dynamic l ib SPARC32PLUS Version 1, V8+ Required, dynamically linked, stripped

Edited by: elsysoss Elsys on Jun 12, 2009 1:03 PM

markus_doehr2
Active Contributor
0 Kudos

> # file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so

> /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ELF 32-bit MSB dynamic l ib SPARC32PLUS Version 1, V8+ Required, dynamically linked, stripped

interesting - I wasn't aware SAP still produces 32bit binaries for SPARC.

Neverless, it won't run on your box.

Markus

Former Member
0 Kudos

thanks. i think that i have a hardware problem.

markus_doehr2
Active Contributor
0 Kudos

> thanks. i think that i have a hardware problem.

???

No.

There are different CPU types on the market, apart from Intel and AMD there are also other CPUs. Solaris runs on two CPU types: x86 (32 and 64bit) and SPARC. Those are not compatible.

http://en.wikipedia.org/wiki/SPARC

I don't see why you should have a hardware problem.

Markus

Former Member
0 Kudos

i have a x86 hardware.

the java gui doesn't run on x86 hardware, does it?

i don't run the sap gui because of x86 hardware.

Ferhan

markus_doehr2
Active Contributor
0 Kudos

> i have a x86 hardware.

> the java gui doesn't run on x86 hardware, does it?

> i don't run the sap gui because of x86 hardware.

Yes - exactly. But there is no "problem" on your hardware, it's just the wrong one

Markus

Former Member
0 Kudos

thanks. good luck

Ferhan

Answers (0)