xiaomingchen / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 0 forks source link

Windows Service Issue - Desktop Interaction Flag #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I also noticed that there is a small problem with JWebSocket service. It is 
installed with option "Interact with desktop" switch on by default.  But server 
actually do not need interaction with desktop.  This option leads to generation 
of regular errors in Windows 'System' log: 
'The jWebSocket Service service is marked as an interactive service.  However, 
the system is configured to not allow interactive services.  This service may 
not function properly.' 
If you start service 'Interactive Services Detection' these errors stop 
appearing. But this last service is disabled by default.

I think its better to improve jWebSocketInstallService32.bat so it would not 
set the problematic flag on.

Please notify forum user Boris once this is done. Thanks, Alex

Original issue reported on code.google.com by fivefeetfurther@gmail.com on 23 Dec 2010 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by fivefeetfurther@gmail.com on 23 Dec 2010 at 8:48

GoogleCodeExporter commented 9 years ago
To eliminate this behavior just add

sc config "jWebSocket Service" type= own

to jWebSocketInstallService32.bat

Original comment by boq...@gmail.com on 26 Dec 2010 at 5:53

GoogleCodeExporter commented 9 years ago
This has been fixed by adding the "non-interactive" option to the 
jWebSocketInstallServiceXX mode which is considered by exe4j in exactly the way 
you mean here! Thanks for the hint, this is done now!

Original comment by fivefeetfurther@gmail.com on 4 Mar 2011 at 3:21