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
  • 1.  Accessing a JAR in another package

    Posted Mon February 23, 2009 12:31 PM

    I’m sure at some time in the past I did the following:

    • Make a package named Package_A
    • Put a JAR file in Package_A/code/jars
    • Make a package named Package_B
    • Put Package_A in Package_B’s ‘package dependencies’ list
    • Write Java services in Package_B, which used classes from the JAR in Package_A

    The advantage of this is that if I want to deploy a new version of the JAR, I can reload Package_A, rather than bounce the whole IS.

    However, I didn’t keep notes, and now that I try this again - I can’t get it to work. Any ideas of what I might be missing?


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Accessing a JAR in another package

    Posted Mon February 23, 2009 02:09 PM

    Hmm, I’ve confirmed that this ought to work - numerous forum posts at Advantage, and something in the Developer user guide.

    But it’s currently not working for me. Any hints on how to debug such a situation?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Accessing a JAR in another package

    Posted Tue February 24, 2009 06:51 PM

    Put the jar in the jars/static folder. Take a look at the Administrator’s guide.

    • Percio

    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: Accessing a JAR in another package

    Posted Wed February 25, 2009 12:33 PM

    Do you get any specific error when you save the java service?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services