IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

In which folder should i place JAR file in Integration Server

  • 1.  In which folder should i place JAR file in Integration Server

    Posted Thu December 13, 2018 11:58 PM

    Hi folks, I just created a Java Service via SAG Designer. However, I need to use an external class to fulfill my service. Does any one know where I can place the JAR file of this external class in Integration Server?

    Regards,
    Ronnie She


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: In which folder should i place JAR file in Integration Server

    Posted Fri December 14, 2018 01:29 AM

    Hi,

    Did you try placing the custom jar under

    C:\SoftwareAG\IntegrationServer\instances\default\lib\jars
    or
    C:\SoftwareAG\IntegrationServer\instances\default\lib\jars\custom
    or
    C:\SoftwareAG\IntegrationServer\lib\jars\custom → this is outside the instance, so only new/updated instances can accomodate this

    Thanks
    Nanthini


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: In which folder should i place JAR file in Integration Server

    Posted Fri December 14, 2018 01:51 AM

    I prefer placing the custom jar(s) specific to a package Java service and not global to IS.

    Place it in /code/jars or /code/jars/static on the package file system on the IS server . On designer, you have to import the jars to your build path during compilation.

    If you still want to place the jar globally where this jar is shared and accessible to the IS (default instance) then the path will be

    C:\SoftwareAG103\IntegrationServer\instances\default\lib\jars\custom, restart the IS if you choose this location.


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: In which folder should i place JAR file in Integration Server

    Posted Fri December 14, 2018 02:03 AM

    Thanks Nanthini, just wondering why do we have so many place to put JAR files. Do you mind to elaborate what are the functions of paths below?

    1. C:\SoftwareAG\IntegrationServer\instances\default\lib\jars

    2. C:\SoftwareAG\IntegrationServer\instances\default\lib\jars\custom

    3. C:\SoftwareAG\IntegrationServer\lib\jars\custom

    Regards,
    Ronnie She


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: In which folder should i place JAR file in Integration Server

    Posted Fri December 14, 2018 09:55 AM

    Hi,

    I prefer to place the jars locally to the package under /code/jars, /code/jars/static is only required when the jar has a native lib part like i.e. SAP JCo API.
    The native part should be placed under lib directory.
    When the jar needs to be globally available, the lib/jars/custom should be used.
    lib/jars should be used on older IS versions which do not have the custom sub directory available.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods