Results 1 to 10 of 13

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Hi, Also in this thread, I can't but refer to this other thread of yours and in particular to post #4.
    To resume, if you open a command prompt from the "Lightstreamer" folder of the Server installation package, you should run a command like this:
    Code:
    java -cp "lib/*;lib/log/*;lib/core/*;lib/adapters/*;lib/proxy/*" com.lightstreamer.LS conf\lightstreamer_conf.xml
    This is the simplest way to run the Server. It will log "No com.lightstreamer.kernel_lib_path defined; using a unique ClassLoader; ignoring any other _lib_path supplied" at startup, but this should not prevent it from working.
    Launched in this way, there may be problems only in case of conflicts between third-party libraries used by the Server and libraries used by your Adapters, but they can arise only after the initial startup.
    In particular, the classes from Logback that you can't load are in the "lib/log/*" part of the classpath shown.
    Please try to do exactly the same and confirm if it works.
    Then, use that as the baseline that you should refer to when setting up the launch in you own context.

  2. #2
    Hi Dario,

    Can u list the properties and the jar files needed for the JVM platform setup to start the lightstreamer. Also include the paths as well.
    Thank you!

  3. #3
    Hi Dario,

    I solved the previous error and the lightstreamer server almost started but while configuring the adapters of this project it went wrong. I am sharing the logs for you

    22.May.23 17:34:57,058 < WARN> Adapters configuration not found in C:\Users\SinghVinayak\Lightstreamer-7.3.3\Lightstreamer\conf\..\adapters\classfile
    22.May.23 17:34:57,075 < INFO> data_provider element without name attribute; using DEFAULT as the default name.
    22.May.23 17:34:57,109 < INFO> Loading Metadata Adapter for Adapter Set WELCOME
    22.May.23 17:34:57,109 < INFO> Loading Metadata Adapter for Adapter Set HELLOWORLD
    22.May.23 17:34:57,799 < INFO> Finished loading Metadata Adapter for Adapter Set HELLOWORLD
    22.May.23 17:34:57,799 < INFO> Loading Data Adapter HELLOWORLD.DEFAULT
    22.May.23 17:34:57,848 < INFO> Finished loading Data Adapter HELLOWORLD.DEFAULT
    22.May.23 17:34:58,213 < INFO> Finished loading Metadata Adapter for Adapter Set WELCOME
    22.May.23 17:34:58,214 < INFO> Loading Data Adapter WELCOME.TELEMETRY
    22.May.23 17:34:58,214 < INFO> Loading Data Adapter WELCOME.CHAT
    22.May.23 17:34:58,214 < INFO> Loading Data Adapter WELCOME.STOCKS
    22.May.23 17:34:58,214 < INFO> Loading Data Adapter WELCOME.ROOMBALL
    22.May.23 17:34:58,216 < INFO> Finished loading Data Adapter WELCOME.TELEMETRY
    22.May.23 17:34:58,217 < INFO> Finished loading Data Adapter WELCOME.ROOMBALL
    22.May.23 17:34:58,223 < INFO> Finished loading Data Adapter WELCOME.CHAT
    22.May.23 17:34:58,223 < INFO> Finished loading Data Adapter WELCOME.STOCKS
    22.May.23 17:34:58,228 < INFO> Events pool size set by default at 8.
    22.May.23 17:34:58,230 < INFO> Snapshot pool size set by default at 10.
    22.May.23 17:34:58,234 <ERROR> Unexpected error in configuration: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bitbucket/cowwoc/diffmatchpatch/DiffMatchPatch.
    22.May.23 17:34:58,235 <ERROR> Error while loading the Adapters: Unexpected error in configuration.
    22.May.23 17:34:58,235 <FATAL> Adapters initialization failed.


    Process finished with exit code -1

  4. #4
    Hi Dario,
    I solved the error that i listed first now in the logs there is a error for the server initialization. It says-

    22.May.23 17:48:31,379 < WARN> Lightstreamer Server is running with a Demo license, which has a limit of 20 concurrent users and can be used for evaluation, development, and testing, but not for production. If you need to evaluate Lightstreamer Server without this user limit, or need any information on the other license types, please contact info@lightstreamer.com
    22.May.23 17:48:31,485 < INFO> Number of detected cores: 8
    22.May.23 17:48:31,486 < INFO> Lightstreamer Server starting in ENTERPRISE edition.
    22.May.23 17:48:31,606 < INFO> Started RMI server for JNDI for JMX Connector on port 8888
    22.May.23 17:48:31,614 < INFO> Binding of RMI Connector for JMX on port 8888 (communication on port 8888) started...
    22.May.23 17:48:31,662 < INFO> Binding of RMI Connector for JMX on port 8888 (communication on port 8888) successful.
    22.May.23 17:48:31,663 < INFO> Test of reachability of the JMX Connector at localhost:8888 started...
    22.May.23 17:48:31,680 < INFO> Test of reachability of the JMX Connector at localhost:8888 successful.
    22.May.23 17:48:31,737 < INFO> Binding of RMI Connector for Platform mbeans on port 8888 (communication on port 8888) started...
    22.May.23 17:48:31,740 < INFO> Binding of RMI Connector for Platform mbeans on port 8888 (communication on port 8888) successful.
    22.May.23 17:48:31,744 < INFO> SERVER pool size set by default at 1000.
    22.May.23 17:48:31,745 < INFO> ACCEPT pool size set by default at 8.
    22.May.23 17:48:31,771 < INFO> Queue limit checks for SERVER pool added to checks for ACCEPT pool.
    22.May.23 17:48:31,813 < WARN> Adapters configuration not found in C:\Users\SinghVinayak\Downloads\Lightstreamer-7.3.3\Lightstreamer\conf\..\adapters\classfile
    22.May.23 17:48:31,817 < INFO> data_provider element without name attribute; using DEFAULT as the default name.
    22.May.23 17:48:31,834 < INFO> Loading Metadata Adapter for Adapter Set HELLOWORLD
    22.May.23 17:48:31,834 < INFO> Loading Metadata Adapter for Adapter Set WELCOME
    22.May.23 17:48:31,837 < INFO> Finished loading Metadata Adapter for Adapter Set HELLOWORLD
    22.May.23 17:48:31,848 < INFO> Loading Data Adapter HELLOWORLD.DEFAULT
    22.May.23 17:48:31,850 < INFO> Finished loading Data Adapter HELLOWORLD.DEFAULT
    22.May.23 17:48:32,171 < INFO> Finished loading Metadata Adapter for Adapter Set WELCOME
    22.May.23 17:48:32,171 < INFO> Loading Data Adapter WELCOME.TELEMETRY
    22.May.23 17:48:32,171 < INFO> Loading Data Adapter WELCOME.CHAT
    22.May.23 17:48:32,171 < INFO> Loading Data Adapter WELCOME.STOCKS
    22.May.23 17:48:32,171 < INFO> Loading Data Adapter WELCOME.ROOMBALL
    22.May.23 17:48:32,173 < INFO> Finished loading Data Adapter WELCOME.TELEMETRY
    22.May.23 17:48:32,174 < INFO> Finished loading Data Adapter WELCOME.ROOMBALL
    22.May.23 17:48:32,178 < INFO> Finished loading Data Adapter WELCOME.STOCKS
    22.May.23 17:48:32,178 < INFO> Finished loading Data Adapter WELCOME.CHAT
    22.May.23 17:48:32,183 < INFO> Events pool size set by default at 8.
    22.May.23 17:48:32,186 < INFO> Snapshot pool size set by default at 10.
    22.May.23 17:48:32,190 <ERROR> Unexpected error in configuration: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bitbucket/cowwoc/diffmatchpatch/DiffMatchPatch.
    22.May.23 17:48:32,191 <ERROR> Error while loading the Adapters: Unexpected error in configuration.
    22.May.23 17:48:32,191 <FATAL> Adapters initialization failed.


    Process finished with exit code -1

 

 

Similar Threads

  1. JDBC Integrated Security Authentication DLL
    By zschmidt in forum Adapter SDKs
    Replies: 2
    Last Post: April 30th, 2014, 04:14 PM
  2. Passing data dynamicatlly to Java Data Adapter via
    By V S Suresh in forum Adapter SDKs
    Replies: 2
    Last Post: October 25th, 2012, 08:11 AM
  3. Replies: 4
    Last Post: October 24th, 2011, 09:33 AM
  4. Replies: 1
    Last Post: May 21st, 2009, 09:41 AM
  5. error jdbc Orcale
    By khalil78 in forum Adapter SDKs
    Replies: 2
    Last Post: April 22nd, 2008, 11:46 AM

Tags for this Thread

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