This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
web.config
67 lines (56 loc) · 4.27 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*"
modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<!--
HttpPlatform configuration
- - - - - - - - - - - - - -
processPath - path to the executable or script that will
launch a process listening for Http requests.
examples:
1. %JAVA_HOME%\bin\java.exe
2. d:\home\site\wwwroot\bin\tomcat\bin\startup.bat
3. d:\home\site\wwwroot\bin\tomcat\bin\catalina.bat
arguments - (default="") arguments to the executable or
script specified in 'processPath' setting.
examples:
1. processPath="d:\home\site\wwwroot\bin\tomcat\bin\catalina.bat"
arguments="start"
2. processPath="%JAVA_HOME\bin\java.exe"
arguments="-Djava.net.preferIPv4Stack=true
-Djetty.port=%HTTP_PLATFORM_PORT%
-Djetty.base="d:\home\site\wwwroot\bin\jetty-distribution-9.1.0.v20131115"
-jar "d:\home\site\wwwroot\bin\jetty-distribution-9.1.0.v20131115\start.jar""
startupTimeLimit - (default=10seconds) Duration for which
HttpPlatformHandler will wait for the executable/script
to start a process listening on the port.
If this time limit is exceeded, httpPlatformHandler will
kill the process and try to launch it again
'startupRetryCount' times.
startupRetryCount - (default=10) Number of times HttpPlatformHandler will try
to launch process specified in processPath.
(please see startupTimeLimit for more details).
rapidFailsPerMinute - (default=10) Number of times the process specified in processPath
is allowed to crash per minute. If this limit is exceeded,
HttpPlatformHandler will stop launching the process for that minute.
requestTimeout - (default="00:02:00") Duration for which HttpPlatformHandler will
wait for a response from the process listening on
%HTTP_PLATFORM_PORT%.
stdoutLogEnabled - (default="true") stdout and stderr of the process specified in
'processPath' setting will be redirected to a file specified in
'stdoutLogFile' (see below).
stdoutLogFile - (default='d:\home\LogFiles\httpPlatformStdout.log')
absolute file path to the file where stdout/stderr from process
specified in processPath will be logged.
NOTE: %HTTP_PLATFORM_PORT% is a special placeholder which needs to specified either as part of
'arguments' or part of the httpPlatform 'environmentVariable' list - This will be replaced
by an internally generated PORT by HttpPlatformHandler so that the process specified in
'processPath' setting can listen on this port.
-->
<httpPlatform processPath="%AZURE_TOMCAT7_HOME%\bin\startup.bat"
startupTimeLimit="30" />
</system.webServer>
</configuration>