on 07-06-2010 8:15 AM
Hello Experts
when i m trying to launch the j2ee engin then its giving this error
plz give me instruction to solve it
bash-3.00$ ./go
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
7/6/10 12:29 PM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main 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(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:134)
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:134)
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
Hello,
As workaround you can copy the whole "admin" directory (/usr/sap/SID/instance/j2ee/admin) to your windows system.
Then start the go.bat and connect to your Java engine. See if this is working properly.
Make sure that your SAP system is running otherwise it will not connect to your engine.
Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify.
with ./go you try to start the visual admin. It is a graphical administration tool for WebAS Java.
The error you post depends on a problem with your graphical output on your system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do you set your DISPLAY variable correct?
Do you try to start it on the server console or you connected with a ssh/remote shell/telnet connection?
Could you start another x application like xclock?
Kind Regard
Franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think this is error in your local machine. To check whether your java engine is running or not use the MMC console:
Check the server0.log file if your server process is not started or check your dev0 files and post it here.
Regards,
Vamshi.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.