on 04-07-2010 5:59 AM
Hi All,
I got one issue about Portal certificate expiration, for which SSO is not working b/w Portal and R3.
As working on Solaris, required to re-generate the Keystore Certificate via Visual Admin, but WHAT!!!
I am not able to run it, it says that JAVA_HOME needs to be set.
Done (Set) but still am not able to see that VA screen. Tried thru root and SIDADM (recommended) also, but couldnt... which is turning my head 360 degrees.
Well request you all to share your good experiences thru which i may be able to resolve the issue which is pending past 2 days and no proceedings since...
And i guess there is no way out to increase the validity of certificate without VA. OR is there any????
Thanks
Piyush
Hi Piyush,
am not able to run it, it says that JAVA_HOME needs to be set.
login to OS with SIDADM user and run the following command.
echo $JAVA_HOME
and check what is a output of the command
Also share the same in the forum.
Thanks
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Anil,
i got,
/usr/java
we ran the command "./go" to start visual admin, which inturn shows the error as below
-
4/7/10 12:09 PM 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/EPD/JC01/j2ee/admin/log/console_logs/out
put.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)
4/7/10 12:09 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(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)
... 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:234)
... 6 more
-
Regards
Piyush
Hi Piyush,
4/7/10 12:09 PM 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/EPD/JC01/j2ee/admin/log/console_logs/out
put.log (Permission denied)
For above error do the following steps.
1. Login to OS with EPADM user.
2. goto directory /usr/sap/JC01/j2ee/admin/
3. run command ls -ltr ( you will see there is a folder called log.
now run the following command.( beaware you are at folder location /usr/sap/Jc01/j2ee/admin/
for confirming this run command pwd
after confirming the directory location run the following command.
chown -R epdadm:sapsys log
chmod -R 775 log
After running the above start the visual admin ( Visual admin should be start with epdadm user and not by root user )
Thanks
Anil
Hi Anil,
I noticed the following result after running the command.
-
ceerpepd:epdadm 14% chown -R epdadm:sapsys log
chown: error.log: Not owner
chown: output.log: Not owner
chown: 2010_04_05_at_23_31_09_error.log: Not owner
chown: 2010_04_05_at_23_31_09_output.log: Not owner
chown: 2010_04_05_at_23_32_34_error.log: Not owner
chown: 2010_04_05_at_23_32_34_output.log: Not owner
chown: 2010_04_05_at_23_33_46_error.log: Not owner
chown: 2010_04_05_at_23_33_46_output.log: Not owner
chown: 2010_04_05_at_23_45_10_error.log: Not owner
chown: 2010_04_05_at_23_45_10_output.log: Not owner
chown: 2010_04_05_at_23_46_02_error.log: Not owner
chown: 2010_04_05_at_23_46_02_output.log: Not owner
chown: 2010_04_05_at_23_48_09_error.log: Not owner
chown: 2010_04_05_at_23_48_09_output.log: Not owner
chown: 2010_04_05_at_23_48_36_error.log: Not owner
chown: 2010_04_05_at_23_48_36_output.log: Not owner
-
Are we missing some auth for the same.
Thanks for the reply.
Regards
Piyush
Hi,
Login to Os with root user and do the following activity.
1. login to Os with root user
2. goto directory /usr/sap/EPD/JC01/j2ee/admin/
3. confirm the location using command PWD , output should be the above location.
4. change the permission as below
chown -R epdadm:sapsys log
chmod -R 775 log
once it is done , login to OS with EPDADM user and start visual admin
Thanks
Hi Anil,
I still got some issues after i changed the permissions for the epdadm user. The output which came is as below:
-
ceerpepd:epdadm 8% ./go
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
4/7/10 1:32 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)
... 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:234)
... 6 more
ceerpepd:epdadm 9%
-
I guess there is some issue with the Display....
Pl advise.
Thanks
Regards
Piyush
Hi,
try this ....
Login to Xmanager with epdadm and not with anyother user.
run the following command :-
bash
export DISPLAY=<ip address of desktop on which you call xmanager>:0.0
try to call visual admin..
if still same error , then try to access the server using PUTTY rather than XMANAGER.
Call server using PUTTY ( login with user epdadm )
run the following command
bash
export DISPLAY=<ip address of desktop on which putty is running>:0.0
try to call visual admin.
Thanks
Anil
Sorry to All for replying late as i was not in touch of network. I got resolved the issue by logging from SIDADM user, but still wonder why it was not letting in from root user id and then switching to SIDADM.
If any body can throw some light on the same, it would be much appreciable as comm members will get to know further about the same issue.
Many Thanks to the All Repliers.
Piyush
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.