| 1 | <!-- ============================================= |
|---|
| 2 | Connector (file/http) |
|---|
| 3 | ============================================= --> |
|---|
| 4 | <group |
|---|
| 5 | id="6" |
|---|
| 6 | name="Connector" |
|---|
| 7 | short-name="CON" |
|---|
| 8 | package="org.jcoderz.commons.connector" |
|---|
| 9 | base-exception="org.jcoderz.commons.BaseException" |
|---|
| 10 | base-runtime-exception="org.jcoderz.commons.BaseRuntimeException" |
|---|
| 11 | service="NONE"> |
|---|
| 12 | <message |
|---|
| 13 | id="1" |
|---|
| 14 | name="CONNECTION_REQUEST_FAILED" |
|---|
| 15 | level="SEVERE" |
|---|
| 16 | base-exception="org.jcoderz.commons.connector.ConnectorException" |
|---|
| 17 | business-impact="UNDEFINED" |
|---|
| 18 | category="TECHNICAL"> |
|---|
| 19 | <text> |
|---|
| 20 | Failure whilst sending a request to {org.jcoderz.commons.types.Url:url}. |
|---|
| 21 | </text> |
|---|
| 22 | <solution> |
|---|
| 23 | Review the nested exception(s) to determine the problem that led |
|---|
| 24 | to the error condition. |
|---|
| 25 | </solution> |
|---|
| 26 | </message> |
|---|
| 27 | <message |
|---|
| 28 | id="2" |
|---|
| 29 | name="CONNECTION_RESPONSE_FAILED" |
|---|
| 30 | level="SEVERE" |
|---|
| 31 | base-exception="org.jcoderz.commons.connector.ConnectorException" |
|---|
| 32 | business-impact="UNDEFINED" |
|---|
| 33 | category="TECHNICAL"> |
|---|
| 34 | <text> |
|---|
| 35 | Failure whilst receiving a response from {org.jcoderz.commons.types.Url:url}. |
|---|
| 36 | </text> |
|---|
| 37 | <solution> |
|---|
| 38 | Review the nested exception(s) to determine the problem that led |
|---|
| 39 | to the error condition. |
|---|
| 40 | </solution> |
|---|
| 41 | </message> |
|---|
| 42 | <message |
|---|
| 43 | id="3" |
|---|
| 44 | name="CONNECTION_TIMEOUT_ERROR" |
|---|
| 45 | level="SEVERE" |
|---|
| 46 | base-exception="org.jcoderz.commons.connector.ConnectorException" |
|---|
| 47 | business-impact="UNDEFINED" |
|---|
| 48 | category="TECHNICAL"> |
|---|
| 49 | <text> |
|---|
| 50 | Connection timeout whilst waiting for response from {org.jcoderz.commons.types.Url:url}. |
|---|
| 51 | Previous failures are {String:failures}. |
|---|
| 52 | </text> |
|---|
| 53 | <solution> |
|---|
| 54 | Review the nested exception(s) to determine the problem that led |
|---|
| 55 | to the error condition. |
|---|
| 56 | </solution> |
|---|
| 57 | </message> |
|---|
| 58 | <message |
|---|
| 59 | id="4" |
|---|
| 60 | name="CREATING_CONNECTOR_FAILED" |
|---|
| 61 | level="SEVERE" |
|---|
| 62 | base-exception="org.jcoderz.commons.connector.ConnectionRequestFailedException" |
|---|
| 63 | business-impact="UNDEFINED" |
|---|
| 64 | category="TECHNICAL"> |
|---|
| 65 | <text> |
|---|
| 66 | Creating a container managed http connection failed to {org.jcoderz.commons.types.Url:url}. |
|---|
| 67 | </text> |
|---|
| 68 | <solution> |
|---|
| 69 | Review the nested exception(s) to determine the problem that led |
|---|
| 70 | to the error condition. |
|---|
| 71 | </solution> |
|---|
| 72 | </message> |
|---|
| 73 | <message |
|---|
| 74 | id="5" |
|---|
| 75 | name="INITIALIZING_SSL_FAILED" |
|---|
| 76 | level="SEVERE" |
|---|
| 77 | category="SECURITY" |
|---|
| 78 | base-exception="org.jcoderz.commons.BaseRuntimeException"> |
|---|
| 79 | <text> |
|---|
| 80 | Initializing SSL for outgoing connections failed with reason {String:reason}. |
|---|
| 81 | </text> |
|---|
| 82 | <solution> |
|---|
| 83 | Check the keystore in use. If appropriate set a new ssl keystore for the |
|---|
| 84 | system via Administration Tool command 'setSslCertificateStore'. |
|---|
| 85 | </solution> |
|---|
| 86 | </message> |
|---|
| 87 | |
|---|
| 88 | <configEntry furtherChangeRestricted="false"> |
|---|
| 89 | <key>sslKeyAlias</key> |
|---|
| 90 | <description> |
|---|
| 91 | The name of the key used for SSL connections |
|---|
| 92 | established by the http connector. |
|---|
| 93 | This key is stored in the keystore defined by the |
|---|
| 94 | Signature Service as is located in the table SIG_KEYSTORE. |
|---|
| 95 | </description> |
|---|
| 96 | <type>String</type> |
|---|
| 97 | <serializeMethod></serializeMethod> |
|---|
| 98 | <deserializeMethod></deserializeMethod> |
|---|
| 99 | <defaultValue>ssl</defaultValue> |
|---|
| 100 | <roles>Admin</roles> |
|---|
| 101 | </configEntry> |
|---|
| 102 | <configEntry furtherChangeRestricted="false"> |
|---|
| 103 | <key>sslKeyAliasPassword</key> |
|---|
| 104 | <description> |
|---|
| 105 | The password of the key used for SSL connections |
|---|
| 106 | established by the connector. |
|---|
| 107 | See also configuration entry "sslKeyAlias". |
|---|
| 108 | </description> |
|---|
| 109 | <type>String</type> |
|---|
| 110 | <serializeMethod></serializeMethod> |
|---|
| 111 | <deserializeMethod></deserializeMethod> |
|---|
| 112 | <defaultValue>sslssl</defaultValue> |
|---|
| 113 | <roles>Admin</roles> |
|---|
| 114 | </configEntry> |
|---|
| 115 | <configEntry furtherChangeRestricted="false"> |
|---|
| 116 | <key>amountOfTriesForwardingRequest</key> |
|---|
| 117 | <description> |
|---|
| 118 | The number of attempts the http connector performs to connect |
|---|
| 119 | the specified target system. |
|---|
| 120 | This value is valid for all connector retry settings. |
|---|
| 121 | If this value is changed it will be taken into account for new |
|---|
| 122 | connections (not pooled connections). |
|---|
| 123 | </description> |
|---|
| 124 | <type>int</type> |
|---|
| 125 | <serializeMethod>toString</serializeMethod> |
|---|
| 126 | <deserializeMethod>valueOf</deserializeMethod> |
|---|
| 127 | <defaultValue>3</defaultValue> |
|---|
| 128 | <roles>Admin</roles> |
|---|
| 129 | </configEntry> |
|---|
| 130 | <configEntry furtherChangeRestricted="false"> |
|---|
| 131 | <key>connectTimeoutInMilliSeconds</key> |
|---|
| 132 | <description> |
|---|
| 133 | The timeout for creating connections to target systems used by |
|---|
| 134 | the http connector in milliseconds. |
|---|
| 135 | If this value is changed it will be taken into account for new |
|---|
| 136 | connections (not pooled connections). |
|---|
| 137 | See also T-NR-P-104. |
|---|
| 138 | Check also readTimeoutInMilliSeconds if you |
|---|
| 139 | change this value. |
|---|
| 140 | </description> |
|---|
| 141 | <type>int</type> |
|---|
| 142 | <serializeMethod></serializeMethod> |
|---|
| 143 | <deserializeMethod></deserializeMethod> |
|---|
| 144 | <defaultValue>6000</defaultValue> |
|---|
| 145 | <roles>Admin</roles> |
|---|
| 146 | </configEntry> |
|---|
| 147 | <configEntry furtherChangeRestricted="false"> |
|---|
| 148 | <key>readTimeoutInMilliSeconds</key> |
|---|
| 149 | <description> |
|---|
| 150 | The timeout for reading response messages from target systems used |
|---|
| 151 | by the http connector in milliseconds. |
|---|
| 152 | If this value is changed it will be taken into account for new |
|---|
| 153 | connections (not pooled connections). |
|---|
| 154 | See also T-NR-P-104. |
|---|
| 155 | Check also connectTimeoutInMilliSeconds if you change this value. |
|---|
| 156 | </description> |
|---|
| 157 | <type>int</type> |
|---|
| 158 | <serializeMethod></serializeMethod> |
|---|
| 159 | <deserializeMethod></deserializeMethod> |
|---|
| 160 | <defaultValue>6000</defaultValue> |
|---|
| 161 | <roles>Admin</roles> |
|---|
| 162 | </configEntry> |
|---|
| 163 | <configEntry furtherChangeRestricted="false"> |
|---|
| 164 | <key>connectionErrorRetryDelayInMilliSeconds</key> |
|---|
| 165 | <description> |
|---|
| 166 | The delay in milliseconds before retry getting managed connection |
|---|
| 167 | after a ResourceException whilst getConnection. |
|---|
| 168 | </description> |
|---|
| 169 | <type>int</type> |
|---|
| 170 | <serializeMethod>toString</serializeMethod> |
|---|
| 171 | <deserializeMethod>valueOf</deserializeMethod> |
|---|
| 172 | <defaultValue>1000</defaultValue> |
|---|
| 173 | <roles>Admin</roles> |
|---|
| 174 | </configEntry> |
|---|
| 175 | <configEntry furtherChangeRestricted="false"> |
|---|
| 176 | <key>httpClientErrorResendDelayInMilliSeconds</key> |
|---|
| 177 | <description> |
|---|
| 178 | The delay in milliseconds before resending request |
|---|
| 179 | after an http client error (4xx). |
|---|
| 180 | See also httpClientErrorResendFlag and |
|---|
| 181 | amountOfTriesForwardingRequest. |
|---|
| 182 | Keep in mind that the requesting (client) system also has a |
|---|
| 183 | timeout, waiting for the answer. The value for this timeout |
|---|
| 184 | currently defaults to 6 seconds. |
|---|
| 185 | If this value is changed it will be taken into account for new |
|---|
| 186 | connections (not pooled connections). |
|---|
| 187 | </description> |
|---|
| 188 | <type>int</type> |
|---|
| 189 | <serializeMethod>toString</serializeMethod> |
|---|
| 190 | <deserializeMethod>valueOf</deserializeMethod> |
|---|
| 191 | <defaultValue>1000</defaultValue> |
|---|
| 192 | <roles>Admin</roles> |
|---|
| 193 | </configEntry> |
|---|
| 194 | <configEntry furtherChangeRestricted="false"> |
|---|
| 195 | <key>httpServerErrorResendDelayInMilliSeconds</key> |
|---|
| 196 | <description> |
|---|
| 197 | The delay in milliseconds before resending request |
|---|
| 198 | after an http server error (5xx). |
|---|
| 199 | The delay is to give the target system the chance to recover from |
|---|
| 200 | an error situation. |
|---|
| 201 | See also httpServerErrorResendFlag and |
|---|
| 202 | amountOfTriesForwardingRequest. |
|---|
| 203 | Keep in mind that the requesting (client) system also has a |
|---|
| 204 | timeout, waiting for the answer. The value for this timeout |
|---|
| 205 | currently defaults to 6 seconds. |
|---|
| 206 | If this value is changed it will be taken into account for new |
|---|
| 207 | connections (not pooled connections). |
|---|
| 208 | </description> |
|---|
| 209 | <type>int</type> |
|---|
| 210 | <serializeMethod>toString</serializeMethod> |
|---|
| 211 | <deserializeMethod>valueOf</deserializeMethod> |
|---|
| 212 | <defaultValue>1000</defaultValue> |
|---|
| 213 | <roles>Admin</roles> |
|---|
| 214 | </configEntry> |
|---|
| 215 | <configEntry furtherChangeRestricted="false"> |
|---|
| 216 | <key>httpReadTimeoutErrorResendDelayInMilliSeconds</key> |
|---|
| 217 | <description> |
|---|
| 218 | The delay in milliseconds before resending request |
|---|
| 219 | after a timeout reading the response. |
|---|
| 220 | The delay is to give the target system the chance to recover from |
|---|
| 221 | an error situation. |
|---|
| 222 | See also httpReadTimeoutErrorResendFlag and |
|---|
| 223 | amountOfTriesForwardingRequest. |
|---|
| 224 | Keep in mind that the requesting (client) system also has a |
|---|
| 225 | timeout, waiting for the answer. The value for this timeout |
|---|
| 226 | currently defaults to 6 seconds. |
|---|
| 227 | If this value is changed it will be taken into account for new |
|---|
| 228 | connections (not pooled connections). |
|---|
| 229 | </description> |
|---|
| 230 | <type>int</type> |
|---|
| 231 | <serializeMethod>toString</serializeMethod> |
|---|
| 232 | <deserializeMethod>valueOf</deserializeMethod> |
|---|
| 233 | <defaultValue>1000</defaultValue> |
|---|
| 234 | <roles>Admin</roles> |
|---|
| 235 | </configEntry> |
|---|
| 236 | <configEntry furtherChangeRestricted="false"> |
|---|
| 237 | <key>httpClientErrorResendFlag</key> |
|---|
| 238 | <description> |
|---|
| 239 | Flag indicating resend of message after http client error (4xx). |
|---|
| 240 | See also httpClientErrorResendDelayInMilliSeconds and |
|---|
| 241 | amountOfTriesForwardingRequest. |
|---|
| 242 | If this value is changed it will be taken into account for new |
|---|
| 243 | connections (not pooled connections). |
|---|
| 244 | </description> |
|---|
| 245 | <type>boolean</type> |
|---|
| 246 | <serializeMethod></serializeMethod> |
|---|
| 247 | <deserializeMethod></deserializeMethod> |
|---|
| 248 | <defaultValue>false</defaultValue> |
|---|
| 249 | <roles>Admin</roles> |
|---|
| 250 | </configEntry> |
|---|
| 251 | <configEntry furtherChangeRestricted="false"> |
|---|
| 252 | <key>httpServerErrorResendFlag</key> |
|---|
| 253 | <description> |
|---|
| 254 | Flag indicating resend of message after http server error (5xx). |
|---|
| 255 | See also httpServerErrorResendDelayInMilliSeconds and |
|---|
| 256 | amountOfTriesForwardingRequest. |
|---|
| 257 | If this value is changed it will be taken into account for new |
|---|
| 258 | connections (not pooled connections). |
|---|
| 259 | </description> |
|---|
| 260 | <type>boolean</type> |
|---|
| 261 | <serializeMethod></serializeMethod> |
|---|
| 262 | <deserializeMethod></deserializeMethod> |
|---|
| 263 | <defaultValue>true</defaultValue> |
|---|
| 264 | <roles>Admin</roles> |
|---|
| 265 | </configEntry> |
|---|
| 266 | <configEntry furtherChangeRestricted="false"> |
|---|
| 267 | <key>httpReadTimeoutErrorResendFlag</key> |
|---|
| 268 | <description> |
|---|
| 269 | Flag indicating resend of message after timeout reading |
|---|
| 270 | the response. |
|---|
| 271 | See also httpReadTimeoutErrorResendDelayInMilliSeconds and |
|---|
| 272 | amountOfTriesForwardingRequest. |
|---|
| 273 | If this value is changed it will be taken into account for new |
|---|
| 274 | connections (not pooled connections). |
|---|
| 275 | </description> |
|---|
| 276 | <type>boolean</type> |
|---|
| 277 | <serializeMethod></serializeMethod> |
|---|
| 278 | <deserializeMethod></deserializeMethod> |
|---|
| 279 | <defaultValue>true</defaultValue> |
|---|
| 280 | <roles>Admin</roles> |
|---|
| 281 | </configEntry> |
|---|
| 282 | <configEntry furtherChangeRestricted="true"> |
|---|
| 283 | <key>fileTempDir</key> |
|---|
| 284 | <description> |
|---|
| 285 | The temporary-file directory to be used by the File System Connector. |
|---|
| 286 | </description> |
|---|
| 287 | <type>String</type> |
|---|
| 288 | <serializeMethod></serializeMethod> |
|---|
| 289 | <deserializeMethod></deserializeMethod> |
|---|
| 290 | <defaultValue>/tmp</defaultValue> |
|---|
| 291 | <roles>Admin</roles> |
|---|
| 292 | </configEntry> |
|---|
| 293 | |
|---|
| 294 | </group> |
|---|