问题描述:
PO-web monitor监控消息状态概览不显示成功信息或者没有信息,但是实际进入PI信息或者sxmb_moni里面是有正常的报文
原因分析:
Sap和PI消息里面都有成功的消息,说明配置上设置了成功的不写入日志概览
解决方案:
一、管理员全局配置
1.NWA—配置-基础架构-java系统属性—服务tab,输入*XI*找到XPI Adapter.XI
2.在下面的属性输入.conf搜索,然后修改如下
其实点击显示详细信息可以看到解释如下:
This property defines the logging mode for the XI protocol handler.
Its value is given as a comma-separated list of logging mode configurations at specific stages.
Stages:
BI - Before inbound processing 入栈前(原报文)
MS - Between receiver determination and mapping step 转接收通道前映射
AM - Between mapping and schema validation 映射后,后面就是传接收通道
Modes:
2 - Synchronous messages are logged 日志保存同步所有信息(无论是否错误)
6 - Only synchronous error messages are logged 日志只保存同步错误的信息
10 - As mode 2, with the business content hidden 2模式,隐藏业务负载
14 - As mode 6, with the business content hidden 6模式,隐藏业务负载
Example:填写范例
BI=6,AM=2
同理xiadapter.stage.conf也是同样设置的
二、ICO单个接口配置
在ICO的advance setting里面设置,staging和logging就是对应上面一的设置
三、使用cc通道里面的Module调用java bean方法