cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting Visual Administrator

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

markus_doehr2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

I followed all the steps. Now I am getting new error about Java variable not set. Here is the message that i get.

$ pwd

/usr/sap/SID/DVEBMGS01/j2ee/admin

$ ./go

ERROR Environment variable JAVA_HOME not set

$

I have korn shell (ksh)

Thanks.

markus_doehr2
Active Contributor
0 Kudos

Which operating system are you using? Where is your Java installed?

--

Markus

Former Member
0 Kudos

On my workstation we have Win XP Pro and SAP is installed on HP UX 11 server.

SAP ECC 6.00 (ABAP + JAVA).

markus_doehr2
Active Contributor
0 Kudos

So you're sure there is already under that user a Java instance running? If that was the case, you should have JAVA_HOME in your path

Try the following:

(under ksh)

[code]export JAVA_HOME=/opt/java1.4

export PATH=$JAVA_HOME/bin:$PATH[/code]

and then try to start VA again with "./go"

--

Markus

Former Member
0 Kudos

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

$

markus_doehr2
Active Contributor
0 Kudos

Your DISPLAY variable is not set - you need to set that too of course.

--

Markus

Former Member
0 Kudos

Hi Markus,

Thanks for your help. Points rewarded. I am using XServer to connect to UNIX box for running Visual Admin Tool. Also i have one more thing. Do I have to sent display variable everytime i try to connect.

Bhavin

markus_doehr2
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Did you set DISPLAY variable to your computer ?

setenv DISPLAY <your comp ip>:0.0 , it depends on your shell

Thanks

Prince Jose

Former Member
0 Kudos

Hi Prince,

I read in forum that we can also start Visual config tool from mylocan terminal which is windows environment. If possible you can throw some more light on it and how to do it.

Bhavin

Former Member
0 Kudos

I am not sure abt that .. I use Xwindows to access VA ...

Thanks

Prince