Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13

    Question GETTING_STARTED.TXT doubts

    Hi,

    firts of all, let me introduce my self.
    I have recently signed as a member of Lightstreamer Community and i'm very interested in Lightstreamer's technology.
    My name is Rafael and i'm Brazilian. (forgive my english, but i haven't been improving it since i finished an English course) .
    Nowadays, i'm working with .NET, having applications in C# with Atlas and, i hope have some applications with C#, Atlas and LightStreamer...

    Last night, i got the Evaluation license, pasted my ClientID into lightstreamer_conf.xml and changed the paths into LS.bat file.
    My first doubt is, what's the JAVA_OPTS configuration? I didn't changed mine...
    but i think this is not my problem...

    Did all the things writen in GETTING_STARTED.txt file (at least i think i did... )
    and when i start de application (Start_LS_as_Application.bat), i'm receving the message that is in the gif file.
    "Can't connetc to the remote license server."

    Is there anything i did wrong? Or it can be some configuration in my modem, etc?

    Thanks!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ls_error.gif 
Views:	556 
Size:	8.5 KB 
ID:	4  

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Hi

    The JAVA_OPTS variable is the place where you can put proper settings for the JVM. For evaluation purposes, you should not need to change it, unless the factory memory settings are too high for your environment.

    The Server needs to perform an HTTPS connection to the remote license server (which is at app.lightstreamer.com). If it can't, usually this is because it stays behind a proxy.
    Please check that the proxy configuration, requested at
    "If you own an Evaluation License"
    in the GETTING_STARTED.txt file, was made properly.
    You can get more details about the connection problem by editing the logging configuration file (i.e. "conf/lightstreamer_log_conf.xml") and setting the priority level for the "LightstreamerLogger.license" logging category as "TRACE#com.lightstreamer.log4j.TraceLevel"

    Dario

  3. #3
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Hi,

    thanks for your help... now my server is running
    lets go to the next doubt... in GETTING_STARTED.TXT, there is this note:

    "Open a browser and connect to the host running Lightstreamer Server on port
    8080. E.g.: "http://testpc.mycompany.com:8080".
    Note: if you changed the default <port> at step 3, you should use the new
    port here.

    You should see a welcome page containing the links to the installed demos.
    Click on the links to run the demos."


    I must configure a site (in my case, local) that points to which folder?
    I mean, testpc.mycompany.com is a website on IIS that i must create, right?
    Where are the installed demos installed?

    thanks....

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    no, you don't need any web server in order to see the demos, because Lightstreamer Server is also a web server, though it offers only basic functionality.
    So, you can ask for pages to Lightstreamer Server from your browser. You might get it via a URL of the form "http://testpc.mycompany.com:8080".
    As a web server, Lightstreamer Server supplies the pages it finds under the "pages" subdirectory, where the installed demos (actually, only the StockListDemo) are deployed.

    Of course, in a production scenario, you would need a "real" web server in order to supply your pages and Lightstreamer Server would be used as a streaming server only.
    This kind of deployment is not covered in GETTING_STARTED.TXT, but it is described in
    DOCS-SDKs\sdk_client_web\examples\StockListDemo\README. TXT
    as "External deployment".

    Dario

  5. #5
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Ok, but when i'm trying to open this URL, the page can not be found...

    IIS is started in my computer. Do i need to stop it, since LightStreamer is also a Web Server?

    Another thing, LightStreamer Server is installed in drive "D:\", is there any problem?

    Sorry for too many questions, but i have been testing those things only late night at home.

    thanks for your help...

    p.s.: How LS identify "http://testpc.mycompany.com:8080" ? Can i configure anything to change this URL or create another one?

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Quote Originally Posted by rmusco
    IIS is started in my computer. Do i need to stop it, since LightStreamer is also a Web Server?
    No you don't. Just let them listen to 2 different ports (e.g. ISS port 80 and LS port 8080)
    Note that LS will not start if binded to an occupied port

    Quote Originally Posted by rmusco
    Another thing, LightStreamer Server is installed in drive "D:\", is there any problem?
    No problem.

    Quote Originally Posted by rmusco
    p.s.: How LS identify "http://testpc.mycompany.com:8080" ? Can i configure anything to change this URL or create another one?
    The URL is related to your machine not to Lightstreamer.
    Lightstreamer will answer to each request sent to the port (ports) it is listening to.
    If your Lightstreamer server is listening to port 8080 you can reach it with http://localhost:8080/ or http://127.0.0.1:8080/ or - if your PC is in a LAN - with http://IpOfYourPC:8080/ (where IpOfYourPC is of course the IP of your PC)

    Those ways to reach LS are all ok, btw when your pages are deployed in an external web server then you need to reach LS server via a name (e.g. http://mypc.mycompany.com:8080). To accomplish this you must set up a DNS or edit the host file (under windows is usually located here: C:/windows/system32/etc/drivers/host )

    Hope that helps,
    Mone

  7. #7
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Mone,

    thank you so much...
    it's 10 to 1 a.m. now in Brazil... It's impossible to think by myself at this time... hehe
    Now i can see... of course is with http://localhostort... just like any webserver.

    Thank you and sorry for some "stupid" questions...

    My goal is to do a web page in .NET, C#, with LS technology... I will do it based onde the DOCs-SDKs exemples.
    The Pages directory is the root of LS Server, right? My pages, in .NET, must be inside this directory , am i right?

    Well, from now one, my doubts will be about code... it's another topic of the forum...
    thank you both for your help...

    I'll be back soon... heheheh

  8. #8
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Hi,

    I just would like to point out that the basic web server functionalities of Lightstreamer Server only include supplying the HTML files it finds under the "pages" directory and subdirectories.
    I don't understand what you mean by "pages in .NET"; however, note that ASP or similar pages with server-side processing are not supported.

    Dario

  9. #9
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Dario,
    I mean ".aspx" files.
    Just like in your demo (http://app.lightstreamer.com/AtlasDemo/).

    How can i do the same as your .NET demo? In which directory my ".aspx" pages should be into?
    When you say that server-side processing pages ar not suported is in the Evaluation License?
    Because that is just what i need to do.

    Rafael

  10. #10
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    Dario means that Lightstreamer internal web server can serve only static pages (ie non asp-php-jsp....)

    To deploy aspx files you need an external web server. In your case your pages will be served by IIS while stream data will come from LS.

    Please take a look at "Web Client Dev.pdf" section 2.1 under LSHOME/DOCS-SDKs/sdk_client_web/doc and at the "README.txt" section External Deployment under LSHOME/DOCS-SDKs/sdk_client_web/examples/StockListDemo

    Mone.

 

 

Similar Threads

  1. Doubts
    By eduramires in forum Adapter APIs
    Replies: 3
    Last Post: March 3rd, 2008, 10:12 AM

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 07:09 AM.