I'm running a Windows 2019 server, and have tried adding the following handler in web.config
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="C:\Program Files\Java\jdk1.8.0_261\bin\java.exe" arguments="-Djava.net.preferIPv4Stack=true -Djetty.port=%HTTP_PLATFORM_PORT% -Djetty.base="c:\tools\jetty" -jar "c:\tools\jetty\start.jar"" startupTimeLimit="20" startupRetryCount="10" stdoutLogEnabled="true">
</httpPlatform>
</system.webServer>
However, when I try and load a page I'm getting Internal Server Error 500
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Error This configuration section cannot be used at this path. This happens when the
section is locked at a parent level. Locking is either by default
(overrideModeDefault="Deny"), or set explicitly by a location tag with
overrideMode="Deny" or the legacy allowOverride="false".
Config Source:
3: <system.webServer>
4: <handlers>
5: <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler"
resourceType="Unspecified" />
I'm not sure what to try next as I followed the instructions as per HttpPlatformHandler and Java web applications
Also, if I try and view my Handler Mappings
in IIS I get
User contributions licensed under CC BY-SA 3.0