08-11-2009
5,
0
Join Date: Aug 2009
Last Activity: 11 August 2009, 2:58 AM EDT
Posts: 5
Thanks Given: 0
Thanked 0 Times in 0 Posts
Help on X Window service
Hi,
Need some help on the below issue or providing a pointer also would help
We have an application which will run as a service in Solaris (Sun4v) SPARC (The application will be displaying the popup messages).
For the service we are setting the display. As soon as the service starts we will get the popup messages.
But if we reboot the machine, the service for the application is online before the X Server comes up (May not be able to find the X Window Server), and the popup is not coming once the user log's into the machine.
Tried to set the Dependency with the X11-Server, but the Service is always in maintenance mode.
We are getting the following exception:
Could not initialize class sun.awt.X11GraphicsEnvironment
Is there any X Window service, we can set the dependency (or) is there any API in java to check whether the Graphics display is up (or) not?
Thanks,
Narendra