cancel
Showing results for 
Search instead for 
Did you mean: 

go error

pbechani
Participant
0 Kudos

I am trying to run the go admin tool for J2ee which is on a solaris machine.I am invoking it from win XP using telnet. I am getting the following error

4/10/06 11:32 AM 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(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:226)

... 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:226)

What seems tobe the problem. Help urgently needed.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Prince,

If you are looking to control the Java stack of your server on the visual administrator, You may copy the Visual Administrator <b>Go.JAR</b> file to your local file under the same tree structure usr\sap\j2e\..\j2ee\admin. Re-define the java home and bin path of the Go.bat file.

Now you may connect to your WebAS from your computer itself.

in the logon window, Click on the <b>New Button</b> give a name and select <b>DIRECT COnnection to a Dispatcher mode</b>. Click on <b>next</b>. Here give, <b>username, host and port (note: port here is 5<sysnr>04)</b> The connection type may be Http Tunneling.

after saving the entries, you may remote logon to your Java Stack of your WebAS.

Regards

Arunkumar

pbechani
Participant
0 Kudos

If I can go over what you said Ravi.

1)Create path c:\usr\sap\J2E\JC00\j2ee\admin

2)Copy Go.Jar to the new path

3)The copy of Go.bat that I change is it the one on the server

4) the java home and path are they the ones defined on my XP client that I have to point to.

So when I run go.bat it will be on the server.

Thanks in advance

Former Member
0 Kudos

Bulls Eye!

if go.bat doesn't work, you may doubleclick go.jar itself. and make sure the java home and path are set properly!

Rgds

Ak.

pbechani
Participant
0 Kudos

Ravi,thanx for the helpbut it can't seem to work.I am getting this error

C:\Program Files\GlobalSCAPE\CuteFTP 7 Professional>"C:\j2sdk1.4.2_11\bin\java"

-showversion -Dsun.java2d.noddraw=true -Duser.language=en -jar "C:\Documents and

Settings\Bechani\Local Settings\Temp\go.jar"

java version "1.4.2_11"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)

Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)

4/10/06 2:03 PM com.sap.engine.tools.launcher.Launcher Error : error reading pro

perties file null

Exception in thread "main" com.sap.engine.tools.launcher.LauncherException: unab

le to find properties file launcher.properties

at com.sap.engine.tools.launcher.Launcher.readLauncherPropertyFile(Launc

her.java:521)

at com.sap.engine.tools.launcher.Launcher.init(Launcher.java:191)

at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:113)

Program terminated abnormally

Press any key to continue . . .

Former Member
0 Kudos

hi Prince,

just follow this thread.

that should help!

Rgds

Ak

pbechani
Participant
0 Kudos

Waal. Now that's what I call help. I worked perfectly.

The only thing left is the port number. I am using 50004. which user can I log in as.

pbechani
Participant
0 Kudos

Ravi, its now working. I used Default not HTTP Tunnelling. Thanks a lot.I have given you the points.

Answers (0)