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.  JDE Adapter

    Posted Wed May 01, 2002 11:54 AM

    hi,
    i have two jde adapters on the same installation of webMethods 411. as we are aware the jas.ini file maintains the IP address:port of the jde server installation, but i have to connect one jde adapter to say 192.100.1.1:8001 and another jde adapter to 192.200.1.1:9001.

    how will i modify the jas.ini file to include both these ip:port and have both these adapters running concurrently while pointing to these two separate installations of jde.

    thanks,
    sharath.


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: JDE Adapter

    Posted Thu May 02, 2002 02:35 AM

    We have done this by starting each adapter process in a different working directory. As the adapter looks for JAS.INI in the current directory, this allows us to run multiple environments.

    To start each adapter in a separate directory, we added a “cd” command into the beans_adapter script, just after the “cd $activeHome” statement, and before the CLASSPATH assignment (approx line 424). We use the contents of $progArgs to decide which directory to “cd” to – in our case we make the decision based on the broker name (second word of $progArgs), but could for instance use the adapter name (first word of $progArgs).

    We also add our custom JAR files to CLASSPATH with relative file names, for the same reason – we can then run different JARs in each directory/environment.

    Hope this helps!
    Michael Lemaire


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 3.  RE: JDE Adapter

    Posted Thu May 02, 2002 09:57 AM

    You will have to create two different jas.ini

    And add in the Java Tab the following info for the JVM options

    Adapter 1
    -Dconfig_file=X:\�webMethods�\JDE\JAS\jas1.ini

    Adapter 2
    -Dconfig_file=X:\�webMethods�\JDE\JAS\jas2.ini

    JFN


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: JDE Adapter

    Posted Mon May 06, 2002 11:26 AM

    You will need to make sure that the [EVENTS] ports are pointing to seperate ip ports.

    i.e.
    for jas1.ini:
    [EVENTS]
    port=6002

    for jas2.ini
    [EVENTS]
    port=6004


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards