2

我正在使用 Message Broker 8 和 MQ 7。当我尝试在我的消息流中使用映射节点时,我得到一个 java.lang.RuntimeException。

以下是事件查看器显示的内容:

( BROKER8.default ) The map script generation for QName ''{practica}:CambioFecha'' has failed, with the following details: ''java.lang.RuntimeException: ''.   

The generation of the map has failed.   

Review and resolve the problems indicated in the message from the map generation.

完整的异常堆栈是:

    ExceptionList: ( ['MQROOT' : 0xe052600]
      (0x01000000:Name):RecoverableException = (
        (0x03000000:NameValue):File                 = 'F:\build\S000_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp' (CHARACTER)
        (0x03000000:NameValue):Line                 = 1170 (INTEGER)
        (0x03000000:NameValue):Function             = 'ImbJniNode::evaluate' (CHARACTER)
        (0x03000000:NameValue):Type                 = 'ComIbmMSLMappingNode' (CHARACTER)
        (0x03000000:NameValue):Name                 = 'practica/DATAGRAMA#FCMComposite_1_7' (CHARACTER)
        (0x03000000:NameValue):Label                = 'practica.DATAGRAMA.Cambio Formato Fecha' (CHARACTER)
        (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
        (0x03000000:NameValue):Severity             = 3 (INTEGER)
        (0x03000000:NameValue):Number               = 2230 (INTEGER)
        (0x03000000:NameValue):Text                 = 'Caught exception and rethrowing' (CHARACTER)
        (0x01000000:Name     ):RecoverableException = (
          (0x03000000:NameValue):File                 = 'MbErrorHandler.java' (CHARACTER)
          (0x03000000:NameValue):Line                 = 146 (INTEGER)
          (0x03000000:NameValue):Function             = 'evaluate' (CHARACTER)
          (0x03000000:NameValue):Type                 = '' (CHARACTER)
          (0x03000000:NameValue):Name                 = '' (CHARACTER)
          (0x03000000:NameValue):Label                = '' (CHARACTER)
          (0x03000000:NameValue):Catalog              = 'BIPmsgs' (CHARACTER)
          (0x03000000:NameValue):Severity             = 3 (INTEGER)
          (0x03000000:NameValue):Number               = 3946 (INTEGER)
          (0x03000000:NameValue):Text                 = 'Caught BrokerXCIStaticException' (CHARACTER)
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = '{practica}:CambioFecha' (CHARACTER)
          )
          (0x01000000:Name     ):Insert               = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = 'java.lang.RuntimeException: ' (CHARACTER)
          )
          (0x01000000:Name     ):RecoverableException = (
            (0x03000000:NameValue):File     = 'MbErrorHandler.java' (CHARACTER)
            (0x03000000:NameValue):Line     = 310 (INTEGER)
            (0x03000000:NameValue):Function = 'throwableToMbException' (CHARACTER)
            (0x03000000:NameValue):Type     = '' (CHARACTER)
            (0x03000000:NameValue):Name     = '' (CHARACTER)
            (0x03000000:NameValue):Label    = '' (CHARACTER)
            (0x03000000:NameValue):Catalog  = 'BIPmsgs' (CHARACTER)
            (0x03000000:NameValue):Severity = 3 (INTEGER)
            (0x03000000:NameValue):Number   = 3949 (INTEGER)
            (0x03000000:NameValue):Text     = 'Caught BrokerXCIStaticException' (CHARACTER)
            (0x01000000:Name     ):Insert   = (
              (0x03000000:NameValue):Type = 5 (INTEGER)
              (0x03000000:NameValue):Text = 'java.lang.RuntimeException: 

    ' (CHARACTER)
            )
          )
        )
      )
    )

整个消息流运行良好。所以,我认为这不是映射节点的错误。另一个细节,在其他流程中,映射节点根本不起作用并给出相同的错误。我不知道可能是什么问题。也许是 JRE 错误?

任何想法?

谢谢!

若苏埃

4

1 回答 1

6

这很可能是由于 64 位机器上的 Java 堆大小较大,因为所有引用都大了 4 个字节。要使其工作,您可以简单地在 32 位代理上运行它或尝试以下任何一种方法 -

  1. 使用 Xcompressedrefs (关于它的解释在这里 -

http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=%2Fcom.ibm.java.doc.diagnostics.60%2Fdiag%2Funderstanding%2Fmm_compressed_references.html )

a) 在代理提示符下执行以下命令

mqsichangeproperties --broker 名称-- -e --EG 名称-- -o ComIbmJVMManager -n jvmSystemProperty -v \"-Xcompressedrefs\"

b) 验证 JVM 选项是否成功应用

mqsireportproperties --broker name-- -e --EG name-- -o ComIbmJVMManager -n jvmSystemProperty

系统应显示 -

-Xcompressedrefs

c) 重启执行组

  1. 增加 JVM 内存,默认为 256MB a) 执行以下命令

mqsichangeproperties --broker name-- -e --EG name-- -o ComIbmJVMManager -n jvmMaxHeapSize -v 536870912

b) 验证 JVM 选项是否成功应用

mqsireportproperties --broker 名称-- -e --EG 名称-- -o ComIbmJVMManager -n jvmMaxHeapSize

c) 重启执行组

希望这可以帮助

于 2012-11-22T15:16:24.983 回答