How to set Connector (Connect Soap/http) timeout setting in prconfig.xml?
We want to set connection timeout to a specific interval (lets say 30 sec) for all external connectors called from pega. We have connect soap and http services. Please let us know what is the dss setting that needs to be set in prconfig file. If the external system does not respond within 30 sec, we want to abort the request and proceed with the flow. Currently if external system takes long to respond the thread still runs and throws error in logs (Thread "WebContainer : 8" (00000052) has been active for 653216 milliseconds and may be hung.)
Below is my prconfig.xml file where i don't see any setting like that.
<!-- Settings and comments from the prconfig.xml file -->
<!-- This is a minimum format prconfig.xml file. Only the settings which are required to access settings in the database are included.
All other settings which were formerly located only in this file are now Data-Admin-System-Settings. -->
<env name="initialization/settingsource" value="merged" />
<env name="database/databases/PegaRULES/dataSource" value="java:comp/env/jdbc/PegaRULES"/>
<env name="database/databases/PegaDATA/dataSource" value="java:comp/env/jdbc/PegaRULES"/>
<!-- Most nodes have a 'default' classification and for these nodes, no additional changes need to be made to this file. However,
if this is node has a non-general purpose, for example: 'Agent', then the node classification setting should be added to this file. -->
<!--env name="initialization/nodeclassification" value="Agent" / -->
<!-- Settings can still be put in this file. If they are, then the value in this file will override the value in the database
for this node. This is useful for settings which are specific to this node and should not be shared by multiple nodes on this
Pegasystems recommends that you use Application Server connection pooling to the database for Websphere and
Weblogic. These examples are provided if you need to use Pega Connection Pooling for Tomcat or for testing purposes.
If you are using Application server connection pooling, there is no longer a need to edit this file.
****The new format for this file is only valid if you are using Application Server connection pooling. If you are not, please replace
this file with an older version. ***
Oracle 10g (Type 4) oracle.jdbc.OracleDriver jdbc:oracle:thin:@serverName:1521:db
IBM DB/2 Type 4 com.ibm.db2.jcc.DB2Driver jdbc:db2://serverName:port/dbName
SQL Server 2005 com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc:sqlserver://serverName:1433;SelectMethod=cursor;SendStringParametersAsUnicode=false
Thanks all for your reply..We had more than 100 connectors, so we wanted to set it at one common place such that it can be regulated from one common place rather than modifying individual connectors. To achieve this we have overriden the pySoapTimeout property(from a dss setting) in invokeAxis2 activity and pyHttpTimeout property (from another dss) in invoke activity in application ruleset version. In prconfig file there is no such setting.