run as service

Questions and answers for all installation-related topics for Servoy products

run as service

Postby pogie.nocedo » Mon Mar 12, 2012 7:45 am

is there a parameter in wrapper.conf or an argument for wrapper.exe that I can start the service after calling install_server.bat without restarting the machine?
pogie.nocedo
 
Posts: 41
Joined: Tue Feb 07, 2012 1:55 am

Re: run as service

Postby Zuke » Fri Mar 16, 2012 11:35 am

If you add the following to the install_service.bat file at the end.

net start <name of you service as per wrapper.conf>

In our case this looks like

net start riscm_application_server

Regards
McCourt Cordingley (Zuke)
(Version: 6.0.6 - Windows 7 - SQL Server 2008 R2 - Backbox Linux)
Zuke
 
Posts: 153
Joined: Wed Jun 03, 2009 4:48 pm
Location: Newcastle Upon Tyne, UK

Re: run as service

Postby pogie.nocedo » Mon Mar 19, 2012 2:09 am

Zuke wrote:If you add the following to the install_service.bat file at the end.

net start <name of you service as per wrapper.conf>

In our case this looks like

net start riscm_application_server

Regards


Thanks Zuke! I appreciate the help. I found a parameter wrapper.exe -t. Have you tried to use it?
pogie.nocedo
 
Posts: 41
Joined: Tue Feb 07, 2012 1:55 am

Re: run as service

Postby Zuke » Mon Mar 19, 2012 2:00 pm

Hi

According to the Wrapper website
http://wrapper.tanukisoftware.com/doc/english/launch-win.html#standalone-usage
, the following switches can be used when starting the wrapper.

Code: Select all
-c  --console run as a Console application
  -t  --start   starT an NT service
  -a  --pause   pAuse a started NT service
  -e  --resume  rEsume a paused NT service
  -p  --stop    stoP a running NT service
  -i  --install Install as an NT service
  -it --installstart Install and sTart as an NT service
  -u  --update Update an installed NT service
  -r  --remove  Uninstall/Remove as an NT service
  -l=<code> --controlcode=<code> send a user controL Code to a running NT service
  -d  --dump    request a thread Dump
  -q  --query   Query the current status of the service
  -qs --querysilent Silently Query the current status of the service
  -h  --hostid  prints a list of HostIds which can be used to license this host.
  -v  --version print the wrapper's version information.


We dont use anything over and above the default setup.
But -t sounds like what your looking for.
McCourt Cordingley (Zuke)
(Version: 6.0.6 - Windows 7 - SQL Server 2008 R2 - Backbox Linux)
Zuke
 
Posts: 153
Joined: Wed Jun 03, 2009 4:48 pm
Location: Newcastle Upon Tyne, UK


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests

cron