cancel
Showing results for 
Search instead for 
Did you mean: 

Netweaver trial on linux - AgiLibAdaptor - Linux - JAVA SAPGUI7.20rev2

eric_martorana
Explorer
0 Kudos

Hello,

on a windows laptop (x86_64), i've installed :

VMware 3

OpenSuse 11.3

JVM 1.6.0_17

+ SAP components :

Netweaver 7.0 trial for Linux (ABAPJAVAMaxDB), system id N4S

SAPGUI7.20rev2

When the N4S host is started (everything is ok), i'm trying to connect via the use of JAVAGUI.

I'm receiving the following entry in the trace error file :

newGuiConnection

GuiNiNetConnection.open(conn=/H/n4shost/S/3201&expert=true,N4S)

newGuiNiNetConnection

GuiNiNetConnection.open(conn=/H/n4shost/S/3201)

GuiNiNetConnection.open: resolved hostSpec = /H/n4shost/S/3201

-


GuiNiNetConnection: sending DIAG data to connection for modus -1

##########

ERROR: AgiLibAdaptor::onParsed(): connection proxy or ACL is NULL!

Remark : i've not configured any proxy on the linux guest.

Thanks in advance for your help !

Regards,

Eric.

Accepted Solutions (1)

Accepted Solutions (1)

eric_martorana
Explorer
0 Kudos

Markus,

as required, i've installled last version of SUN JDK jdk-6u21-linux-x64.bin

I've executed the installation.

I can now launch the JAVAGUI but only via the icon located in the Start menu of OpenSuse, and from this location, it works fine : i can connect to N4S (thank you).

What i can't still understand is :

-> when i'm launching java -version i still have old entries (sorry i am a newbie on LINUX ! )

-> when using the bash comand line /opt/SAPClients/SAPGUI7.20rev2/bin/guistart /H/n4shost/S3201 it doesn't work : the system issue the error message :

No X11 DISPLAY variable was set, but this program performed an operation which requires it

Thanks in advance,

Eric Martorana.

markus_doehr2
Active Contributor
0 Kudos

> I can now launch the JAVAGUI but only via the icon located in the Start menu of OpenSuse, and from this location, it works fine : i can connect to N4S (thank you).

>

> What i can't still understand is :

>

> -> when i'm launching java -version i still have old entries (sorry i am a newbie on LINUX ! )

Yes, because your PATH variable doesn't contain the installation path of the freshly installed Sun JDK. You'll have to add that PATH or change it; how this is done depends on the Linux distribution you use.

> -> when using the bash comand line /opt/SAPClients/SAPGUI7.20rev2/bin/guistart /H/n4shost/S3201 it doesn't work : the system issue the error message :

> No X11 DISPLAY variable was set, but this program performed an operation which requires it

This is a common problem when you switch users under X, you'll have to set the DISPLAY variable to point to you X-Server and allow the client to connect by issuing "xhost +". However, this is not a SAP problem but a general thing how an X-Server works. I suggest you google or check some good Linux books.

Markus

Former Member
0 Kudos

Thanks Markus!

my X11 problem got solved after giving "xhost +" command under root login.

then i used the same DISPLAY variable of root user for <sid>adm user.

-Roshan

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

What Java version do you use?

java -version

AFAIK OpenSuSE is delivered with the IBM JDK, this doesn't work, you need to SUN JDK.

Markus

eric_martorana
Explorer
0 Kudos

Hello Markus,

java -version returns :

java version "1.6.0_17"

OpenJDK Runtime Environment (IcedTea6 1.7.3) (suse-7.3-x86_64)

OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Is it OK ?

Thanks in adavnce,

Eric.

markus_doehr2
Active Contributor
0 Kudos

> java -version returns :

> java version "1.6.0_17"

> OpenJDK Runtime Environment (IcedTea6 1.7.3) (suse-7.3-x86_64)

> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

That JDK is not supported.

To run the SAPGUI on Java you need the original Sun JDK (http://java.sun.com)

Markus