cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI7.10rev6 - connection fails - JniAgiLibAdaptor.<init>: Cannot load JN

Former Member
0 Kudos

Hi,

Please can you help me again.

I try to connect to SAP NetWeaver 2004s - TestDrive. However to connection fails.

Installed GUI - SAPGUI7.10rev6

Connection: conn=/H/n4shost/S/3201

HP6735B:/home/sebhi # java -version

java version "1.6.0_07"

Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

I get the following error:

-


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

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

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

at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

at: java.awt.Component.processMouseEvent(Component.java:6041)

at: javax.swing.JComponent.processMouseEvent(JComponent.java:3265)

at: java.awt.Component.processEvent(Component.java:5806)

at: java.awt.Container.processEvent(Container.java:2058)

at: java.awt.Component.dispatchEventImpl(Component.java:4413)

at: java.awt.Container.dispatchEventImpl(Container.java:2116)

at: java.awt.Component.dispatchEvent(Component.java:4243)

at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)

at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)

at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)

at: java.awt.Container.dispatchEventImpl(Container.java:2102)

at: java.awt.Window.dispatchEventImpl(Window.java:2440)

at: java.awt.Component.dispatchEvent(Component.java:4243)

at: java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)

at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)

at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

at: java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Thank you.

BR

Sebastian

Accepted Solutions (1)

Accepted Solutions (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Hi Sebastian,

IIRC, the JavaGUI is still 32bit. Please use a Java5 (1.5.0_16 from Sun) 32-bit and try again.

Hannes

Answers (1)

Answers (1)

Former Member
0 Kudos

hi sebastian,

are you installed this on 64bit hardware ? I don't think that SAPGUI for Java is supporting for Linux 64 bit. Use Linux 32bit instead.

ardhian

http//sapbasis.wordpress.com

http://ardhian.kioslinux.com