Hi Paolo,
In the log there is no evidence of the create_request request incoming from the client.
This means, unless you changed the log level for LightstreamerLogger.requests logger, that the client attempts to open the session towards a different endpoint than localhost:8080.
I confirm that you should check the client page code and in particular:
Regards,Code:var client = new LightstreamerClient(null,"PROXY_HELLOWORLD");
Giuseppe
Thank you Giuseppe.
There is no such line in my index.html file (I enclose a simplified version: it was taken from the old installation).
I think that calls have changed with the new version.
By the way: the old version refers to "lscommons.js" and "lspushpage.js": I think they should be files in the Lighstreamer\pages folder, but they are not there.
Maybe you have a new skeleton for the html file, but I could not find it in your site.
Thanks for your help!
Paolo
Hi Paolo,
You can find the new version of the HelloWorld client example on GitHub: https://github.com/Lightstreamer/Lig...ent-javascript.
It relies on the new JavaScript Client library that implies changes in both the JS code and in the HTML definition of the cells.
However I expect that should not be a dramatic work to update your page.
Alternatively, it should be sufficient restore in the /pages folder of the new server the exact structure of the old page, with all the .js and .css files linked in the code.
Regards,
Giuseppe
Dear Giuseppe,
unfortunately I cannot understand why my application does not work after many trials, and I ask if you can try it for me.
In my attachment you may find my files.
LSadapter.exe is my adapter, that needs some files to work: please make the folder c:\LSadapter and copy LSadapter.INI in it. The executable also requires DotNetAdapter.dll and .pdb and lod4net.dll in the same folder as the executable. I do not send them because they were taken from the standard Lighstreamer installation.
The adapters folder contains my lightstreamer\adapters folder and the pages folder contains my test page in the lightstreamer\pages folder. This is a new version of the page, made from your last demo. I already sent you the old version of the page, that worked for years but not with Lightstreamer 6.0.3
Thank you very much for your help!!
Paolo
I wrote lod4net.dll, obviously it is log4net.dll...
Hi Paolo,
I confirm that I was able to run succesfuly your page with my local 6.0.3 installation.
The only step performed, in addition to those listed in your post, is to copy the file of the JavaScript library, lightstreamer.js, in the same folder as the indexN.html (lightstreamer\pages).
Then from my browser open: http://localhost:8080/indexN.html
Regards,
Giuseppe
Thank you Giuseppe, NOW IT WORKS!
Switching to 6.0.3, we would not like to adapt our existing Internet pages with the new sintax, it is preferable to leave the ones that worked with the previous version of Lighstreamer. I see that the Javascript code in the pages uses: LScommons.js, LSpushpage.js and misc.js. Should I copy these files to the same folder as the HTML pages? These files are not present in the distribution of Lighstreamer 6.0.3, should I take them from an older distribution?
Thank you! Paolo
Bookmarks