cancel
Showing results for 
Search instead for 
Did you mean: 

J2ee engin is not running

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

if you have the same JVM 1.4.X version installed in your windows machine you can access the drive containing the directory (/usr/sap/SID/instance/j2ee/admin) in the remote system and click on go.bat file. You don`t need to copy the whole directory.

Regards,

Jyotish

franz_hiltscher
Participant
0 Kudos

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.

franz_hiltscher
Participant
0 Kudos

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

Former Member
0 Kudos

Hi,

I think this is error in your local machine. To check whether your java engine is running or not use the MMC console:

http://server:5XX13

Check the server0.log file if your server process is not started or check your dev0 files and post it here.

Regards,

Vamshi.