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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Using own java objects in EI

    Posted 09/18/02 04:22 AM

    Hi ppl,

    I have this java class that I would like to use inside one of the custom steps in Enterprise Integrator 4.6 for some processing purpose.

    The integration component actually belongs to an Oracle adapter that is running on another box.

    When i try to reference the java class, EI reports that it cannot find the class.

    I believe it has to do with java class path issue.
    Can anyone advise me on how I can resolve this?

    Thanks

    rgds
    Kenny


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Using own java objects in EI

    Posted 09/19/02 10:53 AM

    If you go to Edit->Preferences in EI and select the Session Tab on the dialog there is a Classpath Supplement text box that allows you to augment the Classpath so it can find your external java classes.

    An alternate way is to set the CLASSPATH environment variable with the proper archives or package paths before you launch EI and it will then resolve your external java references.

    Steve


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Using own java objects in EI

    Posted 09/19/02 11:41 PM

    Thanks. I’ll try it out.

    But this integration script will ultimately run in the intelligent adapter right? Shouldn’t it be in the classpath for the adapter as well?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 4.  RE: Using own java objects in EI

    Posted 09/21/02 10:38 AM

    Yes, you are correct. The Classpath supplement in EI is for script compile resolution. The “Add to classpath” in the adapter will allow for runtime resolution of your custom Java code. You need it in both places to develop and run.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 5.  RE: Using own java objects in EI

    Posted 09/22/02 10:24 AM

    Thanks for the tip…really appreciate it.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods