Results 1 to 10 of 16

Hybrid View

  1. #1

    Post How to start the lightstreamer server locally and configuring it on windows platform?

    please provide an update on how to start the lightstreamer server locally and also help in configuring it!

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Vinayak Singh,

    Detailed instructions for a quick setup of Lightstreamer server are contained in the file GETTING_STARTED.TXT that you can find in the Lightstreamer home directory.
    Anyway, for a brief recap; first, you'll need to download the Lightstreamer server from the official website (https://www.lightstreamer.com/download/). Once you have downloaded the server, you can follow these steps to start it locally:

    1. Extract the contents of the downloaded file to a directory of your choice.
    2. Configure Java. If a JAVA_HOME variable is not available in your environment, edit the "LS.bat" file under the "bin\windows" directory and set JAVA_HOME according to the Java SE installations available.
    3. Open a command prompt or terminal window and navigate to the "bin\windows" directory of the Lightstreamer server.
    4. Run the command "Start_LS_as_Application.bat". There are also the "Stop_LS_as_Application.bat" and "Restart_LS_as_Application.bat" to stop and restart your Lightstreamer server.
    4b. We also provide (in the same folder "bin\windows") the scripts to configure the Ligthstreamer server as a Windows service: "Install_LS_as_Service-NT.bat" and "Uninstall_LS_as_Service-NT.bat".
    The Lightstreamer server will start and begin listening for connections on port 8080 by default.

    That's it! You now have a running instance of the Lightstreamer server on your local machine.
    To configure the Lightstreamer server, you can modify the "lightstreamer_conf.xml" file located in the "conf" directory of the server.
    This file contains various configuration options for the server and there are inline comments providing documentation related to each parameter.

    Please let us know if you need any further clarifications.

    Regards,
    Giuseppe

  3. #3
    Thank you for your reply giuseppe, i have already done that. Now i want to run the server directly thorough local host or through the java file like setting up a remote server without using the command "Start_LS_as_Application.bat"

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Vinayak Singh,

    Sorry, but I'm not sure I understand what exactly your needs are.

    The minimal command to launch the Ligthstreamer server without use one of our scripts is:
    1. Open a command prompt or terminal window and navigate to the home directory of the Lightstreamer server.
    2. Run the command "java -cp "lightstreamer.jar;lib/*;lib/log/*;lib/core/*;lib/adapters/*;lib/proxy/*" com.lightstreamer.LS conf\lightstreamer_conf.xml" to start the server.
    3. The Lightstreamer server will start and begin listening for connections on port 8080 by default.

    In any case, please go through the LS.bat command file in "bin\windows", to double check all the system and environment configuration we apply.

    But I don't know if this is what you really wanted to know, or maybe you needed more information on the possibility of launching Lightstreamer as a windows service or as a docker image.

    Regards,
    Giuseppe

  5. #5
    Hi Giuseppe

    I just wanted to make things clear to you that I want to run my project using lightstreamer where I want to use maven to build my project and upon building i want use the lightstreamer remotely if the project can trigger the server client request using lightstreamer remotely.

    If u know how to setup the lightstramer server within the server and upon running the project the lightstreamer server goes online please let me know about the configuration and commands.

    Regards,
    Vinayak singh

  6. #6
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Vinayak Singh,

    A typical deployment scenario of an application that uses Lightstreamer for real-time data is the one shown here:

    https://github.com/Lightstreamer/Lig...t-architecture

    The Lightstreamer server is placed in a wider architecture and generally interacts with system, network, etc. components. which can be the most varied from case to case.
    In particular, as regards the development of code, an integrator must develop both server-side components, a Data Adapter that will interface with the data source from the back-end and the Metadata Adapter that will interface with the authentication and authorization systems.
    And client side components integrating Lightstreamer client libraries available in data applications that want to consume real-time data.

    Furthermore, the Lightstreamer server must be configured according to the type of architecture present; for example if it has to manage the TLS directly or there is an offloading mechanism, if there is a cluster of multiple instances or just one, ...

    So, there are no standard mechanisms that perform configuration and deployment of the Lightstreamer server; but they must be customized and integrated according to the existing scenario.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Configuring Lightstreamer with SSL Certificate
    By hakankecelioglu in forum General
    Replies: 1
    Last Post: May 21st, 2015, 09:48 AM
  2. Replies: 3
    Last Post: January 24th, 2011, 08:48 AM
  3. Server start fails on Windows
    By UweF in forum General
    Replies: 1
    Last Post: November 19th, 2010, 11:41 AM
  4. newbie ask: Web client by pre-installed locally?
    By chenxun in forum Client SDKs
    Replies: 1
    Last Post: July 1st, 2010, 02:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:18 AM.