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

Deployment of Universal Messaging Assets via Asset Build Environment (ABE)

  • 1.  Deployment of Universal Messaging Assets via Asset Build Environment (ABE)

    Posted Wed July 19, 2017 07:49 AM

    hi

    I’d like to know how to setup Univeral Messaging repository deployment as I think I’m doing something incorrectly. Firstly has anyone got this working?

    I have done the following:

    1. exported my Universal Messaging realm.

    2. set my ABE build.properties source to read the source xml: so the xml file is in /abe/build2/UniversalMessaging/realm.xml

    • build.source.dir=/abe/build2/UniversalMessaging;/abe/build2/IS
    1. set the output source as: build.output.dir=/abe/outputdir

    I’ve enabled Universal messaging in the build.properties

    I run the build and the console output is:

    initLog:

    build:
    [echo] Apache Ant™ version 1.9.2 compiled on June 10 2014

    createNewBuildNumber:

    createBuildNumber:
    [propertyfile] Updating property file: /opt/softwareag/common/AssetBuildEnvironment/master_build/build.number

    createOutputDir:
    [echo] The directory /abe/outputdir already exists.
    [echo] Started Integration Server Build…

    buildIS:

    validate:

    build:

    iterate_multi_project_folders:

    build_projects:

    generate-composites:
    [java] OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
    [java] [19/07/17 10:03][MESSAGE] ispackage.ispackage: Starting to read packages .
    [java] [19/07/17 10:03][MESSAGE] ispackage.ispackage: Completed all packages.

    build_projects:

    generate-composites:
    [java] OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
    [java] [19/07/17 10:03][MESSAGE] ispackage.ispackage: Starting to read packages .
    [java] [19/07/17 10:03][MESSAGE] ispackage.ispackage: Completed all packages.

    iterate_single_project_folders:
    [echo] Integration Server Build complete…
    [echo] Started Universal Messaging Build…

    buildUniversalMessaging:

    build:
    [echo] Universal Messaging Build complete…

    createIndex:
    [createIndex] RepoIndexer is processing composite realm from composite file /abe/outputdir/UniversalMessaging/realm.acdl
    [echo] Archiving the build…9.12.12

    archive:
    [mkdir] Created dir: /abe/archive/9.12.12
    [copy] Copying 5 files to /abe/archive/9.12.12

    The outputdir contains the following and everything looks ok

    [wm@localhost outputdir]$ ls -ltr
    total 8
    -rw-rw-r–. 1 wm wm 874 Jul 19 10:03 _index
    -rw-rw-r–. 1 wm wm 145 Jul 19 10:03 _compositeIndex
    drwxrwxr-x. 2 wm wm 60 Jul 19 10:03 UniversalMessaging

    The UniversalMessaging folder contains:

    [wm@localhost UniversalMessaging]$ ls -ltr
    total 44
    -rw-rw-r–. 1 wm wm 2321 Jul 19 10:03 realm.acdl
    -rw-rw-r–. 1 wm wm 35483 Jul 19 10:03 realm.xml
    -rw-rw-r–. 1 wm wm 235 Jul 19 10:03 _assets.obj

    When i go to the Deployer, I create a new repo and point to the /abe/outputdir

    I create a project, define the deploymentSet to point to the repo however the select composites from Repository shows “0 Composites displayed”.

    i check the logs (set to debug):

    archive:

    TASK STARTED – org.apache.tools.ant.UnknownElement@147a5d08
    TASK STARTED – org.apache.tools.ant.UnknownElement@6676f6a0
    — MESSAGE LOGGED
    [mkdir] Created dir: /abe/archive/9.12.13
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@6676f6a0
    TASK STARTED – org.apache.tools.ant.UnknownElement@1672fe87
    — MESSAGE LOGGED
    fileset: Setup scanner in dir /abe/outputdir with patternSet{ includes: excludes: }
    — MESSAGE LOGGED
    [copy] UniversalMessaging/_assets.obj added as UniversalMessaging/_assets.obj doesn’t exist.
    — MESSAGE LOGGED
    [copy] UniversalMessaging/realm.acdl added as UniversalMessaging/realm.acdl doesn’t exist.
    — MESSAGE LOGGED
    [copy] UniversalMessaging/realm.xml added as UniversalMessaging/realm.xml doesn’t exist.
    — MESSAGE LOGGED
    [copy] _compositeIndex added as _compositeIndex doesn’t exist.
    — MESSAGE LOGGED
    [copy] _index added as _index doesn’t exist.
    — MESSAGE LOGGED
    [copy] omitted as /abe/archive/9.12.13 is up to date.
    — MESSAGE LOGGED
    [copy] UniversalMessaging added as UniversalMessaging doesn’t exist.
    — MESSAGE LOGGED
    [copy] Copying 5 files to /abe/archive/9.12.13
    — MESSAGE LOGGED
    [copy] Copying /abe/outputdir/UniversalMessaging/_assets.obj to /abe/archive/9.12.13/UniversalMessaging/_assets.obj
    — MESSAGE LOGGED
    [copy] Copying /abe/outputdir/UniversalMessaging/realm.acdl to /abe/archive/9.12.13/UniversalMessaging/realm.acdl
    — MESSAGE LOGGED
    [copy] Copying /abe/outputdir/UniversalMessaging/realm.xml to /abe/archive/9.12.13/UniversalMessaging/realm.xml
    — MESSAGE LOGGED
    [copy] Copying /abe/outputdir/_compositeIndex to /abe/archive/9.12.13/_compositeIndex
    — MESSAGE LOGGED
    [copy] Copying /abe/outputdir/_index to /abe/archive/9.12.13/_index
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@1672fe87
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@147a5d08
    << TARGET FINISHED – archive
    archive: duration 0 seconds
    — MESSAGE LOGGED
    [antcall] Exiting /opt/softwareag/common/AssetBuildEnvironment/master_build/build.xml.
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@20d7d6fb
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@4d518b32
    <<< TASK FINISHED – org.apache.tools.ant.UnknownElement@4b553d26

    Any help would be appreciated (IS 9.12)


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods