Application: SAP GUI in 8.04

Bug #223846 reported by Teleios
8
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Hi!

I have been using UBUNTU 7.10 version, testing the environment in the company I work, using the same functionality I had in Windows. In version 7.10 I hadn`t problems.

Since I upgrade to 8.04 version, the application I run to the ERP's company (SAP) is running with navegability problems. The application I use is "SAP GUI 700" wich runs under java environment.

Although the application works, when I try to navigate on SAP, the program keeps "thinking" and finally it hangs.

The hardware is:

CPU: AMD Sempron 2500
Memory: 728 MB.
HDD: 20 GB.

Thank you and regards.

Revision history for this message
Alex Mauer (hawke) wrote :

You said this is a Java application. Can you check the version of Java you are using ('java -version' will tell you this), and compare to the java you were using in 7.10?

On a guess, I would think that the problem might be that your SAP application won't work with a Java which is not from Sun. The package containing the Java from Sun is 'sun-java6-bin'.

You can try different Java runtimes by using 'sudo update-java-alternatives. Use 'sudo update-java-alternatives -l' to get a list of the javas you have installed, and 'sudo update-java-alternatives -s [name]' to select one.

Revision history for this message
Teleios (alejandro-willers) wrote : Re: [Bug 223846] Re: Application: SAP GUI in 8.04
  • unnamed Edit (1.8 KiB, text/html; charset=ISO-8859-1)

Hi Alex,

I am using the same SUN Java versions I had with 7.10.

I show you the result of the command you said me:

# sudo update-java-alternatives -ljava-1.5.0-sun 53
/usr/lib/jvm/java-1.5.0-sun
java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java-6-sun 63 /usr/lib/jvm/java-6-sun

I tried also to install an older version such as SUN-java 1.4.2, but there
is a conflict between xulrunner-1.9 and j2re1.4.

Any suggestion?

Thank you in advance.

On Mon, Apr 28, 2008 at 7:05 PM, Alex Mauer <email address hidden> wrote:

> You said this is a Java application. Can you check the version of Java
> you are using ('java -version' will tell you this), and compare to the
> java you were using in 7.10?
>
> On a guess, I would think that the problem might be that your SAP
> application won't work with a Java which is not from Sun. The package
> containing the Java from Sun is 'sun-java6-bin'.
>
> You can try different Java runtimes by using 'sudo update-java-
> alternatives. Use 'sudo update-java-alternatives -l' to get a list of
> the javas you have installed, and 'sudo update-java-alternatives -s
> [name]' to select one.
>
> --
> Application: SAP GUI in 8.04
> https://bugs.launchpad.net/bugs/223846
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Alejandro Willers

Revision history for this message
Alex Mauer (hawke) wrote :

Can you please double-check which java is in use, by running 'java -version', and enter the results back here?

Revision history for this message
Teleios (alejandro-willers) wrote :
  • unnamed Edit (1.0 KiB, text/html; charset=ISO-8859-1)

Ok Alex,

I am sending you here:

:# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode, sharing)

I hope it helps.

Thanks.

On Tue, Apr 29, 2008 at 1:22 PM, Alex Mauer <email address hidden> wrote:

> Can you please double-check which java is in use, by running 'java
> -version', and enter the results back here?
>
> --
> Application: SAP GUI in 8.04
> https://bugs.launchpad.net/bugs/223846
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Alejandro Willers

Revision history for this message
Alex Mauer (hawke) wrote :

OK, that is the OpenJDK Java 6.

You'll need to switch to Sun Java 6.

Run 'update-java-alternatives -s java-6-sun'. This should switch the version of Java used on your system. Once you've done that, try running the SAP gui again.

Revision history for this message
Teleios (alejandro-willers) wrote :
  • unnamed Edit (1.0 KiB, text/html; charset=ISO-8859-1)

Yes Alex!

It works!

Thank you for your help!

Best Regards.

On Tue, Apr 29, 2008 at 5:56 PM, Alex Mauer <email address hidden> wrote:

> OK, that is the OpenJDK Java 6.
>
> You'll need to switch to Sun Java 6.
>
> Run 'update-java-alternatives -s java-6-sun'. This should switch the
> version of Java used on your system. Once you've done that, try running
> the SAP gui again.
>
> --
> Application: SAP GUI in 8.04
> https://bugs.launchpad.net/bugs/223846
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Alejandro Willers

Revision history for this message
don hardaway (don-hardaway) wrote :

I am having trouble connecting using SAP GUI also on 8.04. I have installed everything that i have read in the threads regarding java and still get this message when i try to connect. Any ideas please?

java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
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:294)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:793)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:801)
at: com.sap.platin.base.logon.util.SystemList$SymListener.mouseClicked(SystemList.java:1091)
at: java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at: java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at: java.awt.Component.processMouseEvent(Component.java:6044)
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:3995)
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)

Revision history for this message
don hardaway (don-hardaway) wrote :

I get this when trying the command suggested by Alex.

sudo update-java-alternatives -s java-6-sun
No alternatives for firefox-javaplugin.so.
No alternatives for iceape-javaplugin.so.
No alternatives for iceweasel-javaplugin.so.
No alternatives for midbrowser-javaplugin.so.
No alternatives for mozilla-javaplugin.so.
No alternatives for xulrunner-addons-javaplugin.so.
No alternatives for xulrunner-javaplugin.so.
Using '/usr/lib/jvm/java-6-sun/bin/appletviewer' to provide 'appletviewer'.
Using '/usr/lib/jvm/java-6-sun/bin/apt' to provide 'apt'.
Using '/usr/lib/jvm/java-6-sun/bin/extcheck' to provide 'extcheck'.
Using '/usr/lib/jvm/java-6-sun/bin/idlj' to provide 'idlj'.
Using '/usr/lib/jvm/java-6-sun/bin/jarsigner' to provide 'jarsigner'.
Using '/usr/lib/jvm/java-6-sun/bin/jar' to provide 'jar'.
Using '/usr/lib/jvm/java-6-sun/bin/javac' to provide 'javac'.
Using '/usr/lib/jvm/java-6-sun/bin/javadoc' to provide 'javadoc'.
Using '/usr/lib/jvm/java-6-sun/bin/javah' to provide 'javah'.
Using '/usr/lib/jvm/java-6-sun/bin/javap' to provide 'javap'.
Using '/usr/lib/jvm/java-6-sun/bin/jconsole' to provide 'jconsole'.
Using '/usr/lib/jvm/java-6-sun/bin/jdb' to provide 'jdb'.
Using '/usr/lib/jvm/java-6-sun/bin/jhat' to provide 'jhat'.
Using '/usr/lib/jvm/java-6-sun/bin/jinfo' to provide 'jinfo'.
Using '/usr/lib/jvm/java-6-sun/bin/jmap' to provide 'jmap'.
Using '/usr/lib/jvm/java-6-sun/bin/jps' to provide 'jps'.
Using '/usr/lib/jvm/java-6-sun/bin/jrunscript' to provide 'jrunscript'.
Using '/usr/lib/jvm/java-6-sun/bin/jsadebugd' to provide 'jsadebugd'.
Using '/usr/lib/jvm/java-6-sun/bin/jstack' to provide 'jstack'.
Using '/usr/lib/jvm/java-6-sun/bin/jstatd' to provide 'jstatd'.
Using '/usr/lib/jvm/java-6-sun/bin/jstat' to provide 'jstat'.
Using '/usr/lib/jvm/java-6-sun/bin/native2ascii' to provide 'native2ascii'.
Using '/usr/lib/jvm/java-6-sun/bin/rmic' to provide 'rmic'.
Using '/usr/lib/jvm/java-6-sun/bin/schemagen' to provide 'schemagen'.
Using '/usr/lib/jvm/java-6-sun/bin/serialver' to provide 'serialver'.
Using '/usr/lib/jvm/java-6-sun/bin/wsgen' to provide 'wsgen'.
Using '/usr/lib/jvm/java-6-sun/bin/wsimport' to provide 'wsimport'.
Using '/usr/lib/jvm/java-6-sun/bin/xjc' to provide 'xjc'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/keytool' to provide 'keytool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/orbd' to provide 'orbd'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/pack200' to provide 'pack200'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/policytool' to provide 'policytool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/rmid' to provide 'rmid'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/rmiregistry' to provide 'rmiregistry'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/servertool' to provide 'servertool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/tnameserv' to provide 'tnameserv'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/unpack200' to provide 'unpack200'.
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-6-sun/jre/plugin/amd64/ns7/libjavaplugin_oji.so

Revision history for this message
don hardaway (don-hardaway) wrote :

I still can not get the sapgui to work even with Alex's suggestion. This is a significant problem. Can any Ubuntu engineers respond please.

Revision history for this message
Deep (deep-k-sharma) wrote :

I have a similar problem mentioned by "Don hardaway" . SAPGUI installed alright but when i try to connect to a system, it immediately gives this java error. I am running ubuntu 8.04 64 bit.

Regards, Deep

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.