Results 1 to 7 of 7
  1. #1
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121

    Create runnable jar for remote java adapter

    I have completed the works in adapter, in my local machine I can run the adapter by using eclipse and can check it in client page. Now I need to move to real server. I have installed the LS server, and now I need to run my remote adapter. How to export runnable jar file from eclipse and how to run the jar file in command mode. Please help anybody. I had refered the below example but I couldn't understand because they given in fully command mode to create jar. I need to create jar from eclipse. https://github.com/Lightstreamer/Lig...a-remote#build

  2. #2
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi rvkvino,

    from your eclipse workspace, simply right click on the remote adapter project and then select "Export->Jar File".

    Please let us know if it helps.

    Thanks and Regards,
    Gianluca

  3. #3
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    I exported the jar file from my project as you mentioned. But I need assist to run this jar file. I exported my jar file as LS_quote_feed_simulator.jar
    Last edited by rvkvino; February 23rd, 2017 at 09:21 AM.

  4. #4
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Provided that your remote java adapter has all required logic to activate a server process (along with right handling of command line options), you should run the jar in a similar way as already shown int the demo you mentioned:

    java -cp ./lib/ls-adapter-remote.jar;./lib/<your_remote_adapter_jar_file>.jar; <your_remote_adapter_main_class> -host localhost -metadata_rrport <metadata_adapter_requet_reply_port> -data_rrport <dataadapter_request_reply_port> -data_notifport <dataadapter_notifyport>


    Please let us know.

    Thanks and Regards,
    Gianluca

  5. #5
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    Hi,
    Thanks it is working fine now. Thanks for your fast response and help.

  6. #6
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    121
    We purchased the Light streamer Evaluation Licence, They have specified the Client ID and given the settings to update in conf/lightstreamer_version_conf.xml. By the instruction i have update the version_conf.xm file. I updated like below details, But still the LS logo appears in the top left corner in my site.To configure the license, edit "conf/lightstreamer_version_conf.xml" and set <type> to LICENSE_SERVER and in the <license_server> section set <client_id> to <My_license_key> (leave the password blank). Then set the <edition> parameter in the <license_server> section to Allegro.

    You should also change the <automatic_audit_upload> flag to N, in order to avoid sending to our servers any log files produced by the Lightstreamer instances. Please help to remove the logo.

  7. #7
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi rvkvino,

    please send an email to support@lightstreamer.com.

    Thanks and Regards
    Gianluca

 

 

Similar Threads

  1. Newbie Java Remote Adapter question
    By webmons in forum Adapter SDKs
    Replies: 3
    Last Post: March 7th, 2013, 10:30 AM
  2. where to download Java SE Client jar file
    By joshi_s_p in forum Client SDKs
    Replies: 3
    Last Post: January 4th, 2012, 09:30 AM
  3. create .jar with .class
    By khalil78 in forum Adapter SDKs
    Replies: 2
    Last Post: April 4th, 2008, 08:38 PM
  4. How to create Data Adapter?
    By Hanumant in forum Adapter SDKs
    Replies: 3
    Last Post: January 29th, 2008, 04:42 PM
  5. Unable to create New DotNET Adapter
    By shobha in forum Adapter SDKs
    Replies: 4
    Last Post: August 13th, 2007, 02:32 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 04:52 PM.