-
July 13th, 2007, 09:48 PM
#1
Installing LS as a service in Windows 2003 [UPDATED: see last post in thread]
Hi,
I've just installed LS on a Windows 2003 server. LS works fine when launched as an application, but fails (LS webserver can't be found) when installed as a service (using the batch file provided) even when I have correctly configured wrapper.conf. I also don't get any errors in the logs. What could I be doing wrong?
Thank you.
Patrick
-
July 16th, 2007, 11:46 AM
#2
Hi Patrick
Consider that the provided installation script does not also start the Server.
It does not even install it for an automatical start after reboot
(this last feature can be changed through the "wrapper.ntservice.starttype" property).
Did you try to start it manually from Windows "services" list?
In case you did, then may you please attach (or send to support@lightstreamer.com) the wrapper.log and Lightstreamer.log files produced?
Dario
-
April 7th, 2008, 08:47 AM
#3
Was this ever resolved? I am too interested in managing Lightstreamer on Windows via a Windows service.
Chris
-
April 8th, 2008, 08:21 AM
#4
It seemed to be just a misunderstanding.
The "Install_LS_as_Service-NT.bat" adds the Server to the available services, ready to be started through the windows services manager (%SystemRoot%\system32\services.msc /s on my PC).
"peintre" presumably expected that "Install_LS_as_Service-NT.bat" would also run the Server.
So, I think that there's nothing to be resolved. Are you encountering any issues?
-
November 2nd, 2009, 11:28 PM
#5
Running LS as a Windows Service on Server 2008 64bit
I know the wrapper.exe (the Community version included at least) doesn't run 64bit Windows so I should use the SC.exe utility.
I can't quite figure the command out...Has anybody else done this successfully?
-
November 3rd, 2009, 12:13 PM
#6
Actually, SC.EXE requires to create a special executable with the right hooks, which wraps the batch file. So it could not be the most viable solution.
There exist some possible alternatives (one of which we will probably choose for a future release of Lightstreamer after some testing):
+ Instead of Java Service Wrapper, use YAJSW (http://yajsw.sourceforge.net/).
+ Instead of Java Service Wrapper, use Java Service Launcher (http://jslwin.sourceforge.net/).
+ Install the batch file as a service through the Windows Resource Toolkit (http://support.microsoft.com/kb/137890).
+ Upgrade to the paid version of Java Service Wrapper (http://wrapper.tanukisoftware.org/do...tLicenses.jsp).
-
June 8th, 2011, 11:46 AM
#7
With the release of Lightstreamer 4 the old service wrapper was substituted.
The new one supports 64 bit machines out of the box.
find more details about it in the LS_HOME/bin/windows/README.TXT file
-
November 3rd, 2011, 07:03 PM
#8
Hi,
I'm trying to install Lightstreamer Server version 4.0.1 build 1513.1.3 as service on windows server 2003 standard edition. I changed LS_HOME and JAVA_HOME in the ls.bat file. I executed the Start_LS_as_Application.bat and it was fine, but when I execute the Install_LS_as_Service-NT.bat the service is instaled correct but don't start. On the event viewer I can see that the service is trying to restart and the folowing logs is printed:
Event Type: Information
Event Source: nssm
Event Category: None
Event ID: 1008
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Started Install_LS_as_Service-NT.bat\..\LS.bat run for service Lightstreamer in Install_LS_as_Service-NT.bat\...
Event Type: Information
Event Source: nssm
Event Category: None
Event ID: 1023
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Killing process tree of process 2636 for service Lightstreamer with exit code 1
Event Type: Information
Event Source: nssm
Event Category: None
Event ID: 1027
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Killing PID 2636 in process tree of PID 2636 because service Lightstreamer is stopping.
Event Type: Information
Event Source: nssm
Event Category: None
Event ID: 1013
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Program Install_LS_as_Service-NT.bat\..\LS.bat for service Lightstreamer exited with return code 1.
Event Type: Information
Event Source: nssm
Event Category: None
Event ID: 1014
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Service Lightstreamer action for exit code 1 is Restart. Attempting to restart Install_LS_as_Service-NT.bat\..\LS.bat.
Event Type: Warning
Event Source: nssm
Event Category: None
Event ID: 1034
Date: 3/11/2011
Time: 16:34:39
User: N/A
Computer: SPOOLAPP0008
Description:
Service Lightstreamer ran for less than 1500 milliseconds. Restart will be delayed by 4000 milliseconds.
No log is generated by Lightstreamer itself.
Thanks,
Leonardo
-
November 4th, 2011, 09:00 AM
#9
can you please check in the logs folder under the lightstreamer installation: is there any log file there? Can you see any error message inside it?
-
November 7th, 2011, 03:19 PM
#10
Similar Threads
-
By Adrian Parker in forum Client SDKs
Replies: 2
Last Post: November 21st, 2011, 03:03 PM
-
By magnum_rg in forum General
Replies: 5
Last Post: August 9th, 2011, 05:52 PM
-
By wwatts in forum Adapter SDKs
Replies: 3
Last Post: June 8th, 2011, 11:42 AM
-
By indrajit in forum Client SDKs
Replies: 3
Last Post: March 3rd, 2008, 08:59 AM
-
By rufnex in forum General
Replies: 1
Last Post: August 22nd, 2007, 03:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:35 PM.
Bookmarks