Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #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..

  2. #2
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    150
    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

  3. #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

  4. #4
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    150
    Which version of Lightstreamer are you using?

  5. #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...

  6. #6
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    150
    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.

  7. #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

  8. #8
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    150
    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.

  9. #9
    Sorry No Luck....

  10. #10
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    150
    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

  1. Initial Installation
    By ffiisshh in forum General
    Replies: 1
    Last Post: March 29th, 2012, 10:14 AM
  2. how to configure lightstreamer server on local pc
    By msgiribabu in forum General
    Replies: 1
    Last Post: January 11th, 2011, 08:58 AM
  3. Need to setup a local demo
    By kumar117 in forum General
    Replies: 3
    Last Post: June 11th, 2010, 09:45 AM
  4. Replies: 4
    Last Post: January 30th, 2008, 01:47 PM

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 12:05 PM.