cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting visual administrator

Former Member
0 Kudos

Hi all,

We have implemented SRM5.5 with AS Abap and java. When i run the visual administrator, i am getting the following error. can any one help me out this.

3/26/07 10:53 AM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class com.sap.engine.services.adminadapter.gui.AdminFrameView

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(DelegatingMethodAccessorImpl.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:139)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.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:1637)

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>(AboutWindow.java:12)

at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFrameView.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(DelegatingMethodAccessorImpl.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:139)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.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:1637)

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>(AboutWindow.java:12)

at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFrameView.java:234)

... 6 more

Thanks in advance,

Sailesh K

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, Sailesh

One reason might be the setting of Unix X11 - DISPLAY variable.

Please check whether you can execute other GUI application. Xclock

or something like that.

And please check the environment variable DISPLAY is set correctly.

Best Regards.

Former Member
0 Kudos

Hi,

Can you tell me how to setup an environment variable in unix. As, you send, i want to set a new env variable Display.

Thanks and Regards,

Sailesh K

Former Member
0 Kudos

depends on which shell you are using.

setenv DISPLAY <yourIP/machine name>:<port>.0

syntex (setenv DISPLAY marby:0.0)

Cheers,

-Sunil