Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2009
    Location
    Mortlake
    Posts
    5

    Lightstreamer crashes running in Linux but same code works in Windows

    I have written a .Net adaptor on my Windows PC, and I'm running it in a linux environment (Ubuntu Intrepid Ibex) using Mono. The adaptor is very simple, it queries a database and sends a message out to Lightstreamer.

    In Windows if I start the adaptor and Lightstreamer the two are able to talk to each other and message sending seems to work fine. However under Linux Lightstreamer will crash apparently after establishing a connection with the adaptor. The adaptor seems to be working just fine.

    Any suggestions would be appreciated.

    Thanks,
    Craig

    The stack trace is as follows:

    02.Jul.09 11:29:56,603 < INFO> Lightstreamer Server 3.5 build 1428.4 starting...
    02.Jul.09 11:29:56,631 < INFO> Server "Lightstreamer HTTP Server" listening to *:8080 ...
    02.Jul.09 11:29:58,510 <FATAL> I/O Exception caught while reading/writing from/to streams: null, aborting...
    java.io.EOFException
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(NotifyReceiver.java:80)
    02.Jul.09 11:29:58,606 <FATAL> I/O Exception caught while reading/writing from/to streams: null, aborting...
    java.io.EOFException
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(NotifyReceiver.java:80)
    02.Jul.09 11:29:58,607 <FATAL> I/O Exception caught while reading/writing from/to streams: null, aborting...
    java.io.EOFException
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(NotifyReceiver.java:80)
    02.Jul.09 11:29:58,608 <ERROR> Failure invoked by Data Adapter
    java.io.EOFException
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(NotifyReceiver.java:80)
    02.Jul.09 11:29:58,609 <FATAL> Failure in a Data Adapter
    02.Jul.09 11:29:58,609 < INFO> Exiting.....
    02.Jul.09 11:29:58,610 <ERROR> Failure invoked by Data Adapter
    java.io.EOFException
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(NotifyReceiver.java:80)
    02.Jul.09 11:29:58,610 <FATAL> Failure in a Data Adapter
    02.Jul.09 11:29:58,610 < INFO> Exiting.....

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    The log from Lightstreamer Server indicates that the Remote Server process (which runs the Remote Adapter) closes first.
    Can you see the Remote Server process still alive after the Server crash? This would be strange as well; at least, the Remote Server should notice the connection break.

 

 

Similar Threads

  1. Replies: 2
    Last Post: August 22nd, 2011, 09:25 AM
  2. LS table how it works
    By betasec in forum Client APIs
    Replies: 1
    Last Post: February 21st, 2011, 11:03 AM
  3. Replies: 1
    Last Post: April 1st, 2009, 10:41 AM
  4. Replies: 1
    Last Post: November 5th, 2007, 02:36 PM
  5. Running Lightstreamer Web Client : Permission Denied
    By cbradbury in forum Client APIs
    Replies: 1
    Last Post: February 5th, 2007, 07:32 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 08:41 AM.