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.  Jars amp getResource

    Posted Thu June 23, 2005 12:53 PM

    Hello

    I have problem with resources.
    My code look like this:

    Url url = MyClass.class.getResource(“config.xml”);
    or
    Url url = this.getClass().getResource(“config.xml”);

    This code works when I run it from console, but in WM IS don’t.
    I get null.

    Can you help me? How can I get access to resource in jar files?

    Thank you,
    Patryk


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