|
From: Christian <chr...@ta...> - 2010-06-23 10:55:58
|
Hallo Peter, this is as Leif mentioned earlier because of the changed windows service policy. Starting with Windows Vista services run isolated in session 0, which is basically a desktop exclusively for services. Prior to that the first logged in user had session 0, the second user session 1 etc. http://msdn.microsoft.com/de-de/library/aa480152.aspx#ID0EFZAE We had already some internal discussions here on how to resolve this and got a resolution which shows quite promise (initial tests showed good results), however it will still take a bit until this is finalized implemented. Sincerely, Christian On Wed, 2010-06-23 at 11:54 +0200, Peter Dahm wrote: > It works with xp but not with windows7 > > -----Ursprüngliche Nachricht----- > Von: Peter Dahm [mailto:pd...@it...] > Gesendet: Mittwoch, 23. Juni 2010 09:03 > An: wra...@li... > Betreff: Re: [Wrapper-user] Service and GUI > > Thanks for this information. > > For a normal swing app it works fine. > > But inside my wrapper it doesn't work. I can't see the tray icon. I wrote my > own wrapper class and inside the start-methode I try to set the tray icon. > My lock said thats erverything is fine (tray is supported ..) but it's not > showing the icon. > > Do you have any idea about this problem ? > > peter > > -----Ursprüngliche Nachricht----- > Von: Juan Sanchez [mailto:jsa...@pu...] > Gesendet: Dienstag, 22. Juni 2010 20:52 > An: wra...@li... > Betreff: Re: [Wrapper-user] Service and GUI > > you say a System Tray Icon ? I did one with the Wrapper, but it is not a > issue of Wrapper. In your Java code (at the begining of your main class) > you have to invoke the SystemTray class (find in google examples) and in > the Wrapper you have to configure to Auto_Start and when you install the > service and restart the PC you can see the Icon in the task bar with the > menus you configured. > It´s important to say that when the PC have too much process to load > (too many icons in task bar) sometimes the icon of your service doesn´t > appear. but the service is running. It is a Windows problem. It is not a > problem of Java non Wrapper. > I hope helped you, bye > > JS > > > Peter Dahm escribió: > > Hi, > > > > If it's possible I would like to start a complex swing application for the > > service process. > > > > If it is not possible, we can live with a icon in the statusbar to restart > > the service. > > > > Something between would be fine. Do you have any kind of documentation or > > link how to implement a icon (with menu) in the windows symbol task bar? > > > > Thanks > > > > Peter > > > > > > -----Ursprüngliche Nachricht----- > > Von: Leif Mortenson [mailto:lei...@ta...] > > Gesendet: Montag, 14. Juni 2010 09:14 > > An: wra...@li... > > Betreff: Re: [Wrapper-user] Service and GUI > > > > Peter, > > Yes and No. > > > > Yes, because you can use the status bar feature of Java 6 to do > > exactly what you want when the Service is installed with the > > wrapper.ntservice.interactive=TRUE property set. > > > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-interactive.htm > > l > > > > No, because starting with Windows Vista and 2008, Microsoft no longer > > allows Services to interact directly with the desktop. > > > > We are working on a way to work around this so I would appreciate > > hearing any feedback on exactly what it is that you need to be able to > > do with the status icon. > > > > Cheers, > > Leif > > > > On Mon, Jun 14, 2010 at 3:48 PM, Peter Dahm <pd...@it...> wrote: > > > >> Hi, > >> > >> > >> > >> Im new to java service wrapper and we check this tool to integrate in > our > >> project. > >> > >> > >> > >> Is it possible to integrate the tool in an application that needed a gui > ? > >> > > I > > > >> would like to have a icon in the windows toolbar to start the gui > >> > > component > > > >> of my application/service > >> > >> > >> > >> Regards > >> > >> > >> > >> Peter > >> > > > > > ---------------------------------------------------------------------------- > > -- > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > ---------------------------------------------------------------------------- > -- > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > ---------------------------------------------------------------------------- > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ---------------------------------------------------------------------------- > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |