-
February 23rd, 2017, 07:36 AM
#1
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
-
February 23rd, 2017, 08:05 AM
#2
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
-
February 23rd, 2017, 08:13 AM
#3
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 08:21 AM.
-
February 23rd, 2017, 09:22 AM
#4
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
-
February 23rd, 2017, 10:02 AM
#5
Hi,
Thanks it is working fine now. Thanks for your fast response and help.
-
February 23rd, 2017, 12:27 PM
#6
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.
-
February 24th, 2017, 08:44 AM
#7
Hi rvkvino,
please send an email to support@lightstreamer.com.
Thanks and Regards
Gianluca
Similar Threads
-
By webmons in forum Adapter SDKs
Replies: 3
Last Post: March 7th, 2013, 09:30 AM
-
By joshi_s_p in forum Client SDKs
Replies: 3
Last Post: January 4th, 2012, 08:30 AM
-
By khalil78 in forum Adapter SDKs
Replies: 2
Last Post: April 4th, 2008, 07:38 PM
-
By Hanumant in forum Adapter SDKs
Replies: 3
Last Post: January 29th, 2008, 03:42 PM
-
By shobha in forum Adapter SDKs
Replies: 4
Last Post: August 13th, 2007, 01:32 PM
Tags for this Thread
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 02:14 AM.
Bookmarks