Results 1 to 2 of 2
  1. #1

    NoClassDefFoundError: com/lightstreamer/interfaces/metadata/MetadataControlListener

    We've been using Lightstreamer for Java for many years. We are building new Linux servers with 7.1.2, and are getting this error on startup.

    I can't find this class in the distributed Lightstreamer jars. Can someone help me find the right jar? Googling didn't help.

    13-Nov-20 18:02:42,388|DEBUG|L.init |main |Loading Adapters...
    13-Nov-20 18:02:42,390|ERROR|L.init |main |Unexpected error in configuration:
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.lightstreamer.a.i.b(i.java)
    at com.lightstreamer.a.i.a(i.java)
    at com.lightstreamer.a.i.a(i.java)
    at com.lightstreamer.a.r.i(r.java)
    at com.lightstreamer.a.r.<init>(r.java)
    at com.lightstreamer.h.a.a(a.java)
    at com.lightstreamer.LS.main(LS.java)
    Caused by: java.lang.reflect.InvocationTargetException: null
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance(NativeConstructorAccessorImpl.java:62 )
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(DelegatingConstructorAccessorImpl .java
    :45)
    at java.base/java.lang.reflect.Constructor.newInstance(Construc tor.java:490)
    ... 7 common frames omitted
    Caused by: java.lang.NoClassDefFoundError: com/lightstreamer/interfaces/metadata/MetadataControlListener
    at com.lightstreamer.c.ac.<init>(ac.java)
    ... 11 common frames omitted
    Caused by: java.lang.ClassNotFoundException: com.lightstreamer.interfaces.metadata.MetadataCont rolListener
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.j ava:471)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:5 89)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:5 22)
    ... 12 common frames omitted

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,089
    The MetadataControlListener class was introduced in Lightstreamer Server version 7.1.0 (as part of the java in-process SDK version 7.2.0).
    However, since Lightstreamer Server version 7.1.2, the jar that contains this class has changed place.
    Up to 7.1.1 it was Lightstreamer/lib/ls-adapter-interface.jar
    From 7.1.2, that library (now part of the java in-process SDK version 7.3.0, which has become open-source) is now included as Lightstreamer/lib/adapters/ls-adapter-inprocess-7.3.0.jar
    The launch scripts in Lightstreamer/bin/unix-like have changed to add it to the classpath.
    Perhaps you expected fewer changes in this upgrade and are still using the previous launch script?

 

 

Similar Threads

  1. import com.lightstreamer.interfaces.data.* error
    By kimi in forum Adapter SDKs
    Replies: 5
    Last Post: January 29th, 2016, 01:44 PM
  2. Replies: 3
    Last Post: July 30th, 2014, 01:23 PM
  3. Authentication with Metadata Adapter
    By stephenlam in forum Adapter SDKs
    Replies: 4
    Last Post: December 12th, 2008, 11:52 AM
  4. How to let Data and Metadata Adapters comunicate
    By CitiMan in forum Adapter SDKs
    Replies: 4
    Last Post: November 21st, 2008, 06:24 PM
  5. Replies: 2
    Last Post: March 26th, 2008, 10:50 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:32 AM.