IBM Support

PM04767: FAILURE TO BUILD BROKER ARCHIVE FILE WHEN MAP PROJECT, MESSAGE FLOW PROJECT AND WORKSPACE ARE IN DIFFERENT ROOT DIRECTORIES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A Message Broker Toolkit failure occurs when building the Broker
    Archive file when WebSphere Transformation Extender (WTX) Map
    Project, WebSphere Message Broker (WMB) Message Flow Project and
    Workspace are all located in different root directories.
    
    Building the Broker Archive .bar file fails when the WMB Message
    Flow Project files are one directory path / workspace and the
    WTX Map Project files are located in a different directory path
    / workspace with both projects outside of the current workspace.
    
    The WMB Message Flow Project directory and the WTX Map Project
    directory were imported using the using "File > Import >
    Existing Projects into Workspace" method where the associated
    WebSphere Message Broker (WMB) Project files are not copied into
    the local WMB Workspace.  The "Copy projects into workspace" is
    not checked or selected when importing the projects.
    
    The reported problem can be recreated when the WMB Message Flow
    Project files are located one directory path and the WTX Map
    Project files are located in a different directory path with
    both project directories outside of the current workspace
    directory.
    
    The following error is reported when building the Broker Archive
    .bar file:
    
    ==============================================
    
    Adding to Broker Archive File
    
    Some files were not added to the given BAR file.
    
    Results of addition to the bar file:
    
    /WTX_Node_Flow/NodeSample.msgflow
    
    Processing file NodeSample.msgflow
    Failed to add file NodeSample.msgflow to archive file.
    Not a directory: C:/temp2/WTX_Node_Map
    
    ==============================================
    
    Broker Archive User Log
    ==============================================
    
    !Thu Dec 24 12:52:54 EST 2009
    
    Processing file NodeSample.msgflow
    Failed to add file NodeSample.msgflow to archive file.
    Not a directory: C:/temp2/WTX_Node_Map
    
    ==============================================
    
    Broker Archive Service Log
    ==============================================
    
    !Thu Dec 24 12:52:54 EST 2009
    Message flow NodeSample.msgflow successfully loaded
    Error compiling NodeSample.msgflow
    java.lang.IllegalArgumentException: Not a directory:
    C:/temp2/WTX_Node_Map
     at
    com.ibm.websphere.dtx.WTXPlugIn.MARcompress.marSource(Unknown
    Source)
     at
    com.ibm.websphere.dtx.WTXPlugIn.MARcompress.marCompress(Unknown
    Source)
     at
    com.ibm.websphere.dtx.WTXPlugIn.SourceMapCompiler.compile(Unknow
    n Source)
     at
    com.ibm.etools.mft.flow.compiler.PropertyCompilerDelegate.compil
    e(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.PropertyCompilerDelegate.compil
    eAndStore(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowGenerator.addNestedF
    low(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addNodesAnd
    TheirConfigurableProperties(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addAllNodes
    (Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.flattenOneL
    evel(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.flattenMess
    ageFlow(Unknown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.compile(Unk
    nown Source)
     at
    com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addToBarFil
    e(Unknown Source)
     at
    com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.barG
    eneratorDelegate(Unknown Source)
     at
    com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.proc
    essDeployables(Unknown Source)
     at
    com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.exec
    ute(Unknown Source)
     at
    org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown
    Source)
     at org.eclipse.core.internal.resources.Workspace.run(Unknown
    Source)
     at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown
    Source)
     at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
    Unknown Source)
    Message flow NodeSample.msgflow failed to be added to archive
    file.
    Not a directory: C:/temp2/WTX_Node_Map
    
    ==============================================
    

Local fix

  • WTXCQ - WTX00032981
    GM / GM
    Circumvention: The problem can be resolved by copying the
    imported project files into the current Message Broker Toolkit
    workspace directory.
    

Problem summary

  • Users Affected:
    Websphere Trasnformation Extender for Integration Servers using
    Message Broker Toolkit
    
    Problem Description:
    We were using the path to the project that contains the flow to
    get the content of the MAR file.
    
    Platforms Affected:
    Windows All
    

Problem conclusion

  • Start using the path to the project that contains the mms file.
    
    Delivered in:
    8.2.0.5, 8.3.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM04767

  • Reported component name

    WTX FOR INT SER

  • Reported component ID

    5724M4010

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-01-11

  • Closed date

    2010-02-05

  • Last modified date

    2010-02-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WTX FOR INT SER

  • Fixed component ID

    5724M4010

Applicable component levels

  • R820 PSY

       UP

  • R830 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCKRDT","label":"WTX for Integration Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 February 2010