Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2007
    Location
    Lasko
    Posts
    1

    Start_LS_as_Application Error

    Hi,

    I just found Lightstreamer as I was looking for a server-side solution for a web based chat application. I downloaded the moderato version and tried to install it on my local windows machine. I did everything as described in the getting_started.txt (except the licence - due to the holidays I'm working on my home machine and will request the licence for the server as I get back to the office)

    However, when I try to start the server, I get a fatal error. This is the error log:

    29-dec-07 13:10:42,796 |ERROR|LightstreamerLogger.license |main |Error loading license file
    java.io.FileNotFoundException: C:\Lightstreamer\conf\yourlicensefile.lic (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at com.lightstreamer.e.r.c(r.java)
    at com.lightstreamer.e.r.a(r.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.LS.main(LS.java)
    29-dec-07 13:10:42,796 |FATAL|LightstreamerLogger.license |main |Cannot get license.
    29-dec-07 13:10:42,796 |WARN |LightstreamerLogger.init |main |A proper Free License was not configured. Server starting in unregistered mode. Get your Free License from http://www.lightstreamer.com/downloadfree.htm
    29-dec-07 13:10:42,796 |WARN |LightstreamerLogger.init |main |Lightstreamer Server in unregistered mode only supports a 60 minutes lifetime. After that time the Server will be shut down.
    29-dec-07 13:10:42,796 |INFO |LightstreamerLogger.init |main |Lightstreamer Server starting in Moderato edition
    29-dec-07 13:10:42,843 |WARN |LightstreamerLogger.monitoring |main |JMX management features not available with the current license
    29-dec-07 13:10:42,890 |INFO |LightstreamerLogger.init |main |Started HTML Adaptor for JMX on port 6666
    29-dec-07 13:10:42,937 |INFO |LightstreamerLogger.init |main |Started JMXMP Connector for JMX on port 9999
    29-dec-07 13:10:42,968 |INFO |LightstreamerLogger.init |main |Loading Metadata Provider STOCKLISTDEMO
    29-dec-07 13:10:42,984 |ERROR|LightstreamerLogger.init |main |Metadata adapter init error
    java.lang.ClassNotFoundException: com.lightstreamer.adapters.metadata.LiteralBasedPr ovider
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at com.lightstreamer.h.t.loadClass(t.java)
    at com.lightstreamer.e.t.b(t.java)
    at com.lightstreamer.e.t.a(t.java)
    at com.lightstreamer.e.t.a(t.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.LS.main(LS.java)
    29-dec-07 13:10:42,984 |ERROR|LightstreamerLogger.init |main |Error while loading the Adapters
    java.lang.ClassNotFoundException: com.lightstreamer.adapters.metadata.LiteralBasedPr ovider
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at com.lightstreamer.h.t.loadClass(t.java)
    at com.lightstreamer.e.t.b(t.java)
    at com.lightstreamer.e.t.a(t.java)
    at com.lightstreamer.e.t.a(t.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.e.f.a(f.java)
    at com.lightstreamer.LS.main(LS.java)
    29-dec-07 13:10:42,984 |FATAL|LightstreamerLogger.init |main |Adapters initialization failed
    29-dec-07 13:10:42,984 |INFO |LightstreamerLogger.init |main |Exiting.....

    Is there something I missed?

    Best,
    Matija

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    The reported class is defined in
    Lightstreamer\shared\lib\ls-generic-adapters.jar
    and Lightstreamer Server includes in its classpath all jars it founds in the
    ..\shared\lib
    directory, where the path is relative to the directory containing the configuration file.
    Please check that nothing has been moved from the original position.

  3. #3
    Member
    Join Date
    Jul 2007
    Location
    Stockholm
    Posts
    5
    I had same problems earlier...

    the answer is: Search and you shall find (in this forum).

    ..

 

 

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 11:16 AM.