on 06-07-2008 8:52 PM
hi,
I Installed SAP NW2004s ( ABAP + JAVA) Stack 9 for Linux. I can see see Netweaver Administrator (NWA) using http://<hostname>:54200/nwa and have already configured BW in Netweaver. But I need to configured many things like JCo RFC Provider and others. But I am getting errors while I am trying to execute Visual Administrator using the following line. I there is Java setup error
n4shost:n4sadm 21> /netweaver/sap/N4S/DVEBMGS42/j2ee/admin/go
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
6/7/08 9:40 PM com.sap.engine.tools.launcher.Launcher Error : unable to invoke m ain class com.sap.engine.services.adminadapter.gui.AdminFrameView
Exception in thread "main" com.sap.engine.tools.launcher.LauncherException
at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:340)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)
-
caused by -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0 .0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1 34)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:16 37)
at javax.swing.JWindow.<init>(JWindow.java:160)
at javax.swing.JWindow.<init>(JWindow.java:112)
at com.sap.engine.services.adminadapter.gui.AboutWindow.<init>(AboutWind ow.java:12)
at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFra meView.java:234)
... 6 more
-
caused by -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0 .0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1 34)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:16 37)
at javax.swing.JWindow.<init>(JWindow.java:160)
at javax.swing.JWindow.<init>(JWindow.java:112)
at com.sap.engine.services.adminadapter.gui.AboutWindow.<init>(AboutWind ow.java:12)
at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFra meView.java:234)
... 6 more
n4shost:n4sadm 22>
Please help me to resolve this issue.
thanks
Obaid.
hi!!!
your problem is the DISPLAY
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0 .0' as the value of the DISPLAY variable
SCN - 1 same machine diferents users "user1" and "sapuser"
access to X11 with "user1"
xhost +
su sapuser
passwd:xxxx
#/usr/sap/XXX/j2ee/admin/go
SCN - 1 diferents machines access to X11 with "user1" in "myhost"
(myhost)# xhost +
(myhost)# telnet sapserver
user: sapuser
passwd:xxxx
(sapserver)# export DISPLAY=myhost:0.0
(sapserver)# /usr/sap/XXX/j2ee/admin/go
note:
myhost = my ip or my name machine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.