|
From: <vit...@ma...> - 2005-05-10 12:28:46
|
Hi, I have a strange behavior then use the wrapper as NT service. Then service is up - I create the systrayj4 application (swing applet, that simply add the icon to task bar). It work nice still I use wrapper.ntservice.starttype=DEMAND_START(start and stop service manually)). Then I change it to AUTO_START, and then restart my comp, sometimes, the applet (icon) is invisible (but process is work). I guess, I need catch a LOGIN_EVENT (if it has), because the java security does not know about logged in user... (Maybe it's a wrong suggestion). I use wrapper 3.1.2 run on w2k professional (jdk 1.4.2) My NT config properties: #******************************************************************** # Wrapper NT Service Properties #******************************************************************** # WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.ntservice.name=IBPAgent # Display name of the service wrapper.ntservice.displayname=iBOLTPortal Agent # Description of the service (Win 2000 and XP , not in NT) wrapper.ntservice.description=iBOLTPortal Agent # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop (GUI enable). wrapper.ntservice.hide-console=false wrapper.ntservice.interactive=true wrapper.ntservice.console=true wrapper.on_exit.default=RESTART wrapper.shutdown.timeout=90 wrapper.startup.timeout=90 # Triggers wrapper.filter.trigger.1= Started in wrapper.filter.action.1=NONE wrapper.console.title=iBOLTPortal Agent Thank's Regards, Vitaly Davidoff |