coyote7000
I have followed the instructions for creating a .Net data adapter using C#.
Everything seems to be working fine but I get no data shown in the WebClient page.
Page output:
loading...
loading...
Starting Lightstreamer Server...
Please check logs for detailed information.
01.Apr.09 11:48:52,438 < INFO> This is a trial version.
01.Apr.09 11:48:53,483 < INFO> Lightstreamer Server starting in Vivace edition
01.Apr.09 11:48:53,610 < INFO> Started HTML Adaptor for JMX on port 6666
01.Apr.09 11:48:53,683 < INFO> Started JMXMP Connector for JMX on port 9999
01.Apr.09 11:48:53,839 < INFO> data_provider element without name attribute; using DEFAULT as the de
fault name
01.Apr.09 11:48:53,841 < INFO> Loading Metadata Adapter DEMO
01.Apr.09 11:48:53,857 < INFO> Loading Data Adapter DEMO.MONITOR
01.Apr.09 11:48:53,857 < INFO> Loading Data Adapter DEMO.QUOTE_ADAPTER
01.Apr.09 11:48:53,858 < INFO> Loading Data Adapter DEMO.PORTFOLIO_ADAPTER
01.Apr.09 11:48:53,858 < INFO> Finished loading Data Adapter DEMO.MONITOR
01.Apr.09 11:48:53,857 < INFO> Loading Data Adapter DEMO.CHAT_ROOM
01.Apr.09 11:48:53,858 < INFO> Loading Metadata Adapter PROXY_HELLOWORLD
01.Apr.09 11:48:53,858 < INFO> Loading Data Adapter DEMO.SIMPLE_MESSENGER
01.Apr.09 11:48:53,858 < INFO> Loading Data Adapter PROXY_HELLOWORLD.DEFAULT
01.Apr.09 11:48:53,991 < INFO> PortfolioDataAdapter ready
01.Apr.09 11:48:53,992 < INFO> Finished loading Metadata Adapter PROXY_HELLOWORLD
01.Apr.09 11:48:53,992 < INFO> Finished loading Data Adapter DEMO.PORTFOLIO_ADAPTER
01.Apr.09 11:48:54,016 < INFO> Finished loading Data Adapter DEMO.QUOTE_ADAPTER
01.Apr.09 11:48:54,020 < INFO> Connecting...
01.Apr.09 11:48:54,021 < INFO> Waiting for a connection on port 6662...
01.Apr.09 11:48:54,021 < INFO> Waiting for a connection on port 6661...
01.Apr.09 11:48:54,032 < INFO> IMDataAdapter ready
01.Apr.09 11:48:54,032 < INFO> MixedMetadataAdapter ready
01.Apr.09 11:48:54,032 < INFO> Finished loading Data Adapter DEMO.SIMPLE_MESSENGER
01.Apr.09 11:48:54,032 < INFO> ChatDataAdapter ready
01.Apr.09 11:48:54,032 < INFO> Finished loading Metadata Adapter DEMO
01.Apr.09 11:48:54,033 < INFO> Finished loading Data Adapter DEMO.CHAT_ROOM
01.Apr.09 11:49:06,234 < INFO> Connected on port 6661
01.Apr.09 11:49:06,235 < INFO> Connected on port 6662
01.Apr.09 11:49:06,236 < INFO> Connected
01.Apr.09 11:49:06,236 < INFO> Finished loading Data Adapter PROXY_HELLOWORLD.DEFAULT
01.Apr.09 11:49:06,344 < INFO> Pump pool size set by default at 4
01.Apr.09 11:49:06,388 < INFO> Notify receiver '#1' starting...
01.Apr.09 11:49:06,445 < INFO> Request sender '#1' starting...
01.Apr.09 11:49:06,446 < INFO> Reply receiver '#1' starting...
01.Apr.09 11:49:06,447 < INFO> Events pool size set by default at 4
01.Apr.09 11:49:06,458 < INFO> Lightstreamer Server 3.5 build 1428.4 starting...
01.Apr.09 11:49:06,688 < INFO> Server "Lightstreamer HTTP Server" listening to *:8080 ...
<div source="lightstreamer" table="helloTable" item="greetings" field="message">
loading...</div>
<div source="lightstreamer" table="helloTable" item="greetings" field="timestamp">
loading...</div>
</form>
<script type="text/javascript" language="javascript">
document.lightstreamerPage = new PushPage();
// The web server host name is the one contained in the url by which you recall the pages.
// Lightstreamer Server host name is the name you supply to "setLSHost".
document.lightstreamerPage.context.setDomain("lightstreamer.localhost");
document.lightstreamerPage.onEngineCreation = function(engine) {
// put your configuration code here
engine.connection.setAdapterName("PROXY_HELLOWORLD");
engine.changeStatus("STREAMING");
}
document.lightstreamerPage.bind();
document.lightstreamerPage.createEngine("HelloWorldApp", "LS", "SHARE_SESSION");
//var group = ["greetings"];
//var schema = ["message", "timestamp"]
//var pushTable = new OverwriteTable(group, schema, "MERGE");
var pushTable = new OverwriteTable(null, null, "MERGE");
document.lightstreamerPage.addTable(pushTable, "helloTable");
</script>
What could be happening?
kishorekkk
HI,
i am using SmartDataProvider
there is no errors in server console, listener.smartupdate method is also invoking but data is not updating in front end screen what might be the reason
even after adding the above two lines also it is not working