-
August 21st, 2015, 06:25 AM
#1
Android sample doesn't work with local installation
Dear All,
I have downloaded the free version of Lightstreamer. Installed on Linux server and started. Downloaded the Android stock demo application. Compiled and works with push.lightstreamer.com however when I point to myserver which is listening on port 7070 it fails. Any clue on this? Any help is appreciated. Thanks in advance..
-
August 21st, 2015, 08:52 AM
#2
Hi ullas.d,
may I ask you if the client demo is running on a virtual device or on a real device? Did you mange to modify the "host" entry in the res/values/strings.xml resource with the new server address?
Gianluca
-
August 21st, 2015, 10:43 AM
#3
Thanks Gianluca,
Thanks for your reply. I am running it from a real device. I have modified the host entry. However I have noticed that in the installation there is no adapter named "DEMO" it is WELCOME instead. Though I I modified the same it is not working.
Rgds,
Ullas
-
August 21st, 2015, 10:48 AM
#4
Which version of Lightstreamer are you using?
-
August 21st, 2015, 10:53 AM
#5
Lightstreamer Server 6.0.1 build 1780
Starting Lightstreamer Server...
Please check logs for detailed information.
21.Aug.15 08:09:58,798 < INFO> Lightstreamer Server 6.0.1 build 1780
21.Aug.15 08:09:58,858 < INFO> Lightstreamer Server starting in Moderato edition.
21.Aug.15 08:09:59,000 < WARN> Only minimal JMX management support is available with the current license.
21.Aug.15 08:09:59,052 < INFO> Started RMI server for JMX on port 7788.
21.Aug.15 08:09:59,221 < INFO> Bound RMI Connector for JMX on port 7788 (communication on port 7788).
21.Aug.15 08:09:59,290 < INFO> Bound RMI Connector for Platform mbeans on port 7788 (communication on port 7788).
21.Aug.15 08:09:59,304 < INFO> SERVER pool size set by default at 10.
21.Aug.15 08:09:59,482 < WARN> THE MONITORING DASHBOARD IS NOT PASSWORD PROTECTED. Remember to protect it in production! For more details, see PRODUCTION_SECURITY_NOTES.TXT.
21.Aug.15 08:09:59,501 < INFO> Pump pool size set by default at 4.
21.Aug.15 08:09:59,662 < INFO> Loading Metadata Adapter for Adapter Set DEMO
21.Aug.15 08:09:59,662 < INFO> Loading Metadata Adapter for Adapter Set WELCOME
21.Aug.15 08:09:59,666 < INFO> Finished loading Metadata Adapter for Adapter Set DEMO
21.Aug.15 08:09:59,677 < INFO> Loading Data Adapter DEMO.QUOTE_ADAPTER
21.Aug.15 08:09:59,796 < INFO> StockQuotesDataAdapter ready.
21.Aug.15 08:09:59,797 < INFO> Finished loading Data Adapter DEMO.QUOTE_ADAPTER
21.Aug.15 08:09:59,982 < INFO> Finished loading Metadata Adapter for Adapter Set WELCOME
21.Aug.15 08:09:59,989 < INFO> Loading Data Adapter WELCOME.TELEMETRY
21.Aug.15 08:09:59,993 < INFO> WebTelemetryF1 Pronto
21.Aug.15 08:09:59,994 < INFO> Finished loading Data Adapter WELCOME.TELEMETRY
21.Aug.15 08:09:59,996 < INFO> Loading Data Adapter WELCOME.CHAT
21.Aug.15 08:09:59,999 < INFO> ChatDataAdapter ready
21.Aug.15 08:09:59,996 < INFO> Loading Data Adapter WELCOME.ROOMBALL
21.Aug.15 08:09:59,999 < INFO> Finished loading Data Adapter WELCOME.CHAT
21.Aug.15 08:09:59,999 < INFO> Loading Data Adapter WELCOME.STOCKS
21.Aug.15 08:10:00,014 < INFO> Finished loading Data Adapter WELCOME.ROOMBALL
21.Aug.15 08:10:00,036 < INFO> StockQuotesDataAdapter ready.
21.Aug.15 08:10:00,036 < INFO> Finished loading Data Adapter WELCOME.STOCKS
21.Aug.15 08:10:00,088 < INFO> Events pool size set by default at 4.
21.Aug.15 08:10:00,093 < INFO> Snapshot pool size set by default at 10.
21.Aug.15 08:10:00,107 < INFO> Selector pool size set by default at 4.
21.Aug.15 08:10:00,118 < INFO> Selector maximum load set by default at 0.
21.Aug.15 08:10:00,145 < INFO> Created selector thread: NIO TLS/SSL HANDSHAKE SELECTOR 1.
21.Aug.15 08:10:00,146 < INFO> Created selector thread: NIO TLS/SSL HANDSHAKE SELECTOR 2.
21.Aug.15 08:10:00,149 < INFO> Created selector thread: NIO TLS/SSL HANDSHAKE SELECTOR 3.
21.Aug.15 08:10:00,149 < INFO> Created selector thread: NIO TLS/SSL HANDSHAKE SELECTOR 4.
21.Aug.15 08:10:00,165 < INFO> Created selector thread: NIO WRITE SELECTOR 1.
21.Aug.15 08:10:00,166 < INFO> Created selector thread: NIO WRITE SELECTOR 2.
21.Aug.15 08:10:00,167 < INFO> Created selector thread: NIO WRITE SELECTOR 3.
21.Aug.15 08:10:00,168 < INFO> Created selector thread: NIO WRITE SELECTOR 4.
21.Aug.15 08:10:00,176 < INFO> Created selector thread: NIO READ SELECTOR 1.
21.Aug.15 08:10:00,177 < INFO> Created selector thread: NIO READ SELECTOR 2.
21.Aug.15 08:10:00,178 < INFO> Created selector thread: NIO READ SELECTOR 3.
21.Aug.15 08:10:00,179 < INFO> Created selector thread: NIO READ SELECTOR 4.
21.Aug.15 08:10:00,180 < INFO> Created selector thread: NIO CHECK SELECTOR 1.
21.Aug.15 08:10:00,181 < INFO> Created selector thread: NIO CHECK SELECTOR 2.
21.Aug.15 08:10:00,182 < INFO> Created selector thread: NIO CHECK SELECTOR 3.
21.Aug.15 08:10:00,183 < INFO> Created selector thread: NIO CHECK SELECTOR 4.
21.Aug.15 08:10:00,189 < INFO> Lightstreamer Server on Java Virtual Machine: Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM, 24.79-b02, 1.7.0_79-b15 on Linux
21.Aug.15 08:10:00,191 < INFO> Lightstreamer Server 6.0.1 build 1780 starting...
-
August 21st, 2015, 10:55 AM
#6
Please also consider that starting from Lightstreamer Server v6.0, demos are no longer available from local installation, but you have to download and deploy them from our GitHub repository. Here you can find the Stock List Demo to deploy on your local installation.
-
August 21st, 2015, 11:08 AM
#7
I have installed the StockList adapter as well . removed the wecome_res folder under adapter and pages. Still no luck. Let me check if it works with 6.0
-
August 21st, 2015, 11:13 AM
#8
You can leave welcome_res under adapters and pages. You have only to deploy the Stock List Demo Adapter under the adapters folder, as described in the url of my previous post.
Please let us know.
-
August 21st, 2015, 11:17 AM
#9
-
August 21st, 2015, 11:49 AM
#10
Ok ullas.d.
First of all, let's check your connectivity from your real device:
- start the Lightstreamer server
- open stock browser (or any other browser) on your device and digit the following address:
<server_ip_on_your_local_network>:7070
then get back to us.
Please also give us more details about your network configuration, for example how did you set up communication between smartphone and local machine? Are you using a local wifi connection?
Similar Threads
-
By ffiisshh in forum General
Replies: 1
Last Post: March 29th, 2012, 10:14 AM
-
By msgiribabu in forum General
Replies: 1
Last Post: January 11th, 2011, 08:58 AM
-
By kumar117 in forum General
Replies: 3
Last Post: June 11th, 2010, 09:45 AM
-
By tuongkha in forum Adapter SDKs
Replies: 4
Last Post: January 30th, 2008, 01:47 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 05:15 PM.
Bookmarks