|
From: Michael B. <mic...@we...> - 2010-11-25 14:37:05
|
Hi Leif! Thanks for the hint with the -c switch, I noticed the sample scripts that come with the wrapper distribution (StartTestWrapper-NT) use the -t switch by default, and that was the reason for it running in session 0. It now works as expected. Thanks you very much, Michael Am 25.11.2010 um 11:57 schrieb Leif Mortenson: Michael, If you launch the Wrapper in console mode then it should be in the current desktop. bin/wrapper.exe -c ../conf/wrapper.conf Please let me know how this works for you. Cheers, Leif 2010/11/25 Michael Böckling <mic...@we...<mailto:mic...@we...>>: Hi Leif, thanks for the reply. I m aware of this situation, thats why I use a workaround. I have an interactive user auto-logon on bootup and start the app in that user's session (as a regular process, not as a service). I simply would like to use the configuration model and the features of the wrapper (e.g. jvm auto-relaunch on OutOfMemoryException), I don't want to start my app as a service, I gave that up. Is there a way to do that? Even the normal start/stop scripts seem to launch my app in session 0, not just the install-as-service stuff. Regards, Michael Am 25.11.2010 um 04:02 schrieb Leif Mortenson: Michael, Unfortunately, Microsoft changed the way Windows handles Interactive services to improve security. It is no longer possible for a process running as a service to communicate with any desktop other than the session 0 desktop. We are working on a way to work around this but it is going to involve multiple processes and will NOT allow a normal Java application running as a service which has a GUI to display its GUI directly. This is still a little ways off however. It will involve launching secondary Wrapper and optionally Java processes in the individual desktop's user space that will interact with each desktop. These child processes will then communicate back to the central Wrapper and or JVM that is always running as a service. This is still in progress, so I would appreciate any feedback from the community on what they need in this area. Cheers, Leif 2010/11/25 Michael Böckling <mic...@we...<mailto:mic...@we...>>: Hi! I have a special case where I would like to run a java "service" in an interactive session (session 1) on a windows 7 box. Is this possible? Basically: how to use the wrapper without running the JVM in session 0. Any help is welcome. Regards, Michael Michael Böckling Westernacher Products & Services AG ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user Michael Böckling Westernacher Products & Services AG Telefon: +49 (0)711 72 25 95 33 E-Mail: mic...@we...<mailto:mic...@we...> Innovating Business & IT Westernacher Products & Services AG Königstraße 26 · 70173 Stuttgart Telefon: +49 711 72 25 95 0 Telefax: +49 711 72 25 95 99 Internet: www.westernacher.com<http://www.westernacher.com/> Amtsgericht Stuttgart HRB 733577 Vorstandsvorsitzender: Walter H. Büttner Vorstand: Dr. Michael Schäfer Vorsitzender des Aufsichtsrates: Dr.-Ing. Bernd Bergner Aufsichtsrat: Dr.-Ing. Martin Weiss M.S., Tino Jezewski Vertraulichkeitsklausel: Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie die Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail oder deren Inhalt ist nicht gestattet. |