Home » Linux » Installation and Configuration of SAPGUI for Java on Linux

Installation and Configuration of SAPGUI for Java on Linux

RSS Link

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 744,331 hits


Categories


Based on many questions in my email inbox, asking how to install and configure SAPGUI for Java on Linux, here I’ll explain it briefly.

Prepare these stuffs before you can proceed to installation :

    1. You have to make sure that your Linux system has been installed with JRE (Java Runtime Environment) from SUN Microsystem (http://java.sun.com). If you don;t have it, just download it from here. Some of linux distros such as Fedora, Ubuntu, OpenSuSE etc using JRE from GNU called GIJ (GNU for Java). We can’t use this JRE. We need to replaced it. I’ll show you how to changed it later.

  1. You also need SAPGUI for Java installer. You can download it freely from ftp://ftp.sap.com.

After you have all prerequisite, you can proceed to next step to extract and change your JRE. This step is valid for Fedora, Ubuntu, and OpenSuSE. Please let me know if these doesn’t work for you.

  1. Logon as root
  2. Copy your JRE installer file to /opt folder.Please use .bin extention file.
  3. Change file permission if needed to executable. Use this command : #chmod 755 jre-1.xxx.bin (xxx = refer to JRE version you’re using).
  4. Extract JRE files. Use this command : #./jre-1.xxx.bin
  5. Install JRE you just extracted inside alternatives system. Use this command : #/update-alternatives –install /usr/bin/java java /opt/jre1-xxx/bin/java 2
  6. Update java command configuration on alternatives system. Choose java number 2 because usually GIJ had number 1 position. Use this command : #update-alternatives –config java
  7. Use this command to verify your JRE configuration. You can use this command : #java -version
  8. If you get something like this on your screen then you are succeeded. java version “1.6.0”
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

After you finish this step, you can proceed to SAPGUI for Java installation.

  1. Logon as root
  2. Use this command (on terminal) to install SAPGUI for Java. #java -jar PlatinGUI-Linux-xxxx.jar (Use the latest version).
  3. Installed on /opt folder as default (usually on /opt/SAPClients folder)

Next step is configure your SAPGUI for Java and try to test to SAP R/3 server connection.

  1. Run executable file called guilogon (reside on /opt/SAPClients/SAPGUI700rev1/bin). It willpop up SAPGUI for Java window.
  2. Click New button.
  3. Fill the Description column as you like.
  4. Click Advanced Tab.
  5. Give check (V) to Use Expert Configuration
  6. Fill the connection string. If your server using load balancing configuration, use this connection string conn=/M/(IP_Address_Message_Server)/S/36(system_number)/G/(nama_group) and use this connection string configuration if yor SAP R/3 server are not using load balancing system, conn=/H/(IP_Address_server_SAP)/S/32(system_number).

There you go ! Now, you can use your SAPGUI for Java to access your SAP R/3 server. Comments and suggestions are welcome. I’ll try to update this tutorial as best as I can.


92 Comments

  1. Vijay Ingle says:

    I have installed SAP Solution Manager 4.0 on SUSE Linux 10 SP1.

    I am able to connect to SAP system using SAP GUI for Java on the console system only.
    I use string “conn=/H/(IP_Address_server_SAP)/S/3201” in SAP GUI Java expert configuration field.

    But when I try to connect from a windows PC using SAP GUI for windows, I am not able to connect to SAP system, it displays a message, “connection refused”.

    I can login to SAP server at (unix level) using ssh from the windows PC.

    The /etc/services file has ports starting from 3201 for dispatcher.

    Can you lead me, how can I resolve this problem.

  2. ardhian says:

    hi vijay,

    that’s really strange. please try to check your windows firewall.
    try not to use windows firewall.

    let me know if it doesn’t worked.

    best regards,
    ardhian

  3. Vijay Ingle says:

    Hi Ardhian,

    Turning windows firewall off has not helped me.
    And I turned off the SUSE Linux firewall as well.

    Is there any configuration file for SAP GUI for Windows, where I can change the default port on which the SAPGUI sends the request for connection to SAP system.

    Thanks and regards,
    Vijay

  4. ardhian says:

    Hi Vijay,

    I don’t know if you can change your SAP port because it have been decided when you install your SAP Solman. When installing SAP Solman, you have been asked about SAP system number.

    best regards,
    ardhian

  5. Vijay Ingle says:

    Hi,

    I meant configuration file/setting for SAPGUI for windows on the windows client.

    Because the port number for an SAP application server is by convention 3200 plus the two-digit SAP system number, in my example the system no is 01 hence I used 3201.
    It is working perfectly with SAPGUI for Java but on the console system only.
    Thanks for your inputs.

    Vijay

  6. ardhian says:

    Hi Vijay,

    I’m sure that you have configured your SAPGUI for Windows correctly, right ?
    Make sure that your PC was connected to your network and SAP Solman server correctly. Try to ping your SAP Solman server and make sure its replies.

    Hope that help you.

    If it doesn’t work, then i have no ideas anymore.

    ardhian

  7. David Funez says:

    HI,

    I’ve installed the SAPGUI over SLED 10.1 SP2, i change the type of font of the SAPGUI (Options – Preferences – Design – Fonts). But, the SAPGUI displays allways a kind of font that is not good to read. I allways get a bold font very ugly.

    I want to change the font in such a way that the SAPGUI could be readable for the user.

    Thanks on advance.

  8. ardhian says:

    Hi david,

    What’s SAPGUI version you are using ? JRE version ?

    Try to import some Windows fonts to your Linux ?

    Hope that can help.

    ardhian

  9. wwm2 says:

    Vijay,

    Thanks a million for your tip. I had the expert config string constructed in seconds and JAVA GUI up and running on my Mac in minutes.

    Power to the people!

  10. Hugo says:

    What if I want to connect SAPGui with a SAPRouter?
    Sap router have a public IP, but I just know local IP of servers…

    regards…

  11. ardhian says:

    Hi Hugo,

    You need your SAP router IP Public information. You cannot connect to your SAP Server just using local IP info if you’re try to connect through intenet.

    Ardhian

  12. ery says:

    Pak Ardhian,

    Thanks a lot for sharing yr knowledge, i try to connect to server (with logon balancing) and no success. Is there other logon balancing method other from you’ve discussed here? because (windows version) our logon balancing configuration script (created by implementation consultant) is changing services.ini and there is declarations of services more than just 3200 and 3600 (the also include 1200 to 1600).

    I just begin to learn basis, so please forgive me silly questions.

    God Bless You

  13. Javier says:

    I need to connect to the SAP server in my job, but i’m at home. I have the SAP router string ip, it’s a public IP and the server Ip it’s a local ip. How i modify the command line to get to connect. In windows xp simply i fill the field “router string” and “app server”, but in ubuntu i can’t do it.

    Espero tu ayuda, mi inglés no es muy bueno.

    Gracias

  14. Javier says:

    I’m connected using a sap router with the next command:

    conn=/H/(SAP Router String)/H/(IP Address server)/S/3200

    thx

  15. ardhian says:

    Hi Javier,

    It seems that you missed little configuration. When you’re using SAProuter, you need to mention your SAProuter port, by default 3299.

    So, your connection string should be :

    conn=/H/(SAProuter_Public_IP)/S/3299/H/(Your_SAP_Server_Local_IP)/S/3200

    Make sure that your SAPGUI port is correct, 3200. For other people may be different.

    I hope this config could help you.

    Best Regards,
    Ardhian
    Please consider donation through my paypal account : devratt@yahoo.com

  16. ashit says:

    hi thanks for the post, i have configured sap gui on linux, every thing works okay but not able to print from sap gui
    kindly suggest how to solve this issue

  17. ardhian says:

    hi ashit,

    If you’re using SAP R/3 4.7 and has Basis patch level 52 or above, you can use SAPGUI for Java version 7.10 and using G access method to print.

    G access method can print directly on frontend printing printer. Just as Windows based type (F access method)

    ardhian

  18. Gokudan says:

    Worked perfect for me, thank you very much and keep up the good work!!

  19. Ashok Kumar says:

    Dear Expert,

    You have done very great job regarding SAP GUI for JAVA.

    I need specifically for RedHat Linux. Could you please provide them.

    Regards,
    Ashok Kumar R

  20. ardhian says:

    Hi Ashok,

    since this tutorial can work on Fedora, so it should be working when you work on Redhat Linux. No problem at all.

    all you need is first installed SUN java and update its alternatives command, then install SAPGUI for Java (PlatinGUI). Use the newest one.

    ardhian

  21. Super says:

    Hi great little blog here.

    What is the significance of getting the following partial error with PlatinGUI 710r6 for Linux on Fedora Core 8 based setup, when SAP Server IP (not message server IP) is used in connection string, when trying from Internet-based connection?

    Error: partner not reached Release 710 Component NO (network interface), version 39 rc = -10, module nibuf.cpp, line 4628 Detail NiBufIConnect: connection pending after 10000ms System Call connect Error No 115 ‘Operation now in progress’

    JRE Verion is 1.5.0.10 methinks. Thanks in advance.

    (BTW works fine with Windows 2000/SAPGUI 620).

  22. ardhian says:

    hi,

    are you connecting to your SAP server using SAProuter ?
    If so, check your SAProuter first.

    ardhian

  23. Super says:

    No SAProuter. Just by IP in the connection string.

  24. ardhian says:

    Let me get clearly. Do you install your SAP server using public IP address ? If not, then you cannot connect directly to your SAP server from internet.

    To connect to SAP server (which is usually reside on internal network), SAP has provide SAProuter.

    ardhian

  25. Super says:

    Hi it’s public IP.

    But no problems at all connecting by internet from Win2K and SAP logon pad 620. Very unusual.. maybe the error is a timeout error that has a changeable wait parameter?

  26. Super says:

    Hi,

    It was resolved by adding “32” ahead of the system number in my connection string, as explained here:

    https://www.sdn.sap.com/irj/sdn/thread?threadID=825463&start=0&tstart=30

    Keep up the nice blog. I will email you about the printing functionality sometime and the current price.

  27. ardhian says:

    hi,

    congratulations !

    I’ll wait for your consult about printing. I have just finished my client from Phillipines for this printing solution.

    ardhian

  28. musopelo says:

    hi ardhian,
    I dont know wheather u can help or direct me where i can get this solution,the problem involves inside sap system,i hv 140,000 records,and i wante to delimit a code,in each of the 140,000 records,am doing it manually is there anyway i can delimit this code automatically,all at once?

    thanks

  29. kermitz says:

    hi Ardhian,

    I have just installed the JAVA gui on linux.
    every thing works fine except, I cannot get the histories.
    The drop down list we get when spacebar is hit, last input entries say.

    How can we reciprocate this in the java gui.

    Please help

    Regards

  30. ardhian says:

    hi,

    use SAPGUI for Java version 7.10 if you need input history.
    The latest version is SAPGUI for Java 7.10 rev 7.

    ardhian

  31. Thirumoorthi says:

    Dear All,

    We have installed the windows 2003 Server but we need to install the SAP GUI Linux client for the client side. So any prerequisite needed the SAP GUI Linux install. Please help me for this issue.

    Best Regards,
    Thiru
    +91 9840544311

  32. sriram says:

    Hi All

    We i am trying to install the JRE its showing error message “The download file appears to be corrupted. Please refer
    to the Troubleshooting section of the Installation
    Instructions on the download page for more information.
    Please do not attempt to install this archive file.”
    pl can u help us any one?

    Thanx
    Sriram

  33. Sriram says:

    Hi Ardhian

    1. sapgui for java weather it will support Fedora 10 ?

    2. In Fedora 10 how we can install the SAPgui for JAVA ?

    My email address sriram.sbg@gmail.com

    Thanx
    Sriram

  34. ardhian says:

    hi,

    although your Linux distro is not specifically mentioned to be supported, it is still possible to install SAPGUI for Java. I am sure that fedora 10 is supported.

    first check whether java is already installed on fedora by typing command :

    #java -version

    if this command gives you info about java from SUN then you are ready to install SAPGUI for Java.

    To install SAPGUI for Java just follow my step by step tutorial on this posting.

    ardhian

  35. aMoL z says:

    hiie , m i know about all tips regarding SAP application on (specific kubuntu 8.10)linux how work well …

  36. Mikko says:

    Hi,

    I have this odd issue with SAPGui for jawa.

    It works file and I can log in to system but only with ddic and when I try to use my own user account I get this kind of error:

    —-
    Your Windows uses codepages and SAPLogon uses 1100
    Windows and SAPLogon codepage mismatch
    Ajust Windows default codepage or SAPlogon codepage. You will be logged off!

    Like I say this appears ONLY with my own user accound with ddic everything works fine.

    SAPLogon version is: SAPGUI for java 7.10 rev 8
    my linux is ubuntu

    Mikko

  37. ardhian says:

    Hi Mikko,

    It seems that you’re experiencing SAPLogon Codepage problem. Although SAPGUI for Java was support Unicode but some function still won’t work properly.

    Check this link
    (http://help.sap.com/saphelp_40b/helpdata/de/93/e6415d4ba811d189510000e829fbbd/content.htm)

    I think this is because of your Windows codepage. Maybe you’re using non standard codepage.

    FYI, I am using Linux so I couldn’t test it.

    ardhian

  38. ardhian says:

    Hi Mikko,

    Also check your Windows codepage conversion table.

    From your Windows Start Menu – Control Panel – Regional and Language Options.

    See Advanced Tab and check your codepage conversion tables.

    ardhian

  39. Nirmit says:

    Hi Ardhian,

    I would like to know that in the most recent release of the JAVA gui for sap rev 8, is it possivble to do a CTRL + Y and copy the data.

    As i’ve seen that in the ALV reports we are not able to do this.
    I went to sm50 and tried it, and the cursor will not select the data.

    Kindly help me out.

    Regards
    Nirmit

  40. ardhian says:

    hi nirmit,

    as long as i know, it is possible to do copy and paste using SAPGUI for Java.

    Use CTRL + Y to select and then use CTRL + C to copy.

    You can use CTRL + V to paste.

    ardhian

  41. nirmit says:

    Yes Ardhian,

    You are right it is possible to do crtl+y & ctrl+t.
    but when i am in any alv report, and try to do a drag, i.e. selecting multiple columns & rows, that does not happen after the ctrl+y in java gui rev8.
    as compared to the normal gui under windows.

    Be it the java gui under linux or windows, i encountered the same.

    Plz let me know if you face the same problem or not.?? or is it just me.

    thanks
    nirmit

  42. ardhian says:

    hi nirmit,

    This DRAG AND DROP feature you’re looking is still one of the missing feature from SAPGUI for Java, even in SAPGUI for Java 710 rev 8.

    Hope that SAP will solved this problem soon…(Hope MODE ON)
    😀

    ardhian

  43. Nirmit says:

    Thanks for letting me know.
    I though I was missing something.

    Nirmit

  44. Mikko says:

    hi Adrian

    I’m using Linux also and that makes this problem difficult. I don’t know which codepages I should install and why this problems appears only with my own user account, not ddic

    Mikko

  45. ardhian says:

    hi mikko,

    what linux distro you’re using ? is it using specific language/code ? for example, you are using arabic language or something. i never faced those problem since i always use default (usually English) language distro.

    ardhian

  46. Mikko says:

    Hi Adrian,

    I have Ubuntu and using English language.

    And what confusing me most is that with ddic everything works well but with my own user I got this error:

    Your Windows uses codepages and SAPLogon uses 1100
    Windows and SAPLogon codepage mismatch
    Ajust Windows default codepage or SAPlogon codepage. You will be logged off!

    As you can see myt “windows” codepage is empty and saplogon wants to use 1100. and why it keeps telling Windows?

    Mikko

  47. ardhian says:

    hi mikko,

    may i know your system config ?
    OS :
    DB :
    your SAP version :

    ardhian

  48. Mikko says:

    if you mean SAP server side it is:
    OS:HP-UX
    DB Oracle 10
    SAP: 7.00

    but I think problems is in my linux client

    M

  49. SAP Solution says:

    I found your blog on google and read a few of your other posts. I really interested and I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future.Cheer!

  50. Arvind says:

    When tried to do this step
    1. Logon as root
    2. Use this command (on terminal) to install SAPGUI for Java. #java -jar PlatinGUI-Linux-xxxx.jar (Use the latest version).

    I got this below error message in terminal

    Unable to access jarfile PlatinGUI-Linux-710r10.jar.

    I am new to linux, using Ubuntu want to install SAPGUI for Java. I have successfully installed JRE following your steps, but have issue with installing SAPGUI.

    Guide me!!!!

  51. ardhian says:

    @arvind : make sure that you can access this jar file.

    ardhian

  52. Tintin says:

    Hi!
    We use fedora core 11. Everytime we logon to SAP there is an error message “Error when starting “gmux server”!”, but if we close it we can make also any transaction. I just want to get the error message.

  53. ardhian says:

    @tintin :

    make sure that you’re using Java from SUN

    ardhian

  54. ulli says:

    Hi tintin,

    you need to install the libXp library

    Ulli

  55. Himaja says:

    SAP BASIS Free eBooks

    http://www.easy-share.com/f/1325968916/SAP Administartion

    http://www.easy-share.com/f/1326046465/SAP Administration – MISC

  56. lampil says:

    On your advance config NOT FORGET de last “/”

  57. Silvia says:

    Hi!
    I work on Ubuntu, my java version is
    java version “1.6.0”
    Java(TM) SE Runtime Environment (build pxi3260sr8-20100409_01(SR8))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8-20100401_55940 (JIT enabled, AOT enabled)
    J9VM – 20100401_055940
    JIT – r9_20100401_15339
    GC – 20100308_AA)
    JCL – 20100408_01
    I have configured a connection, but when I connect, I receive error :
    silvia@bl3agg3r:~$ cd /tmp
    silvia@bl3agg3r:/tmp$ more sapgui
    silvia@bl3agg3r:/tmp$ ls
    1
    4c6265a41f33d
    4c6265a4466f7
    4c6265a448f29
    4c6265ab46af4
    4c62a662ce6d7
    4c62a6630a371
    4c62a6630d343
    4c62a66859b8d
    acroread_1000_1000
    cache_1000
    core.20100811.145400.20878.0001.dmp
    core.20100811.145525.20937.0001.dmp
    core.20100812.092122.28780.0001.dmp
    core.20100812.092249.28837.0001.dmp
    gedit.silvia.3987799298
    javacore.20100811.145400.20878.0003.txt
    javacore.20100811.145525.20937.0003.txt
    javacore.20100812.092122.28780.0003.txt
    javacore.20100812.092249.28837.0003.txt
    javav
    keyring-lMBM1g
    NLPaaa.tmp
    NLPbaa.tmp
    NLPcaa.tmp
    notes218E7A
    Notes_socket_1000
    orbit-gdm
    orbit-silvia
    OSL_PIPE_1000__950370425_Office
    OSL_PIPE_1000_SingleOfficeIPC_1140d1b52e6d3788cdf7cdd206e93a2
    plugtmp
    pulse-PKdhtXMmr18n
    pulse-wtMAKTcyxq7z
    ralf
    sapgui
    Snap.20100811.145400.20878.0002.trc
    Snap.20100811.145525.20937.0002.trc
    Snap.20100812.092122.28780.0002.trc
    Snap.20100812.092249.28837.0002.trc
    ssh-vneHxx1767
    sv55j.tmp
    tweakoc4l.log
    versionj
    versionjava
    versionjava.txt
    virtual-silvia.cvi1NH
    VMwareDnD
    vmware-root
    vmware-silvia
    vmware-silvia.0
    silvia@bl3agg3r:/tmp$ cat sapgui
    silvia@bl3agg3r:/tmp$ ls -als sapgui
    0 -rw-r–r– 1 silvia silvia 0 2010-08-12 09:25 sapgui
    silvia@bl3agg3r:/tmp$ tail -f sapgui
    JVMDUMP032I JVM requested System dump using ‘/opt/SAPClients/SAPGUI7.00rev6/bin/core.20100812.092740.28928.0001.dmp’ in response to an event
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/core.20100812.092740.28928.0001.dmp: Permission denied
    JVMDUMP010I System dump written to /tmp/core.20100812.092740.28928.0001.dmp
    JVMDUMP032I JVM requested Snap dump using ‘/opt/SAPClients/SAPGUI7.00rev6/bin/Snap.20100812.092740.28928.0002.trc’ in response to an event
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/Snap.20100812.092740.28928.0002.trc: Permission denied
    JVMDUMP010I Snap dump written to /tmp/Snap.20100812.092740.28928.0002.trc
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/javacore.20100812.092740.28928.0003.txt: Permission denied
    JVMDUMP032I JVM requested Java dump using ‘/tmp/javacore.20100812.092740.28928.0003.txt’ in response to an event
    JVMDUMP010I Java dump written to /tmp/javacore.20100812.092740.28928.0003.txt
    JVMDUMP013I Processed dump event “gpf”, detail “”.
    ^C
    silvia@bl3agg3r:/tmp$ tail -100 sapgui
    ############################# ERROR #############################
    12.08. 09:27:40.707 ERROR: GuiAutomationCall.invoke(setIcon): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.707 ERROR: GuiAutomationCall.invoke(setMessageType): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.708 ERROR: GuiAutomationCall.invoke(setText): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.708 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.710 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.710 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.710 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.710 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.710 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.711 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.711 ERROR: GuiAutomationCall.invoke(setMessageParameter): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.713 ERROR: GuiAutomationCall.invoke(setMessageAsPopup): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@2c642c64
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.713 ERROR: GuiAutomationCall.invoke(setMoreDataIndicator): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@314e314e
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.713 ERROR: GuiAutomationCall.invoke(requestGuiFocus): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@23d023d0
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.713 ERROR: GuiAutomationCall.invoke(setOrigFocus): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@19c019c0
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.714 ERROR: GuiAutomationCall.invoke(endUpdate): cannot resolve target com.sap.platin.base.automation.GuiAutomationCall@314e314e
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:40.730 ERROR: GuiAutomationResult::getValue: exceptioncom.sap.platin.base.application.GuiApplication;createObject;java.lang.NullPointerException
    ############################# ERROR #############################
    Unhandled exception
    Type=Segmentation error vmState=0x00040000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
    Handler1=B764943B Handler2=B76225D1 InaccessibleAddress=00000000
    EDI=0A0728D0 ESI=0A0728E8 EAX=00000000 EBX=AC41A514
    ECX=0A0054B8 EDX=0924F668
    EIP=AC0DAF07 ES=007B DS=007B ESP=AC644EDC
    EFlags=00010246 CS=0073 SS=007B EBP=AC644EF8
    Module=/opt/SAPClients/SAPGUI7.00rev6/bin/libJPlatin.so
    Module_base_address=ABFD1000 Symbol=_ZN15GuiAutomationId5getIdEv
    Symbol_address=AC0DAF00
    Target=2_40_20100401_055940 (Linux 2.6.32-24-generic-pae)
    CPU=x86 (2 logical CPUs) (0x1f3d1e000 RAM)
    ———– Stack Backtrace ———–
    (0xB7616652 [libj9prt24.so+0x0])
    (0xB7621C1C [libj9prt24.so+0x0])
    (0xB76166DF [libj9prt24.so+0x0])
    (0xB76167FD [libj9prt24.so+0x0])
    (0xB7616484 [libj9prt24.so+0x0])
    (0xB7621C1C [libj9prt24.so+0x0])
    (0xB76164F8 [libj9prt24.so+0x0])
    (0xB764A173 [libj9vm24.so+0x0])
    (0xB7649DF3 [libj9vm24.so+0x0])
    (0xB7621C1C [libj9prt24.so+0x0])
    (0xB76495DB [libj9vm24.so+0x0])
    (0xB7622749 [libj9prt24.so+0x0])
    (0xB7888410)
    _ZN15GuiEventManager22updatePendingListenersEi+0x24 (0xAC0D2164 [libJPlatin.so+0x101164])
    _ZN13AgiLibAdaptor27processAutomationResultListEiP23GuiAutomationResultList+0xfa (0xAC0A449A [libJPlatin.so+0xd349a])
    Java_com_sap_platin_r3_protocol_diag_JniAgiLibAdaptor_jniProcessAutomationResultList+0x4a (0xAC097CCA [libJPlatin.so+0xc6cca])
    (0xB765E4AF [libj9vm24.so+0x0])
    (0xB7689947 [libj9vm24.so+0x0])
    (0xB7621C1C [libj9prt24.so+0x0])
    (0xB7687788 [libj9vm24.so+0x0])
    (0xB787D3B3 [libj9thr24.so+0x0])
    (0xB786096E [libpthread.so.0+0x0])
    clone+0x5e (0xB77C0A4E [libc.so.6+0xcda4e])
    —————————————
    JVMDUMP006I Processing dump event “gpf”, detail “” – please wait.
    JVMDUMP032I JVM requested System dump using ‘/opt/SAPClients/SAPGUI7.00rev6/bin/core.20100812.092740.28928.0001.dmp’ in response to an event
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/core.20100812.092740.28928.0001.dmp: Permission denied
    JVMDUMP010I System dump written to /tmp/core.20100812.092740.28928.0001.dmp
    JVMDUMP032I JVM requested Snap dump using ‘/opt/SAPClients/SAPGUI7.00rev6/bin/Snap.20100812.092740.28928.0002.trc’ in response to an event
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/Snap.20100812.092740.28928.0002.trc: Permission denied
    JVMDUMP010I Snap dump written to /tmp/Snap.20100812.092740.28928.0002.trc
    JVMDUMP030W Cannot write dump to file /opt/SAPClients/SAPGUI7.00rev6/bin/javacore.20100812.092740.28928.0003.txt: Permission denied
    JVMDUMP032I JVM requested Java dump using ‘/tmp/javacore.20100812.092740.28928.0003.txt’ in response to an event
    JVMDUMP010I Java dump written to /tmp/javacore.20100812.092740.28928.0003.txt
    JVMDUMP013I Processed dump event “gpf”, detail “”.
    silvia@bl3agg3r:/tmp$ more sapgui
    ############################# ERROR #############################
    12.08. 09:27:39.567 ERROR: GuiClassDescriptor.invoke(): com.sap.platin.base.appl
    ication.GuiApplication.createObject() parameters [sym:GuiSession,]
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:39.571 ERROR: GuiAutomationCall.invoke: method invocation failed: c
    om.sap.platin.base.application.GuiApplication;createObject;java.lang.NullPointer
    Exception
    12.08. 09:27:39.571 ERROR: java.lang.NullPointerException
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiComponentImplInfo.ap
    pendMethodDescriptorsTo(GuiComponentImplInfo.java:66)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiContainerImplInfo.ap
    pendMethodDescriptorsTo(GuiContainerImplInfo.java:67)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiSessionImplInfo.appe
    ndMethodDescriptorsTo(GuiSessionImplInfo.java:67)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiSessionImplInfo.getM
    ethodDescriptors(GuiSessionImplInfo.java:53)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiClassDescri
    ptor.(GuiClassDescriptor.java:112)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiClassDescri
    ptor.createClassDescriptor(GuiClassDescriptor.java:62)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiAutomationD
    ispatcher.getClassDescriptor(GuiAutomationDispatcher.java:524)
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$
    silvia@bl3agg3r:/tmp$ more sapgui
    ############################# ERROR #############################
    12.08. 09:27:39.567 ERROR: GuiClassDescriptor.invoke(): com.sap.platin.base.appl
    ication.GuiApplication.createObject() parameters [sym:GuiSession,]
    ############################# ERROR #############################
    ############################# ERROR #############################
    12.08. 09:27:39.571 ERROR: GuiAutomationCall.invoke: method invocation failed: c
    om.sap.platin.base.application.GuiApplication;createObject;java.lang.NullPointer
    Exception
    12.08. 09:27:39.571 ERROR: java.lang.NullPointerException
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiComponentImplInfo.ap
    pendMethodDescriptorsTo(GuiComponentImplInfo.java:66)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiContainerImplInfo.ap
    pendMethodDescriptorsTo(GuiContainerImplInfo.java:67)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiSessionImplInfo.appe
    ndMethodDescriptorsTo(GuiSessionImplInfo.java:67)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.r3.api.GuiSessionImplInfo.getM
    ethodDescriptors(GuiSessionImplInfo.java:53)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiClassDescri
    ptor.(GuiClassDescriptor.java:112)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiClassDescri
    ptor.createClassDescriptor(GuiClassDescriptor.java:62)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiAutomationD
    ispatcher.getClassDescriptor(GuiAutomationDispatcher.java:524)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.automation.GuiAutomationD
    ispatcher.createObject(GuiAutomationDispatcher.java:128)
    12.08. 09:27:39.571 ERROR: at com.sap.platin.base.application.GuiApplicatio
    n.createObject(GuiApplication.java:1160)
    12.08. 09:27:39.571 ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(
    Native Method)
    12.08. 09:27:39.571 ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(N
    ativeMethodAccessorImpl.java:48)
    12.08. 09:27:39.571 ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invo
    –More–(0%)
    If you want, I can reproduce the dumps any time. Thank you, Silvia

  58. ardhian says:

    @silvia :

    I haven’t tried yet for Java Runtime from IBM. But SAPGUI help noticed that for Linux client, you’ll need at least SUN Java and C++ standard library. Here are full notice from SAPGUI help :

    Linux
    Hardware

    * IBM x86 compatible PC
    * CPU: Intel Pentium 4
    * RAM: 1GB required, 2GB recommended for better performance

    Software

    * Sun Java SE 6 32-bit or 64-bit
    Make sure that the Java Plugin is properly installed.
    * C++ runtime: libstdc++.so.6
    This library is generally included with current distributions, at least they all have packages with gcc 4.1 which include this library. For information where to find the packages required to install, please refer to SAP Note 909250.

    Please try to user Java from SUN. Hope this could help.

    ardhian

  59. CJ says:

    Hi, there I have been trying to use this configuration for mi mac (minus de java installation) I think this might be the problem, what kind of java do I need to install and how?

    Thanks

  60. massimo says:

    Hi,

    I have installed SAPGui for java 720 on MAC OSX

    I am able to connect, via saprouter, to two different servers, while I receive a timeout on a third.

    All the server are reached through saprouter.

    The difference is only that the third server is on a different network whit respect to the first two.

    From the same lan, I am able to connect to all three servers using Win sapgui, with the same connection string.

    Any hint?

    One working connection string is (java):

    conn=/H/94.x.y.z/S/3299/H/10.150.0.10/S/3210;wan=true

    the non-working one is (java):

    conn=/H/94.x.y.z/S/3299/H/156.k.l.m/S/3200;wan=true

    the above connection is configured on window with the following parameters:

    Saprouter:/H/94.x.y.z/S/3299/H/

    Appl. server: 156.k.l.m

    System number: 00

    Release info:

    SAPGUI for Java 7.20 rev 4

    (Version ID 072000040400)

    Wed Nov 10 06:15:31 CET 2010

    vml2081, 720_REL, 1202962

    Java VM: Apple Inc. Version 1.6.0_22

    OS: Mac OS X(x86_64) Version 10.6.6

    Thanks!

    Massimo

  61. sriram says:

    This is really a nice way of explaining.

  62. kamlesh says:

    Hi all,
    Recently i have installed Gui 7.2 in MAC OS X but i could not figured out how to map the string and server details, since i gone through the blogs i got the idea and now its working fine…..thanks a lot to sharing ur thoughts..

    Regards,
    Kamlesh Manker

  63. h0ns_niech says:

    Hi All,

    my SAPGUI for Java 7.20 usually works fine on my Mac, using string: “conn=/H/(IP_Address_server_SAP)/S/3220” but then suddenly it doesn’t work, with error message as bellow:

    Error: partner ‘IP_Address _Server_SAP:3220’ not reached
    Tue Oct 11 16:38:32 2011
    Release 720
    Component NI (network interface), version 40
    rc = -10, module nixxi.cpp, line 2897
    Detail NiPConnect: IP_Address _Server_SAP:3220
    System Call connect
    Error No 49
    ‘Can’t assign requested address’

    When I check on my SAP setting at Windows, the IP_Address_Server_SAP is still the same and it works on windows.

    Anyone please help me to connect my SAP on my Mac, coz I really don’t know what the error is, and how to solve it. I really appreciate your help, thanks.

    • Chris says:

      Did you ever get this resolved? I seem to be having the exact same problem.

      Windows works, linux/mac will not.

      Other connections I have work, just one has quit and I have no clue why/how.

  64. Grourawew says:

    Сайт предоставляет возможность скачать не только игру, но и массу дополнений, читов, патчей, плагинов, карт, готовых серверов и т.д. Все это значительно расширит ваши возможности и сделает игровой процесс максимально комфортным. Поскольку Counter Strike достаточно популярная игра, мы уделяем ей должное внимание. На сайте достаточно познавательных статей, а также фото и видеоматериал, которые научат Вас не только основным правилам игры, но и раскроют все секреты опытных игроков. После релиза игры сразу же стали появляться поисковые запросы типа читы для CS 1.6, wh для cs 1.6, скачать aim для cs 1.6, скачать cdhack для cs 1.6. и т.п. Все они подразумевают то, что геймер планирует начесную игру с использованием сторонних программ. Некоторые это поддерживают, некоторые осуждают, но преимущественное большинство пользуется читами.

    скачать cs1 6 бесплатно

    fighter fx 7 2 скачать

    скачать чит aim

    боты для сервера cs 1 6

  65. unit says:

    Only problem is smart form won’t work and may have layout in printing.

  66. jilani says:

    Hi all,
    We will provide sap basis online training. If you need anyfurther information feel free to contact

    Course content : http://www.keylabstraining.com/courses/sap-basis-course-content
    For more Information
    Visit : http://www.keylabstraining.com/
    Contact us : jilani@keylabstraining.com
    Ph : hyd : +91 -95506-45679, USA : 1-(908)-366-7933

  67. […] Installation and Configuration of SAPGUI for Java on Linux Like this:喜歡Be the first to like this. […]

  68. Cristina says:

    Hi
    I try to use Sap Gui 7.30 java on Mac but I have some problem with the configuration.
    I have some details but I don’t know how can put them in the system.
    i have a description, application server (number like xxx.xx.xxx.xxx), system number, system id
    i have also a Client Number, user and password.
    Somebody can help me with this configuration?
    thanks a lot
    cri

    • ardhian says:

      Hi Cristina,

      Run your SAPGUI
      After SAPGUI displaying its user interface then click new
      Fill the description (as you like)
      Click Advanced Tab and give mark on Expert Mode
      Fill like this “conn=/H/[Application Server]/S/32[System Number]”
      Click Save

      • Cristina says:

        Hi Ardhian thanks a lot for you quick reply.
        S/32 plus my system number
        or S/System Number?
        thanks
        cri

      • ardhian says:

        Hi Cristina,

        It’s 32+[your system number]

        for example your system number is 00 then it will be “S/3200”

  69. shalen says:

    Hi Ardhian
    i am using ubuntu when i am following the steps to install sap gui i got an error to download bin file from oracle. i want kickstart installation if you have any information please share to me

  70. Basis newbie says:

    Thank you for sharing

    i like your post.

  71. hi, sir you give a valuable info on sap…. spicily on

    sap basis, i am looking for the web page like this

    and i am much impressed with the info and nice

    course content, i came to know about this site

    from a friend, thanks a lot.

  72. rajibimran says:

    Nice post. carry on for more sharing. You can have a look at SAP Bangladesh for more info on SAP Implementation, BASIS, Cost, Project management.

  73. This article information was so nice. Which is very much useful for me and impressed by reading. Your information is very hep full to SAP OS DB MIGRATION Learners. we are providing the best SAP OS DB MIGRATION ONLINE TRAINING with experienced IT Faculty.To execute an OS/DB migration specially certified for OS/DB migrations, executes the migration locally, irrespective of whether you are migrating a development system, a test system or a productive system.

  74. Thank you sir,I recently came across your blog and have been reading along. nice explanation.We are providing sap sd online training . It is more effective and interest for new learners. I thought I would leave my first comment. I feel great after reading this information.

  75. regi says:

    Hi,
    ASK !
    I try to use SAP GUI 7.30 on raspbian wheezy (Raspberry pi 2 model B) but I have some problem “can’not connect” :
    Connection failed :
    jniAgiLibAdaptor.:cannot load jNI library

    please help me !
    thanks

    • ardhian says:

      I don’t think that ARM architecture has JAVA installer so I think this is because raspbian wheezy don’t have its java.

      For more accurate info, you should consult to SAP forum on sdn.

  76. HI adrian

    can you help me with this error:

    ” There has been an uncathced AccessControlException : access denied (“java.io.FilePermission”/home/user”,”read”)

    Request Enviroment
    ==========================
    CS : /opt/SAPClients/SAPGui7.30/jar/platinr3s.jar
    PL : com.sap.platin.base.security.SAPGUIPolicy
    PR : permission java.io.FilePermission “/home/user”,”read”;

    thanks in advance

    • ardhian says:

      Hi,

      What user you use to install SAPGUI for Java ? root or ordinary user ?

      And what user you use to run this apps (SAPGUI) ?

      I think this issue is just about permission.

      ardhian

  77. Nisitha Dewshan says:

    Thanks Very Help fully.

Leave a comment

August 2007
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Popularity


PageRank

Bookmark and Share

Top Clicks

  • None