Results 1 to 3 of 3
  1. #1
    Power Member
    Join Date
    Nov 2012
    Posts
    182

    How do I deploy 3rd party JARs with a Colosseo server

    I have created my own metadata adapters and data adapters and I can deploy and test them using my adapters.xml document(s).

    However, I wish my adapters to make use of platform specific JARs. I am working on an IBMi and wish to use OS400 native data queues using the jt400Native.jar. Do I have to include this in all my own JARs, or can I configure Lightstreamer to load the classes in the jar at start-up (as I can with jWebSocket) , or do I just modify the classpath I use to start the server in the first place?

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

    the server will load all of the jars that are placed in the "lib" folder of your deployed adapter
    e.g.:

    LIGHTSTREAMER_HOME/
    adapters/
    myAdapter/
    adapters.xml
    lib/
    myadapters.jar
    otherlibrary.jar


    also, if you need to share the same jar across different adapter set you can deploy it in the LIGHTSTREAMER_HOME/shared folder.

    HTH

  3. #3
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Perfect. Thanks

 

 

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 08:48 PM.