on 06-25-2012 11:33 AM
dcatipl:dcjadm 31> env |grep JAVA_HOME
JAVA_HOME=/opt/java1.4
dcatipl:dcjadm 32> ls -lta $JAVA_HOME
total 192
dr-xr-xr-x 101 bin bin 8192 Mar 10 11:23 ..
dr-xr-xr-x 6 bin bin 8192 Mar 10 08:07 man
dr-xr-xr-x 6 bin bin 8192 Mar 10 08:07 jre
dr-xr-xr-x 8 bin bin 8192 Mar 10 08:07 .
dr-xr-xr-x 5 bin bin 8192 Mar 10 08:06 bin
dr-xr-xr-x 5 bin bin 96 Mar 10 08:06 demo
dr-xr-xr-x 3 bin bin 8192 Mar 10 08:06 include
dr-xr-xr-x 2 bin bin 96 Mar 10 08:06 lib
-r--r--r-- 1 bin bin 10129 Oct 20 2010 THIRDPARTYLICENSEREADME.txt
-r--r--r-- 1 bin bin 8275 Oct 20 2010 LICENSE
-r--r--r-- 1 bin bin 602 Oct 20 2010 java.os11.release.notes
-r--r--r-- 1 bin bin 4909 Oct 20 2010 COPYRIGHT
dcatipl:dcjadm 33> more configtool.sh
configtool.sh: No such file or directory
We are not able to open config tool. Searched in couple of the post, it said to run couple of these tests. The output is shown above.
Kindly guide.
You need to go to the directory
/usr/sap/DCJ/DVEBMGSXX/j2ee/configtool
Set the DISPLAY environment variable.
Start the configtool
./configtool.sh
Regards
Ratnajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I was in reference to visual admin( go.sh)
dcatipl:dcjadm 49> ls
adminCFG.properties go.bat log
cfg go.jar logviewer-standalone
docs launcher
go lib
dcatipl:dcjadm 50> ./go
java version "1.4.2.26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.26-101019-04:01)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.26-101019-03:43-IA64N IA64, mixed mode)
6/25/12 4:18 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:331)
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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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:331)
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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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
This is the error.
The visual admin tool must be started from a graphical environment as it is a GUI.
It seems like you start it from a terminal only as states this error message in the provided log :
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
Or at least you have a problem with your DISPLAY variable.
Regards,
Steve.
dcatipl:dcjadm 106> setenv DISPLAY 192.100.1.21:0.0
dcatipl:dcjadm 107> cd usr/sap/DCJ/JC01/j2ee/admin
dcatipl:dcjadm 105> ./go
java version "1.4.2.26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.26-101019-04:01)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.26-101019-03:43-IA64N IA64, mixed mode)
6/25/12 5: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:331)
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 '192.100.1.21: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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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:331)
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 '192.100.1.21: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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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
Same error..
Is there any other GUI based tool open in the Xmanager window?
If so open another new xmanager window.
Set the display to the value (something like 192.100.1.21 (dcatipl:177) - Xmanager 2.0[:1.0] )shown at the top of the screen of xmanager.
setenv DISPLAY 192.100.1.21:1.0
run xclock.
Then if it works , start the visual admin.
Regards
Ratnajit
dcatipl:dcjadm 106> setenv DISPLAY 192.100.1.21:0.0
dcatipl:dcaadm 38> cd admin
dcatipl:dcaadm 39> ./go
java version "1.4.2.26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.26-101019-04:01)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.26-101019-03:43-IA64N IA64, mixed mode)
6/26/12 12:05 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:331)
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 '192.100.1.21: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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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:331)
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 '192.100.1.21: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:1637)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1633)
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
Is your network NATed ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is you network NATed ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The configtool is not supposed to be in the JAVA_HOME directory.
It is located in the directory :
/usr/sap/<SID>/<INSTANCE_DIR>/j2ee/configtool
Best regards,
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.