定義例
- 〈このページの構成〉
-
MSDTC連携機能を使用しない場合
<configuration>
<configSections>
<section
name="hitachi.opentp1.connector"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
<section
name="hitachi.opentp1.client"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
</configSections>
<hitachi.opentp1.connector>
<common>
<client conf=""/>
<connection pooled="20" active="100"
threshold="80" watchtime="120"
failureInfoSharing="true"
failureCheckInterval="300"/>
<occupation pooled="10"/>
</connection>
<log destination="c:\temp\connectorn" fileSize="1048576"
level="1"/>
<buffer pooling="true">
<largestBufferPool maxCount="5"
threshold="100"/>
<bufferPool size="102400" maxCount="50" threshold="120"/>
<bufferPool size="10240" maxCount="50" threshold="150"/>
</buffer>
<perfCounter use="true"/>
<option maxMessageSize="8"/>
</common>
<profile id="gyoumu2">
<client conf="server2"/>
<connection>
<occupation pooled="10"/>
</connection>
<buffer pooling="true">
<largestBufferPool maxCount="2"/>
<bufferPool size="102400" maxCount="10"/>
</buffer>
</profile>
<profile id="gyoumu3">
<client conf="server3"/>
<connection>
<tcpip keepAlive="true"/>
<occupation pooled="2"/>
</connection>
</profile>
</hitachi.opentp1.connector>
<hitachi.opentp1.client>
<common>
<tp1Server host="hostA"/>
<tp1Server host="hostB"/>
<rpc use="nam" watchTime="0"/>
<nameService port="10000"/>
</common>
<profile id="traceMode">
<errTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<methodTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<uapTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<dataTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
</profile>
<profile id="server2">
<tp1Server host="hostA"/>
<rpc use="nam" watchTime="0"/>
<nameService port="10000"/>
</profile>
<profile id="server3">
<tcpip use="true"
type="sendrecv"
sendHost="hostB"
sendPort="20000"
openPortAtRecv="true"/>
</profile>
</hitachi.opentp1.client>
</configuration>
<configuration>
<configSections>
<section
name="hitachi.opentp1.connector"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
<section
name="hitachi.opentp1.client"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
</configSections>
<hitachi.opentp1.connector>
<common>
<client conf=""/>
<connection pooled="20" active="100"
threshold="80" watchtime="120"
failureInfoSharing="true"
failureCheckInterval="300"/>
<occupation pooled="10"/>
</connection>
<log destination="c:\temp\connectorn" fileSize="1048576"
level="1"/>
<buffer pooling="true" create="false">
<largestBufferPool maxCount="5"
threshold="100"/>
<bufferPool size="102400" maxCount="50" threshold="120"/>
<bufferPool size="10240" maxCount="50" threshold="150"/>
</buffer>
<perfCounter use="true"/>
<option maxMessageSize="8"/>
</common>
<profile id="gyoumu2">
<client conf="server2"/>
<connection>
<occupation pooled="10"/>
</connection>
<buffer pooling="true">
<largestBufferPool maxCount="2"/>
<bufferPool size="102400" maxCount="10"/>
</buffer>
</profile>
<profile id="gyoumu3">
<client conf="server3"/>
<connection>
<tcpip keepAlive="true"/>
<occupation pooled="2"/>
</connection>
</profile>
</hitachi.opentp1.connector>
<hitachi.opentp1.client>
<common>
<tp1Server host="hostA"/>
<tp1Server host="hostB"/>
<rpc use="nam" watchTime="0"/>
<nameService port="10000"/>
</common>
<profile id="traceMode">
<errTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<methodTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<uapTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<dataTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
</profile>
<profile id="server2">
<tp1Server host="hostA"/>
<rpc use="nam" watchTime="0"/>
<nameService port="10000"/>
</profile>
<profile id="server3">
<tcpip use="true"
type="sendrecv"
sendHost="hostB"
sendPort="20000"
openPortAtRecv="true"/>
</profile>
</hitachi.opentp1.client>
</configuration>
ページの先頭へ
MSDTC連携機能を使用した場合(アプリケーションの構成定義の設定例)
<configuration>
<configSections>
<section
name="hitachi.opentp1.connector"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
<section
name="hitachi.opentp1.client"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
</configSections>
<hitachi.opentp1.connector>
<common>
<client conf=""/>
<connection pooled="20" active="100"
threshold="80" watchtime="120"
failureInfoSharing="true"
failureCheckInterval="300"/>
<connection pooled="10"/>
</connection>
<log destination="c:\temp\connectorn" fileSize="1048576"
level="2"/>
<buffer pooling="true" create="false">
<largestBufferPool maxCount="5" threshold="100"/>
<bufferPool size="102400" maxCount="50" threshold="120"/>
<bufferPool size="10240" maxCount="50" threshold="150"/>
</buffer>
<perfCounter use="true"/>
<option maxMessageSize="8"/>
<distributedTransaction use="true"
nodeId="18AF5B57-FED5-4522-9B0B-94FBDDDD3EA4"
optimize1PC="false"
recoverRetryInterval="10"/>
</common>
</hitachi.opentp1.connector>
<hitachi.opentp1.client>
<common>
<tp1Server host="hostA"/>
<rpc use="rap" watchTime="180"/>
<rapService port="10020" autoConnect="true"/>
</common>
<profile id="traceMode">
<errTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<methodTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<uapTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
<dataTrace use="true" path="c:\temp\clientn"
fileSize="100000"/>
</profile>
</hitachi.opentp1.client>
</configuration>
ページの先頭へ
MSDTC連携機能を使用した場合(トランザクションリカバリサービスの構成定義の設定例1)
<configuration>
<configSections>
<section
name="hitachi.opentp1.connector"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
<section
name="hitachi.opentp1.client"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,Culture=neutral,
PublicKeyToken=2440cf5f0d80c91c,Custom=null"/>
</configSections>
<hitachi.opentp1.connector>
<common>
<client conf=""/>
<connection pooled="1" active="1" watchtime="120"/>
<log destination="c:\temp\connectorn\trs" fileSize="1048576"
level="2"/>
<recoveryService nodeId=
"18AF5B57-FED5-4522-9B0B-94FBDDDD3EA4"
appDomainCheckInterval="10"
recoverRetryInterval="10"
recoverCheckInterval="180"
recoverCheckCount="3"/>
rmidStoragePath=
"C:\Program Files\Hitachi\
TP1Connector for .NET Framework\trs\rmid"/>
</common>
</hitachi.opentp1.connector>
<hitachi.opentp1.client>
<common>
<tp1Server host="hostA"/>
<rpc use="rap" watchTime="180"/>
<rapService port="10020" autoConnect="true"/>
<errTrace use="true" path="c:\temp\clientn\trs"
fileSize="100000"/>
</common>
</hitachi.opentp1.client>
ページの先頭へ
MSDTC連携機能を使用した場合(トランザクションリカバリサービスの構成定義の設定例2)
<configuration>
<configSections>
<section
name="hitachi.opentp1.connector"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,PublicKeyToken=2440cf5f0d80c91c,
Custom=null"/>
<section
name="hitachi.opentp1.client"
type="Hitachi.OpenTP1.Common.Util.ProfileSectionHandler,
Hitachi.OpenTP1.Client,Version=7.0.0.0,
Culture=neutral,
PublicKeyToken=2440cf5f0d80c91c,Custom=null"/>
</configSections>
<hitachi.opentp1.connector>
<common>
<client conf=""/>
<connection pooled="2" active="2" watchtime="120"/>
<log destination="c:\temp\connectorn\trs"
fileSize="1048576" level="2"/>
<recoveryService nodeId=
"18AF5B57-FED5-4522-9B0B-94FBDDDD3EA4"
appDomainCheckInterval="10"
recoverRetryInterval="10"
recoverCheckInterval="180"
recoverCheckCount="3"
rmidStoragePath=
"C:\Program Files\Hitachi\
TP1Connector for .NET Framework\trs\rmid"/>
profiles="tp1Server1,tp1Server2"/>
</common>
<profile id="tp1Server1">
<client conf="server1"/>
<connection>
<connection pooled="1"/>
</connection>
</profile>
<profile id="tp1Server2">
<client conf="server2"/>
<connection>
<connection pooled="1"/>
</connection>
</profile>
</hitachi.opentp1.connector>
<hitachi.opentp1.client>
<common>
<errTrace use="true" path="c:\temp\clientn\trs"
fileSize="100000"/>
</common>
<profile id="server1">
<tp1Server host="hostA"/>
<rpc use="rap" watchTime="180"/>
<rapService port="10020" autoConnect="true"/>
</profile>
<profile id="server2">
<tp1Server host="hostB"/>
<rpc use="rap" watchTime="180"/>
<rapService port="10020" autoConnect="true"/>
</profile>
</hitachi.opentp1.client>
ページの先頭へ