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

How do I share a JAR file with multiple Applications running on MWS ?

  • 1.  How do I share a JAR file with multiple Applications running on MWS ?

    Posted Mon January 16, 2012 05:45 AM

    Hi … I have a simple question. I want to share a JAR file across multiple applications that are running on my MWS … Now I have found a directory here, where I think MWS loads JAR files from:

    MWS Directory\lib\ext\

    I know that MWS loads JAR files from here because when MWS is running, Windows doen’t allow me to delete any JAR file from here …

    Now if I place my own custom JAR file here, its not loaded, as its still delete-able …

    So how can I make MWS load a custom JAR file so that I can use its functionality from multiple application ?


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: How do I share a JAR file with multiple Applications running on MWS ?

    Posted Mon January 16, 2012 01:41 PM

    After copying your .jar, run the command “mws update” from /MWS/bin. This will scan those directories and add them to the MWS classpath.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 3.  RE: How do I share a JAR file with multiple Applications running on MWS ?

    Posted Tue October 27, 2015 10:35 PM

    Every time you place custom jar in that directory, you need to update MWS so it knows the library is updated.

    Steps:

    • Shutdown MWS
    • place new jar file sin the lib/ext folder
    • go to <MWS_DIR>/bin/ and run “mws.sh -s <instance_name> update” (this is for Linux, on windows run the mws.bat file)
    • Once done, go to <SAG_DIR>/profiles/MWS_xxxx/bin and start the server

    Your JARs should be loaded now.


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS