Vous êtes sur la page 1sur 32

Installation and Configuration of SAPGUI for Java on Linux

3 Votes Based on many questions in my email inbox, asking how to install and configure SAPGUI for Java on Linux, here Ill 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 cant use this JRE. We need to replaced it. Ill show you how to changed it later. You also need SAPGUI for Java installer. You can download it freely from ftp://ftp.sap.com.

2.

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 doesnt work for you. 1. 2. 3. 4. 5. 6. 7. 8. Logon as root Copy your JRE installer file to /opt folder.Please use .bin extention file. Change file permission if needed to executable. Use this command : #chmod 755 jre-1.xxx.bin (xxx = refer to JRE version youre using). Extract JRE files. Use this command : #./jre-1.xxx.bin Install JRE you just extracted inside alternatives system. Use this command : #/update-alternatives install /usr/bin/java java /opt/jre1-xxx/bin/java 2 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 Use this command to verify your JRE configuration. You can use this command : #java -version 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. 2. 3. Logon as root Use this command (on terminal) to install SAPGUI for Java. #java -jar PlatinGUI-Linux-xxxx.jar (Use the latest version). 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. 2. 3. 4. 5. 6. Run executable file called guilogon (reside on /opt/SAPClients/SAPGUI700rev1/bin). It willpop up SAPGUI for Java window. Click New button. Fill the Description column as you like. Click Advanced Tab. Give check (V) to Use Expert Configuration Fill the connection string. If your server using load balancing configuration, use this connection stringconn=/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. Ill try to update this tutorial as best as I can.

Share this:

Facebook Twitter Email Print LinkedIn StumbleUpon Reddit Digg

Like this: Like Be the first to like this post.

August 22, 2007 - Posted by ardhian | Linux, SAPGUI, Unix | Application Server, Basis, Connection String, distro, download, Linux,Message Server, PlatinGUI, port, Print, SAP, SAP R3, SAPClients, SAPGUI, SAPGUI for Java, SAProuter, SUN Java, System Number

66 Comments
1. Rate This

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.

Comment by Vijay Ingle | January 10, 2008 | Reply


2. Rate This

hi vijay,

thats really strange. please try to check your windows firewall. try not to use windows firewall. let me know if it doesnt worked. best regards, ardhian

Comment by ardhian | January 11, 2008 | Reply


3. Rate This

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

Comment by Vijay Ingle | January 18, 2008 | Reply


4. Rate This

Hi Vijay, I dont 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

Comment by ardhian | January 18, 2008 | Reply


5. Rate This

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

Comment by Vijay Ingle | January 20, 2008 | Reply


6. Rate This

Hi Vijay, Im 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 doesnt work, then i have no ideas anymore. ardhian

Comment by ardhian | January 21, 2008 | Reply


7. Rate This

HI, Ive 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.

Comment by David Funez | June 27, 2008 | Reply


8. Rate This

Hi david, Whats SAPGUI version you are using ? JRE version ? Try to import some Windows fonts to your Linux ? Hope that can help. ardhian

Comment by ardhian | June 28, 2008 | Reply


9. Rate This

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!

Comment by wwm2 | July 9, 2008 | Reply


10. Rate This

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

Comment by Hugo | July 15, 2008 | Reply


11. Rate This

Hi Hugo,

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

Comment by ardhian | July 16, 2008 | Reply


12. Rate This

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 youve 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

Comment by ery | July 23, 2008 | Reply


13. Rate This

I need to connect to the SAP server in my job, but im at home. I have the SAP router string ip, its a public IP and the server Ip its 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 cant do it. Espero tu ayuda, mi ingls no es muy bueno. Gracias

Comment by Javier | September 3, 2008 | Reply


14. Rate This

Im connected using a sap router with the next command: conn=/H/(SAP Router String)/H/(IP Address server)/S/3200

thx

Comment by Javier | September 3, 2008 | Reply


15. Rate This

Hi Javier, It seems that you missed little configuration. When youre 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

Comment by ardhian | September 4, 2008 | Reply


16. Rate This

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

Comment by ashit | September 25, 2008 | Reply


17. Rate This

hi ashit, If youre 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

Comment by ardhian | September 26, 2008 | Reply


18. Rate This

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

Comment by Gokudan | October 2, 2008 | Reply


19. Rate This

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

Comment by Ashok Kumar | October 9, 2008 | Reply


20. Rate This

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

Comment by ardhian | October 11, 2008 | Reply


21. Rate This

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 Internetbased 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).

Comment by Super | October 22, 2008 | Reply


22. Rate This

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

Comment by ardhian | October 22, 2008 | Reply


23. Rate This

No SAProuter. Just by IP in the connection string.

Comment by Super | October 23, 2008 | Reply


24. Rate This

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

Comment by ardhian | October 23, 2008 | Reply


25. Rate This

Hi its 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?

Comment by Super | October 23, 2008 | Reply


26. Rate This

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.

Comment by Super | October 23, 2008 | Reply


27. Rate This

hi, congratulations ! Ill wait for your consult about printing. I have just finished my client from Phillipines for this printing solution. ardhian

Comment by ardhian | October 23, 2008 | Reply


28. Rate This

nice

Comment by devratt | November 12, 2008 | Reply


29. Rate This

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

Comment by musopelo | December 29, 2008 | Reply


30. Rate This

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

Comment by kermitz | January 21, 2009 | Reply


31. Rate This

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

Comment by ardhian | January 21, 2009 | Reply


32. Rate This

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

Comment by Thirumoorthi | February 7, 2009 | Reply


33. Rate This

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

Comment by sriram | February 17, 2009 | Reply

o
Rate This

hi sriram, you should download JRE from SUN (http://java.sun.com). All you need to extract and set appropriate JAVA environment.

ardhian

Comment by ardhian | February 17, 2009 | Reply


34. Rate This

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

Comment by Sriram | March 7, 2009 | Reply


35. Rate This

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

Comment by ardhian | March 8, 2009 | Reply


36. Rate This

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

Comment by aMoL z | March 16, 2009 | Reply


37. Rate This

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

Comment by Mikko | April 8, 2009 | Reply


38. Rate This

Hi Mikko, It seems that youre experiencing SAPLogon Codepage problem. Although SAPGUI for Java was support Unicode but some function still wont work properly. Check this link (http://help.sap.com/saphelp_40b/helpdata/de/93/e6415d4ba811d189510000e829fbbd/content.h tm) I think this is because of your Windows codepage. Maybe youre using non standard codepage.

FYI, I am using Linux so I couldnt test it. ardhian

Comment by ardhian | April 13, 2009 | Reply


39. Rate This

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

Comment by ardhian | April 13, 2009 | Reply


40. Rate This

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 ive 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

Comment by Nirmit | April 13, 2009 | Reply


41. Rate This

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

Comment by ardhian | April 14, 2009 | Reply


42. Rate This

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

Comment by nirmit | April 14, 2009 | Reply


43. Rate This

hi nirmit, This DRAG AND DROP feature youre 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

Comment by ardhian | April 15, 2009 | Reply

44. Rate This

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

Comment by Nirmit | April 15, 2009 | Reply


45. Rate This

hi Adrian Im using Linux also and that makes this problem difficult. I dont know which codepages I should install and why this problems appears only with my own user account, not ddic Mikko

Comment by Mikko | April 23, 2009 | Reply


46. Rate This

hi mikko, what linux distro youre 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

Comment by ardhian | April 27, 2009 | Reply


47. Rate This

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

Comment by Mikko | April 27, 2009 | Reply


48. Rate This

hi mikko, may i know your system config ? OS : DB : your SAP version : ardhian

Comment by ardhian | April 28, 2009 | Reply


49. Rate This

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

Comment by Mikko | April 28, 2009 | Reply


50. Rate This

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!

Comment by SAP Solution | June 30, 2009 | Reply


51. Rate This

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!!!!

Comment by Arvind | October 22, 2009 | Reply


52. Rate This

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

Comment by ardhian | October 23, 2009 | Reply


53. Rate This

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.

Comment by Tintin | December 14, 2009 | Reply

54. Rate This

@tintin : make sure that youre using Java from SUN ardhian

Comment by ardhian | December 18, 2009 | Reply


55. Rate This

Hi tintin, you need to install the libXp library Ulli

Comment by ulli | December 23, 2009 | Reply


56. Rate This

SAP BASIS Free eBooks http://www.easy-share.com/f/1325968916/SAP Administartion http://www.easy-share.com/f/1326046465/SAP Administration MISC

Comment by Himaja | April 22, 2010 | Reply


57. Rate This

On your advance config NOT FORGET de last /

Comment by lampil | May 27, 2010 | Reply


58. Rate This

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-rr 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=000040000 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+024 (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

Comment by Silvia | August 12, 2010 | Reply


59.

Rate This

@silvia : I havent tried yet for Java Runtime from IBM. But SAPGUI help noticed that for Linux client, youll 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

Comment by ardhian | August 13, 2010 | Reply


60. Rate This

SAP IDES Available Download on http://WWW.SAPVISUAL.COM

Comment by softbasic | November 9, 2010 | Reply


61. Rate This

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

Comment by CJ | December 7, 2010 | Reply

o
Rate This

@CJ : I use java default from Mac and it work without any problem

Comment by ardhian | December 14, 2010 | Reply


62. Rate This

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

Comment by massimo | January 30, 2011 | Reply


63. 1 Vote

This is really a nice way of explaining.

Comment by sriram | June 23, 2011 | Reply


64. Rate This

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

Comment by kamlesh | August 31, 2011 | Reply

hello Shailesh, i have searched for "SAPGUI 7.2 Linux" via google and found an installation file on the site of an german university. It could be worth a try:

http://www.uni-marburg.de/projekte/sap/downloadarea http://www.online.uni-marburg.de/zv/sapr3/downloadarea/gui720_java_c2.zip kind regards Alexander