附录C. 特定于组件的属性文件

“控制台”、“接收器”和“文档管理器”组件各自都包含特定于组件的属性文件。 下表列出了每个组件的所有基本运行时属性:

表 31. bcg_console.properties 文件内容(特定于控制台的属性)
缺省值 可能的设置 描述

## DR Mode indicator property

console.environment

空白或 DR

在控制台里出现的文本字符串表示这是否是 DR 环境

## Version indicator

console.version

6.0.0

版本号

用于信息用途的文本字符串

## DB Proc Audit Debug level

## 0 = off, 1 = on

ibm.bcg.db.debugLevel

0

0、1

打开还是关闭数据库调试功能

########## Start log4j Debug Properties ###################

# Log4J Debug Properties

# Possible Categories - debug/info/warn/error/fatal

# Default Category "error", Output to: stdout and RollingFile

log4j.rootCategory

error, stdout, RollingFile

所有、关闭、调试、信息、警告、错误和致命

所有容器的根日志记录设置。可以通过设置 log4j.rootCategory=OFF 来关闭日志记录。

log4j.appender.stdout

org.apache.log4j.
FileAppender

使用 Log4J 库的日志记录 java 类

log4j.appender.stdout.File

System.out

log4j.appender.stdout.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

log4j.appender.stdout.layout. ConversionPattern

%d{ABSOLUTE} %c{1} [%t] - %m%n

日志文件的记录模式

log4j.appender.RollingFile

org.apache.log4j.
RollingFile
Appender

使用 Log4J 库的日志记录 java 类

log4j.appender.RollingFile.File

{INSTALL DIR}/
was/profiles/
bcgconsole/logs/
bcgconsole/
bcg_console.log

循环使用的日志文件名和路径

log4j.appender.RollingFile. MaxFileSize

1000KB

循环日志文件的最大大小

log4j.appender.RollingFile. MaxBackupIndex

5

循环日志文件的最大数目。

log4j.appender.RollingFile.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

log4j.appender.RollingFile.layout. ConversionPattern

%d{DATE} %c
{2} [%t] - %m%n

日志文件的记录模式

ibm.bcg.appserver.loggerClass

com.shared.
logging.
Log4jLogger

指定将使用的合适的记录类

## Console global appserver properties

ibm.bcg.appserver.ejbEnabled

TRUE

true、false

管理服务使用 EJB 还是直接服务

ibm.bcg.appserver.mgmt.pool. maxsize

20

EJB 池的大小

ibm.bcg.appserver.mgmt.ctx. instancepolicy

singleton

JNDI 初始上下文策略

java.naming.security.principal

admin

JNDI 安全性主要参数。

## Websphere JNDI Settings

ibm.bcg.appserver. jndiInitialContextFactory

com.ibm.
websphere.
naming.Wsn
InitialContext
Factory

JNDI 上下文工厂

ibm.bcg.appserver. jndiContextProviderURL

corbaloc:iiop:
localhost:52809

JNDI 提供程序的 URL

ibm.bcg.appserver.jdbcJndiPool

$CONSOLE
.JNDI$

datasources/DB2
DS、datasources
/OraclePool

数据源 JNDI 前缀

# Database JDBC Schema

ibm.bcg.db.product

$CONSOLE.DB.
TYPE$

db2、oracle

数据库类型

bcg.co.db.schema

$CONSOLE.DB.
SID$

模式信息(DB2 - 数据库拥有者、 Oracle - 模式拥有者)

## JMS Poster Instance

## Possible values are:

## com.ibm.bcg.shared.event.
MQSeriesPoster

ibm.bcg.jmsPosterInstance

com.ibm.bcg.
shared.event.
MQSeriesPoster

## JMS Properties for Event Posting

## JNDI Provider URL

ibm.bcg.jms_cntxt_url

{INSTALL DIR}/
console/lib/
config/jndi

.binding 文件的位置,用于 JMS 信息

ibm.bcg.jms_jndi_factory

com.sun.jndi.
fscontext.
RefFSContext
Factory

## Connection Factory Names

ibm.bcg.jms.qconnFactory.name

WBIC/QCF

JMS 队列连接工厂名

ibm.bcg.jms.topicconnFactory.name

WBIC/TCF

JMS 主题连接工厂名

ibm.bcg.jms.queue.name

WBIC/datalogQ

JMS 队列名

## Gateway Queue

ibm.bcg.outbound.gatewayDirectory

$SHARED_DATA
_DIR$/gateways

网关目录

## VTP

ibm.bcg.certs.vtp.CertificateDir

$SHARED_DATA
_DIR$/security
/certs

使用 w/VTP 的客户机证书位置

如果提供的值不正确,它将在 Console_SystemErr.log 中抛出一个错误。该错误将不会影响流,可以将它视作警告。

ibm.bcg.certs.vtp.Certificate

VTP 公用密钥(DER,二进制格式)

ibm.bcg.certs.vtp.PrivateKey

VTP 专用密钥(pkcs8,二进制格式)

ibm.bcg.certs.vtp.Passwd

VTP 专用密钥密码

ibm.bcg.certs.vtp.VerifySig

FALSE

true、false

确定 VTP 是否应验证签署者(是,否)

ibm.bcg.vtp.RouterIn

$SHARED_DATA
_DIR$/router_in

目录里的路由器

## EAI Directory Management

ibm.bcg.EAIDocDir

Documents

这向控制台提供路由器使用的 EAI 目录名

## Special characters - used for validation of partnerLogin and Receiver and Destination Types (gateway types)

## Note: 2 keys are defined as one allows the / \ chars and the other does not

## For i18n purposes these values could change depending on the language of the OS and what is allowed for directory names.

ibm.bcg.specialChars

!#:;\\& /?.,

ibm.bcg.specialCharsDir

!#:;& ?.,

表 32. bcg_receiver.properties 文件内容(特定于接收器的属性)
缺省值 可能的设置 描述

###### Set this so bcg.prperties logging settings are ignored!!

bcg.use_container_logging

TRUE

true、false

############# BCG DB ##

bcg.co.db.DBType

$RECEIVER.
DB.TYPE$

db2、oracle

数据库类型

bcg.co.db.DBPoolName

$RECEIVER.
JNDI$

datasources/DB2DS、
datasources/Oracle
Pool

数据源 JNDI 前缀

bcg.co.jndiContextURL

corbaloc:iiop:
localhost:57809

JNDI 提供程序的 URL

bcg.co.jndiFactory

com.ibm.
websphere.
naming.
WsnInitial
ContextFactory

JNDI 上下文工厂

bcg.co.db.schema

$RECEIVER.
DB.SID$

模式信息(DB2 - 数据库拥有者、 Oracle - 模式拥有者)

############# MQ PROPS

bcg.use_oaq

FALSE

true、false

bcg.jms.queue.factory

WBIC/QCF

JMS 队列连接工厂名

bcg.jms.topic.factory

WBIC/TCF

JMS 主题连接工厂名

bcg.jms.jndi_factory

com.sun.jndi.
fscontext.RefFS
ContextFactory

用于连接 JNDI 服务器的类

bcg.jms.context_url

{INSTALL DIR}/
receiver/lib/
config/jndi

.binding 文件的位置,用于 JMS 信息

########### BPE

bcg.oaq_log_q

WBIC/datalogQ

JMS 队列名

########## RECEIVER MBEAN

bcg.vms_receiver_reject_dir

$SHARED_DATA
_DIR$/receiver
/reject

接收器存放被拒绝消息的文件系统路径

bcg.vms_receiver_tmp_dir

$SHARED_DATA
_DIR$/receiver
/tmp

接收器存放临时消息的文件系统路径

########## END RECEIVER MBEAN

bcg.receiver.persistpath

$SHARED_DATA
_DIR$/router_in/

接收器用于持久存储入站 RosettaNet 信号的文件系统路径。

bcg.receiver.sync.persistpath

$SHARED_DATA
_DIR$/sync_in

接收器用于持久存储同步 RosettaNet 信号的文件系统路径。

bcg.receiver.sync.sync CheckClasses

com.ibm.bcg.
server.sync.
SyncRosettaNet
Request|com.ibm
.bcg.server.sync.
SyncAS2Request|
com.ibm.bcg.
server.sync.Sync
SOAPRequest|
com.ibm.bcg.
server.sync.Sync
cXMLRequest

bcg.receiver.sync.responseURL

/bcgreceiver/
SyncResponse

发送同步响应的 URI

bcg.receiver.sync. responseURL.port

$RECEIVER
_HTTP_PORT$

接收器 HTTP 端口

## Servlet properties

## HTTP headers to be persisted as meta-data by the receiver servlet.

## All properties beginning with "http.hdrdef" will be

## interpreted as headers to be persisted.

bcg.http.hdrdef.fromID

x-aux-sender-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.toID

x-aux-receiver-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.protocol

x-aux-protocol

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.protocolVersion

x-aux-protocol
-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.process

x-aux-process
-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.processVersion

x-aux-process
-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.msgid

x-aux-msg-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. contentType

content-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. systemMsgId

x-aux-system
-msg-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. RNResponseType

x-rn-response
-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. RNVersion

x-rn-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. productionFlag

x-aux-production

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. provSessionId

x-aux-prov
-session-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. processInstanceId

x-aux-process
-instance-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. contentLength

Content-Length

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. as2From

AS2-From

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. as2To

AS2-To

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. as2Version

AS2-Version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. mimeVersion

Mime-Version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. messageId

Message-ID

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.date

Date

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.from

From

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. subject

Subject

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. contentTransferEncoding

Content-Transfer
-Encoding

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. contentDisposition

Content-
Disposition

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. dispositionNotificationTo

Disposition-
Notification-To

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. dispositionNotificationOptions

Disposition-
Notification-
Options

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. receiptDeliveryOption

Receipt-Delivery
-Option

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. toPackagingName

ToPackaging
Name

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. asDocType

ASDocType

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. recipientAddress

Recipient
-Address

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. authorization

Authorization

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef. soapAction

SOAPAction

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

表 33. receiver-was.logging.properties 文件内容
缺省值 可能的设置 描述

########## Start log4j Debug Properties ###################

# Possible Categories - debug/info/warn/error/fatal

# Default Category "error", Output to: stdout and RollingFile

log4j.rootCategory

error, stdout, RollingFile

所有、关闭、调试、信息、警告、错误和致命

所有容器的根日志记录设置。可以通过设置 log4j.rootCategory=OFF 来关闭日志记录。

log4j.appender.stdout

org.apache.log4j.
ConsoleAppender

使用 Log4J 库的日志记录 java 类

log4j.appender.stdout.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

# Pattern to output the caller's file name and line number.

log4j.appender.stdout.layout. ConversionPattern

%d{DATE} %-5p [%c{1}] [%t] - %m%n

日志文件的记录模式

log4j.appender.RollingFile

org.apache.log4j.
RollingFile
Appender

使用 Log4J 库的日志记录 java 类

# Log File Name

log4j.appender.RollingFile.File

{INSTALL DIR}/
was/profiles/
bcgreceiver/logs
bcgreceiver/
bcg_receiver.log

循环使用的日志文件名和路径

log4j.appender.RollingFile. MaxFileSize

1000KB

循环日志文件的最大大小

# number of backup files to keep

log4j.appender.RollingFile. MaxBackupIndex

10

循环日志文件的最大数目。

log4j.appender.RollingFile.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

log4j.appender.RollingFile.layout. ConversionPattern

%d{DATE} %-5p [%c{1}] [%t] - %m%n

日志文件的记录模式

log4j.category.com.ibm.bcg.util.
threadPool

错误

#log4j.category.com.ibm.bcg.server.
util

调试

#log4j.category.com.ibm.bcg.server

调试

log4j.category.com.ibm.bcg.co.db

错误

表 34. bcg.properties(特定于路由器的属性)
缺省值 可能的设置 描述

###### Set this so properties logging settings are ignored!!

bcg.use_container_ logging

TRUE

true、false

############# Third party duns #####

105217165

bcg.duns

############# BCG DB ##

bcg.co.db.DBType

$ROUTER.DB.
TYPE$

db2、oracle

数据库类型

bcg.co.db.DBPoolName

$ROUTER.JNDI$

datasources/DB2
DS、datasources
/OraclePool

数据源 JNDI 前缀

bcg.co.jndiContextURL

corbaloc:iiop:
localhost:56809

JNDI 提供程序的 URL

bcg.co.jndiFactory

com.ibm.
websphere.
naming.
WsnInitialContext
Factory

JNDI 上下文工厂

bcg.co.db.schema

$ROUTER.DB.
SID$

模式信息(DB2 - 数据库拥有者、 Oracle - 模式拥有者)

############# MQ PROPS

bcg.use_oaq

FALSE

true、false

bcg.jms.queue.factory

WBIC/QCF

JMS 队列连接工厂名

bcg.jms.topic.factory

WBIC/TCF

JMS 主题连接工厂名

bcg.jms.jndi_factory

com.sun.jndi.
fscontext.RefFS
ContextFactory

用于连接 JNDI 服务器的类

bcg.jms.context_url

{INSTALL DIR}/
router/lib/
config/jndi

.binding 文件的位置,用于 JMS 信息

########### BPE ##########

bcg.oaq_log_q

WBIC/datalogQ

JMS 日志接收器队列名

# Maximum File Size Supported by Document Manager

# in bytes. ex. 52000000 = 52MB. 0 = no limit.

bcg.bpe_max_file_size

0

最大的文件大小(以字节为单位)

## MAIN RTR ##

bcg.oaq_bpe_in.main

WBIC/main_
InboundQ

队列名中的 JMS Main

bcg.oaq_bpe_out.main

WBIC/delivery
ManagerQ

JMS 传递管理器队列名

bcg.inbound_poll_interval.main

1000

扫描各个目录的时间(以毫秒计)

bcg.inbound_files_per _pass.main

5

每遍扫描所选择的最多文件数

bcg.in_thread_count.main

2

主路由器的入站线程数

bcg.bpe_thread_count.main

2

主路由器的 BPE 线程数

bcg.vms_inbound_directory.main

$SHARED_DATA
_DIR$/router_in

主路由器入站目录

bcg.bpe_temp_directory.main

$SHARED_DATA
_DIR$/dat

主路由器数据目录

## SIGNAL RTR ##

bcg.oaq_bpe_in.signal

WBIC/signal
_InboundQ

队列名中的 JMS 信号

bcg.oaq_bpe_out.signal

WBIC/delivery
ManagerQ

JMS 传递管理器队列名

bcg.inbound_poll_interval.signal

1000

扫描各个目录的时间(以毫秒计)

bcg.inbound_files_per_pass.signal

5

每遍扫描所选择的最多文件数

bcg.in_thread_count.signal

2

信号路由器的入站线程数

bcg.bpe_thread_count.signal

2

信号路由器的 BPE 线程数

bcg.vms_inbound_directory.signal

$SHARED_DATA
_DIR$/signal_in

信号路由器入站目录

bcg.bpe_temp_directory.signal

$SHARED_DATA
_DIR$/data

信号路由器数据目录

## SYNCHRONOUS RTR ##

bcg.oaq_bpe_in.synchronous

WBIC/sync
_InboundQ

队列名中的 JMS 同步

bcg.oaq_bpe_out.synchronous

WBIC/delivery
ManagerQ

JMS 传递管理器队列名

bcg.inbound_poll_interval. synchronous

1000

扫描各个目录的时间(以毫秒计)

bcg.inbound_files_per_pass. synchronous

5

每遍扫描所选择的最多文件数

bcg.in_thread_count.synchronous

2

同步路由器的入站线程数

bcg.bpe_thread_count.synchronous

2

同步路由器的 BPE 线程数

bcg.vms_inbound_directory. synchronous

$SHARED_DATA
_DIR$/sync_in

同步路由器入站目录

bcg.bpe_temp_directory.synchronous

$SHARED_DATA
_DIR$/data

同步路由器数据目录

## DESTINATION ##

bcg.destination.destination_class

com.ibm.bcg.
destination.H2
Destination
Process

目的类

### RECEIVER MBEAN ###

bcg.vms_receiver_reject_dir

$SHARED_DATA
_DIR$/receiver
/reject

接收器存放被拒绝消息的文件系统路径

bcg.vms_receiver_tmp_dir

$SHARED_DATA
_DIR$/receiver
/tmp

接收器存放临时消息的文件系统路径

### DUPLICATE ###

bcg.duplicate.DupField1

x-aux-system
-msg-id

bcg.duplicate.DupField2

none

bcg.duplicate.DupField3

none

bcg.duplicate.DupField4

none

bcg.duplicate.DupField5

none

bcg.duplicate.DupField6

none

bcg.duplicate.DupField7

none

bcg.duplicate.DupField8

none

bcg.duplicate.DupField9

none

bcg.duplicate.DupField10

none

### LogReceiver ###

bcg.logReceiver.queue

WBIC/datalogQ

JMS 日志接收器队列名

bcg.logReceiver.initial NumberOfReceivers

4

日志接收器数目

bcg.dberrors.queue

WBIC/datalog
ErrorQ

JMS 日志接收器错误队列名

### Alert Engine ###

bcg.alertQueue.queue

WBIC/alertQ

JMS 警报队列名

bcg.alertQReceiver.initial NumberOfReceivers

1

警报接收器数目

bcg.alertQReceiver.maxRetries

100

警报重试最多次数

bcg.alertQReceiver.retryInterval

60000

警报重试的时间间隔(以毫秒计)

bcg.eventAlertQReceiver.queue

WBIC/alert
EventQ

JMS 警报事件队列名

bcg.eventAlertQReceiver. initialNumberOfReceivers\

1

警报事件接收器数目

# Allow this much time after the volume alert end time to record that the doc

# was received in our system, before evaluating the alert:

bcg.volumeAlertScheduler.allowance ForProcessingReceivedDocInMins

10

# These parameters avoid excessive email notifications. If there are more than 'maxNotificationsInInterval'

# in the time interval 'maxNotificationIntervalInMins' for the same alert, alerts are held and batched every

# 'heldAlertsBatchTimeInMins' until no alerts of that type are received for 'minNotificationQuietInterval InMins':

bcg.alertNotifications. maxNotificationsInInterval

10

bcg.alertNotifications. maxNotificationIntervalInMins

30

bcg.alertNotifications. minNotificationQuietInterval InMins

30

bcg.alertNotifications. heldAlertsBatchTimeInMin

30

# Notifications that are returned because of e.g. invalid partner email addresses will go

# to bcg.alertNotifications. mailEnvelopeFrom.

bcg.alertNotifications. mailHost

$ROUTER.ALERT
S.SMTP_RELAY$

SMTP 中继主机

bcg.alertNotifications. mailFrom

$ROUTER.ALERT
S.MAIL_FROM$

警报“发件人”邮件地址

bcg.alertNotifications. mailReplyTo

$ROUTER.ALERT
S.MAIL_FROM$

警报“发件人”邮件地址

bcg.alertNotifications. mailEnvelopeFrom

$ROUTER.ALERT
S.MAIL_FROM$

警报“发件人”邮件地址

# time for running cert expiration event generator

# <minutes> <hour> <class name>

# this runs at 1:13 am:

alert.eventGenerator.schedule

13 1 Certificate
Expiration

### Delivery Manager ###

bcg.delivery.gatewayDirectory

$SHARED_DATA
_DIR$/gateways

网关目录位置

bcg.delivery.smtpHost

$ROUTER.DM.
SMTP_RELAY$

SMTP 邮件主机

bcg.delivery.smtpHostPort

$ROUTER.DM.
SMTP_RELAY.
PORT$

SMTP 邮件端口

bcg.delivery.responseDir

$SHARED_DATA
_DIR$/sync_in

同步目录位置

bcg.delivery.msMaxFileLockLife

180000

锁定一个文件的最大时间(以毫秒计)

bcg.delivery.threadPoolMaxThreads

50

bcg.delivery.gatewayMaxThreads

20

最大网关线程数

bcg.delivery.gwTransportMaxRetries

3

每个网关重试次数

# in millisecs, applies to all gateways

bcg.delivery.gwTransport RetryInterval

3000

网关重试的时间间隔(以毫秒计)

bcg.delivery.queue

WBIC/delivery
ManagerQ

JMS 传递管理器队列名

bcg.deliveryQReceiver. initialNumberOfReceivers

10

网关接收器数目

bcg.delivery.numberOfLoggers

10

# sync response delivery to Response Servlet

bcg.syncdelivery.queue

WBIC/sync
DeliveryManagerQ

JMS 同步传递管理器队列名

bcg.syncdeliveryQReceiver. initialNumberOfReceivers

3

同步传递管理器接收器数目

#bcg.deliveryQReceiver.jmsLog jms.log
bcg.delivery.jmstimeout 60000

# socket timeout for posting in ms

bcg.http.socketTimeout

120000

HTTP 套接字超时

bcg.http.version

1.1

1.0、1.1

HTTP 版本

### RosettaNet ###

bcg.rosettanet.retryWaitTmMS

5000

bcg.rosettanet.strictBoundaryParse

FALSE

true、false

bcg.rosettanet.mimeBoundaryValidate

FALSE

true、false

## If property exists and = "Literal", we expect the x-aux-production to

## literally be "Production", "Test". If property doesn't exist or not

## equal to "Literal", we expect the x-aux-production to be "True" or "False".

## All values are case insensitive.

bcg.rosettanet.globalUsageCode

Literal

Literal、
Production,Test

## If x-aux-production header is not "Production", "Test", "True", or "False",

## and if this property is set to '1', then we will default to the value set

## in property rosettanet.defaultGlbUsageCd.

bcg.rosettanet.default UsageCdOnErr

1

bcg.rosettanet.defaultGlbUsageCd

Production

Production,Test

## If property exist and equals '1', we expect the builder to provide

## x-aux-process-instance-id to be used as the process instance id an

## outbound request.

bcg.rosettanet.useBuilder ProcessInstanceId

1

## If builder provided process-instance-id is invalid (for whatever reason), we

## can generate a new process-instance-id.

bcg.rosettanet.genProcess InstanceIdOnError

1

################

bcg.receiver.persistpath

$SHARED_DATA
_DIR$/router_in/

### RNE ###

bcg.rne.inbound_poll_interval

1000

RosettaNet 引擎轮询时间间隔(以毫秒计)

bcg.rne.in_thread_count

2

RosettaNet 引擎线程计数

bcg.rne.work_size

50

bcg.0A1.fromContactName

$ROUTER.
CONTACT_
NAME$

0A1 联系人名

bcg.0A1.fromEMailAddr

$ROUTER.
CONTACT.
MAIL_FROM$

0A1 电子邮件地址

bcg.0A1.fromPhoneNbr

$ROUTER.
CONTACT.
PHONE_NO$

0A1 电话号码

bcg.0A1.fromFaxNbr

$ROUTER.
CONTACT.
FAX_NO$

0A1 传真号码

## HTTP/S related properties

bcg.http.SSLDebug

FALSE

true、false

## Digital signature related properties

# Possible values: SHA1,MD5

bcg.rosettanet.signature. DigestAlgorithm

SHA1

sha1、md5

该算法用于生成消息摘要。

注:
该属性适用于所有协议。

# Possible values: true, false

bcg.rosettanet.signature. RejectIfFailVal

TRUE

true、false

# Possible values: true, false

bcg.rosettanet.signature. VerifySigner

TRUE

true、false

该属性用于验证签署者。

注:
该属性适用于所有协议。

## Encryption properties

bcg.CRLDir

$SHARED_DATA
_DIR$/security
/crl/

CRL 目录路径

bcg.rosettanet.encrypt. CertDbRefreshInterval

600000

在指定的毫秒之后会重新装入 CRL 和 VTP 证书。

注:
该属性适用于所有协议。

有效值:3des,rc2-40

bcg.rosettanet.encrypt.Algorithm

3des

3des, des, aes, rc2-40

指定用来加密消息的算法。

注:
该属性适用于所有协议。

# Load certificates for validating signatures - used for VTP signature validation

bcg.certs.vtp.CertificateDir

$SHARED_DATA
_DIR$/security
/vtp

## Servlet properties

## HTTP headers to be persisted as meta-data by the receiver servlet.

## All properties beginning with "http.hdrdef" will be

## interpreted as headers to be persisted.

bcg.http.hdrdef.fromID

x-aux-sender-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.toID

x-aux-receiver-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.protocol

x-aux-protocol

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.protocolVersion

x-aux-protocol
-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.process

x-aux-process
-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.processVersion

x-aux-process
-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.msgid

x-aux-msg-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.contentType

content-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.systemMsgId

x-aux-system
-msg-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.RNResponseType

x-rn-response
-type

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.RNVersion

x-rn-version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.productionFlag

x-aux-production

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.provSessionId

x-aux-prov
-session-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.processInstanceId

x-aux-process-
instance-id

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.contentLength

Content-Length

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.as2From

AS2-From

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.as2To

AS2-To

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.as2Version

AS2-Version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.mimeVersion

Mime-Version

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.messageId

Message-ID

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.date

Date

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.from

From

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.subject

Subject

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.content TransferEncoding

Content-Transfer-
Encoding

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.contentDisposition

Content-
Disposition

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.disposition NotificationTo

Disposition-
Notification-To

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.disposition NotificationOptions

Disposition-
Notification-Options

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.receipt DeliveryOption

Receipt-Delivery-
Option

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.toPackagingName

ToPackaging
Name

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

bcg.http.hdrdef.asDocType

ASDocType

持久存储在元数据文件中供 BPE 进行处理的 HTTP 头

# Packaging related properties

# Attachments with one of the following content types will not be base64 encoded

bcg.pkg.sponsor.contenttypes

bcg.pkg.sponsor.
contenttypes

### START of SPONSOR ENGINE ###

bcg.sponsor.inbound_poll_interval

10000

bcg.sponsor.in_thread_count

2

提供引擎的入站线程数

bcg.sponsor.work_size

10

bcg.delivery.sponsor.eventMsgClass

com.ibm.bcg.
delivery.sponsor.
SponsorEvent
Message

### DB proc debug properties###

DBProcDebug

1

数据库调试标志

# Global State engines instance ID

GlobalStateEngInstanceId

bcg

# Possible non rep values#

bcg.nonrep.inbound-doc

true

true、false

为启用入站文档的不可抵赖性

bcg.nonrep.outbound-doc

true

true、false

为启用出站文档的不可抵赖性

# Possible Values 1.0 or 1.1#

wbipackaging_version = 1.0

1.0

1.0、1.1

针对后端集成 XML 封装传输包络。V1.0 针对 V4.2.2 FP1 和较早的版本。V1.1 针对 V4.2.2 FP2 和更高版本。V1.1 包含与附件关联的内容标识。

#ITLM Required Jar Files#

bcg.ITLMJar={INSTALLDIR}/
router/lib/support/
ITLMToolkit.jar

需要许可支持。

bcg.logJar={INSTALLDIR}/
router/lib/support/jlog.jar

需要许可支持。

表 35. router-was.logging.properties 文件内容
缺省值 可能的设置 描述

########## Start log4j Debug Properties ###################

# Possible Categories - debug/info/warn/error/fatal

# Default Category "error", Output to: stdout and RollingFile

debug/info/warn
error/fatal

log4j.rootCategory

error, stdout, RollingFile

所有、关闭、调试、信息、警告、错误和致命

所有容器的根日志记录设置。可以通过设置 log4j.rootCategory=OFF 来关闭日志记录。

log4j.appender.stdout

org.apache.log4j.
ConsoleAppender

使用 Log4J 库的日志记录 java 类

log4j.appender.stdout.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

# Pattern to output the caller's file name and line number.

log4j.appender.stdout.layout. ConversionPattern

%d{DATE} %-5p [%c{1}] [%t] - %m%n

日志文件的记录模式

log4j.appender.RollingFile

org.apache.log4j.
RollingFile
Appender

使用 Log4J 库的日志记录 java 类

# Log File Name

log4j.appender.RollingFile.File

{INSTALL DIR}/
was/profiles/
bcgdocmgr/logs/
bcgdocmgr/
bcg_router.log

循环使用的日志文件名和路径

log4j.appender.RollingFile. MaxFileSize

50000KB

循环日志文件的最大大小

# number of backup files to keep

log4j.appender.RollingFile. MaxBackupIndex

10

循环日志文件的最大数目。

log4j.appender.RollingFile.layout

org.apache.log4j.
PatternLayout

使用 Log4J 库的日志记录 java 类

log4j.appender.RollingFile.layout. ConversionPattern

%d{DATE} %-5p [%c{1}] [%t] - %m%n

日志文件的记录模式

log4j.category.com.ibm.bcg.co.db

错误

#### Added to suppress the generation of unnecessary timing events

#log4j.category.com.ibm.bcg.timing

错误

Copyright IBM Corp. 2003, 2005