Results 1 to 10 of 10

Thread: Gwt demo

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2013
    Location
    Havana
    Posts
    6

    Gwt demo

    Having trouble to run properly the gwt demo done everything it says on the read me file but only get the page with the logo and text but no autogenerated numbers(the part that conects to the server), also cant debug ,it doesnt stop on break points ,please help me run the demo ,i have the moderato version of the lightstreamer

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi ylcoca,

    The scenario you describe, the page load with only the Lighstreamer logo and title/text but no grid with real-time data, is what we expect if you use in the browser a URL like this:
    "http://127.0.0.1:xxxx/GWT_StockListDemo_Basic.html?gwt.codesvr=127.0.0.1 :xxxx"

    please note that for correct load of the GWT demo you should remove the query string, eg.
    "http://127.0.0.1:xxxx/GWT_StockListDemo_Basic.html"

    If this is not your case please can you confirm me if at the top left of the page you can see the Lighstreamer Status widget and what does it displays?

  3. #3
    Member
    Join Date
    Jul 2013
    Location
    Havana
    Posts
    6

    Hello giuseppe

    Yes i have used the url as you said on the reply and have done as it says on the read me file but first of all the status widget doesn't appears ,i have seen on the examples shown on the lightstreamer demos i have downloaded that in should have the status of the server ,im not able to see this ;its like its only loading the html page of the project and it is not able to listen the server ,that is quite weird because the server is runing ,prove of that is that i can see the demos that are default with lightstreamer.thanks

    note:I have not been toying with the server configuration it is as was when downloaded

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi ylcoca,

    in your case it seems that the problem happens before contacting the Lighstreamer server , but the GWT servlet container for some reason can not succeed in running your generated code.

    Have you changed the name of the Java class that implements the GWT EntryPoint (GWT_StockListDemo_Basic)?
    Can you check if in the html file with the layout of the demo, the reference to the compiled module js is correct?
    HTML Code:
    <script type="text/javascript" language="javascript" src="gwt_stocklistdemo_basic/gwt_stocklistdemo_basic.nocache.js"></script>

  5. #5
    Member
    Join Date
    Jul 2013
    Location
    Havana
    Posts
    6

    Hello giuseppe

    No i have not change the name of the java class and yes the reference to the compiled module js is correct!I also came to conclusion that it is not being connected to the server but don't know why.

  6. #6
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi ylcoca,

    I can confirm that from your description we can conclude that the demo stops before contacting the Lightstreamer server. The issue is with the servlet container that fails to execute the GWT code.

    To understand why we should proceed with further investigation:
    - Could you confirm that your servlet container runs under Eclipse?
    - "GWT Compile project" completes successfuly?
    - Which version of the Google plugin is in use?
    - Could you report the contents of the browser console?

    Thank you,
    Giuseppe

 

 

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:56 AM.