cancel
Showing results for 
Search instead for 
Did you mean: 

Starting of Visual Administrator

Former Member
0 Kudos

Hi All,

I tried to open Visual administrator but i am not able to do.The OS i am working on is Solaris,

i logged in as <SID>adm user and executed teh command

/usr/sap/<SID>/<Instance name>/j2ee/admin/go.

and system showing the following error

java version "1.4.2_12"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)

Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

6/5/08 11:16 AM com.sap.engine.tools.launcher.Launcher Error : console error str

eam will not be logged into a file; there was an error opening the log file

java.io.FileNotFoundException: /usr/sap/<SID>/DVEBMGS50/j2ee/admin/log/console_log

s/error.log (Permission denied)

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)

6/5/08 11:16 AM com.sap.engine.tools.launcher.Launcher Error : console output st

ream will not be logged into a file; there was an error opening the log file

java.io.FileNotFoundException: /usr/sap/<SID>/DVEBMGS50/j2ee/admin/log/console_log

s/output.log (Permission denied)

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)

6/5/08 11:16 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:234)

Anyone please advice

regards

Naveen

Accepted Solutions (1)

Accepted Solutions (1)

former_member350481
Discoverer
0 Kudos

Hi Naveen,

try to run the Visual administrator (go) with X window client.

Former Member
0 Kudos

Hi Costas Doukouris

Are you saying to execute go using X manager ? Please explain

regards

Naveen

Former Member
0 Kudos

Hi Naveen,

Visula Admin always must be started under SIDADM user only.

in X- Manager the env is already set to default as ur remote system , so that visual admin can use the Front end GUI and start a new session.

If u r accessing the server via putty etc.. then kindly try setting the env by SET ENV command or EXPORT for ksh.

Regards,

Kaustubh.

Former Member
0 Kudos

Hi all,

This issue is resolved. when i used X-manager since the ENV variable is already SET, Visual Administrator opened properly.

Thanks all for your efforts

reagards

Naveen

Former Member
0 Kudos

Hi Naveen,

I am using X-Manager to open visual administrator.

I have set the environment variable JAVA_HOME but still i get the same error that u got.

Can u guide me on this.

Thanks

Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

As <sid>adm switch to /usr/sap/<SID>/DVEBMGS50/j2ee/admin/log/console_logs and check if error.log does exist. If the file exists please check the permissions and also the permissions.

If it does not exist please check the permissions of the current directory and try a "touch error.log". Also check that file system is not full.

/cheers

Former Member
0 Kudos

Hi Christian Kaunzner

I have checked error.log file, root user is having all the access on this file. when i tried in executing go file from root user, i got the below error

6/6/08 5:43 PM com.sap.engine.tools.launcher.Launcher *Error : unable to invoke m

ain 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:234)

kindly advice

regards

Naveen

Former Member
0 Kudos

Hi Naveen,

Try the steps I described as sidadm, not root.

Also you should start Visual Admin as sidadm, not root.

To start via X-Win Session:

On client side:

Execute an X-Win (X-Win32 or similar product) server (on your local machine, i.e. windows front-end)

On server side:

user sidadm:

export DISPLAY=<your client IP>:0.0

or

setenv DISPLAY <your client IP>:0.0

Switch to your Visual Admin directory and execute ./go.sh