Results 1 to 4 of 4

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2009
    Location
    London
    Posts
    14
    Hi,

    I'm getting the following error when trying to load robust metadata provider (LS running as a Windows Service):

    26-May-10 16:17:01,758 |ERROR|LightstreamerLogger.init |WrapperSimpleAppMain |Error while loading the Adapters
    java.lang.Exception: Unexpected error in Metadata Adapters initialization
    at com.lightstreamer.i.gb.b(gb.java)
    at com.lightstreamer.i.gb.c(gb.java)
    at com.lightstreamer.i.cb.a(cb.java)
    at com.lightstreamer.a.xc.run(xc.java)
    Caused by: java.lang.NoSuchMethodError: com.lightstreamer.adapters.remote.metadata.Network edMetadataProvider.initEmpty(Ljava/util/Map;Ljava/io/FileV
    at com.lightstreamer.adapters.remote.metadata.RobustN etworkedMetadataProvider.init(RobustNetworkedMetad ataProvider.java:76)
    ... 4 more

    if I change configuration back to the LiteralBasedProvider it works fine.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    The ls-proxy-adapters.jar library that contains RobustNetworkedMetadataProvider should also contain the version of NetworkedMetadataProvider that was compiled together with it.
    So, it seems that your Server configuration contains both the old and the new version of ls-proxy-adapters.jar and the Server loads the old version of NetworkedMetadataProvider. May you please check?
    Note that Lightstreamer Server does not offer ClassLoader separation between different Adapter set configurations.

  3. #3
    Member
    Join Date
    Jul 2009
    Location
    London
    Posts
    14
    Dario,

    I replaced all ls-proxy-adapters.jar with the same one and it worked. I thought that adapter sets are sandboxed and independant from each other.

 

 

Similar Threads

  1. Replies: 4
    Last Post: October 24th, 2011, 09:33 AM
  2. .Net MetaData Adapter
    By squint in forum Adapter SDKs
    Replies: 1
    Last Post: September 10th, 2010, 11:37 AM
  3. New Proxy Data Adapter with recovery
    By Alessandro in forum Adapter SDKs
    Replies: 0
    Last Post: November 14th, 2008, 05:04 PM
  4. Adding recovery capability to the supplied Proxy Adapter
    By DarioCrivelli in forum Adapter SDKs
    Replies: 1
    Last Post: November 14th, 2008, 04:58 PM
  5. Replies: 0
    Last Post: November 14th, 2008, 04:53 PM

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