on 08-10-2007 7:23 PM
Hi Gurus,
I need help in starting Visual Administrator and Config tool. We recently added Java Stacks to our system. So when I try to open visual admin tool from admin directory
Run /usr/sap/<SAPSID>/JC<xx>/j2ee/admin/go.
here is the following error messags I get.
8/10/07 12:02 PM com.sap.engine.tools.launcher.Launcher Error : unable to invoke
main class com.sap.engine.services.adminadapter.gui.AdminFrameView
Thanks in advance.
Try to step in the directory before starting:
cd \usr\sap\<SID>\JC<XX>\j2ee\admin
go
if youu00B4re on Unix you NEED an X-server on your Windows box.
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now I have Hummingbird Exceed and QVT Terminal installed on my machine.
i tried to set following display variable:
C Shell (csh)
./setenv DISPLAY <Host_name>:0.0
Korn Shell (ksh)
export DISPLAY=<Host_name>:0.0
$ export DISPLAY=servername:0.0
server name: i used server where java central instance installed.
But still same thing, happens:
$ pwd
/usr/sap/SID/DVEBMGS01/j2ee/configtool
$ go
ksh: go: not found
Can you help.
Two mistakes here:
The "servername" is the server where Exceed is running, it must be started and "listening" on connections.
What you do is basically start the application on your server and send the "window" over the network to your workstation so it gets displayed there.
So "servername:0.0" is YOUR machine.
Unix usually doesn´t have the actual directory in its path so you need to do:
cd /usr/sap/<SID>/DVEBMGS01/j2ee/configtool
./go (note the dot-slash)
--
Markus
Message was edited by:
Markus Döhr
Hi Bhavin,
In response to your query for Connection from Windows to the visual admin please go thru the following steps:
1) Start the Visual administrator.
2) Press the button "New" connection.
3) Select the option "Direct connection to a Dispatcher Node" and press Next.
4) Enter the Valid user name (j2ee_admin) along with the host name and the J2ee HTTP port . Rest all default and press o.k.
5) Now you can use this connection to connect to the visual admin of your unix machine!
Regards,
Prem
Hi Bhavin,
Proceed as follows:
1) Start Humming bird on your windows machine. Find the IP of your machine say 123.45.67
2) Login to unix machine and find which shell it is using by typing the following command <b>echo $SHELL</b>
3) If the above command will return /bin/csh (For C shell)
Then type the command <i>setenv DISPLAY 123.45.67:0.0</i> <b>(Here 123.45.67 is teh ip of the windows system where Humming bird is running)</b>
4) If the above command returns /usr/bin/ksh
Then type the command <i>export DISPLAY=123.45.67:0.0</i> <b>(Here 123.45.67 is teh ip of the windows system where Humming bird is running)</b>
5) To start visual administrator the path you are using is wrong: Please use as below:
<b>cd /usr/sap/SID/DVEBMGS01/j2ee/admin</b>
Now do ./go
Thanks & regards,
Vijith
This is what i get now when i run ./go
$ ./go
java version "1.4.2.13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.13-070317-13:26)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.13-070317-18:29-IA64N IA64, mixed)
8/17/07 9:04 AM com.sap.engine.tools.launcher.Launcher Error : console error ste
java.io.FileNotFoundException: /usr/sap/IE1/DVEBMGS01/j2ee/admin/log/console_lo)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.sap.engine.tools.launcher.Launcher.initLogs(Launcher.java:621)
at com.sap.engine.tools.launcher.Launcher.init(Launcher.java:198)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:113)
8/17/07 9:04 AM com.sap.engine.tools.launcher.Launcher Error : console output se
java.io.FileNotFoundException: /usr/sap/IE1/DVEBMGS01/j2ee/admin/log/console_lo)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.sap.engine.tools.launcher.Launcher.initLogs(Launcher.java:636)
at com.sap.engine.tools.launcher.Launcher.init(Launcher.java:198)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:113)
8/17/07 9:04 AM com.sap.engine.tools.launcher.Launcher Error : unable to invokew
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)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce)
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 ':.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnv)
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:1)
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>(AboutWin)
at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFr)
... 6 more
-
caused by -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce)
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 ':.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnv)
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:1)
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>(AboutWin)
at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFr)
... 6 more
$
thanx for the points
Yes - because the server doesn't "know" where to send the display if you just log on using telnet.
If you want to do that automatically you can put in the .sapenv_<SID> the following line:
[code]export DISPLAY=`who -R | awk -F"[\t ]|[()]|[\t ]+" '{printf"%s:0",$7}'`[/code]
(if you use ksh as shell)
This will get your IP from the command "who -R", cut everything else out and append a ":0".
--
Markus
Hi
Did you set DISPLAY variable to your computer ?
setenv DISPLAY <your comp ip>:0.0 , it depends on your shell
Thanks
Prince Jose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.