Here a quick howto to install Lightstreamer as a service on a 64 bit windows machine. At the time of writing the latest version of the wrapper is 3.5.5.
You can use both the standard and the professional edition (see
http://wrapper.tanukisoftware.com/doc/english/download.jspfor a quick comparison or
http://wrapper.tanukisoftware.com/doc/english/properties.html for the details)
- download and unzip the package on the server machine ( http://wrapper.tanukisoftware.com/doc/english/download.jsp )
- run the WRAPPER_HOME/bin/GetHostId.bat file and copy the generated HostId (WRAPPER_HOME is the folder where the package was unzipped)
- go to http://wrapper.tanukisoftware.com/doc/english/accountServerLicenses.jsp , choose a license from the list, click "Generate Key" and compile the form (it will ask for the HostId).
Note that for the list of licenses to appear you must be logged and you must have purchased a license or requested a trial.
- download the generated license and copy its contents for later use
- copy the WRAPPER_HOME/bin/wrapper.exe file to LIGHTSTREAMER_HOME/bin/windows/ (LIGHTSTREAMER_HOME is obviously the folder where you have your Lightstreamer installation). Overwrite the current file.
- copy WRAPPER_HOME/lib/wrapper.jar and WRAPPER_HOME/lib/wrapper.dll to LIGHTSTREAMER_HOME/lib/native. Overwrite the current files.
- edit the LIGHTSTREAMER_HOME/conf/wrapper.conf file:
- add the following line as the first line of the file
#encoding=UTF-8
- configure JAVA_HOME and LS_HOME as explained in the comments.
- put the contents of the wrapper-license.conf file
- add the following line
wrapper.java.additional.auto_bits=TRUE
you can now run the LIGHTSTREAMER_HOME/bin/windows/Install_LS_as_Service.bat to install Lightstreamer as a service. It may need admistrator privileges to correctlty install the service.
you can also customize the wrapper.conf following the wrapper documentation:
http://wrapper.tanukisoftware.com/doc/english/properties.html
Please note that, at least with windows 7, you can't install the Lightstreamer server in
an user's folder, otherwise the installed service will not be able to run.
HTH