If you don't need the UI, then you can convince java to not require a display. Google for "java headless" to get pointers.
Matt On 1/30/2013 4:37 PM, William Chan wrote: > Actually, the service is just a JMS consumer, it doesn't require UI. When > it receive a message, it calls an external application which needs X11. > There is actually nothing shows on display. > > On 1/30/13 4:26 PM, "Rich Pieri" <richard.pi...@gmail.com> wrote: > >> On Wed, 30 Jan 2013 13:05:03 -0800 >> William Chan <wic...@adobe.com> wrote: >> >>> I have my service #chkconfig 5 99 37 since my service needs x11 >> >> If it requires X11 then it isn't a service. It's an X11 application. It >> will never run as a service as long as it requires an active X11 server. >> >> I suggest separating the service from the UI. This way you can run the >> service as a service and the UI as a UI. >> >> -- >> Rich P. >> _______________________________________________ >> Discuss mailing list >> Discuss@blu.org >> http://lists.blu.org/mailman/listinfo/discuss > > _______________________________________________ > Discuss mailing list > Discuss@blu.org > http://lists.blu.org/mailman/listinfo/discuss > _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss