[英]How to record a Java Web Start Application using Rational Functional Tester
[英]How to start a Java Web application using Http Plataform Handler on IIS?
基於這篇文章https://azure.microsoft.com/en-us/blog/annoucing-the-release-of-the-httpplatformhandler-module-for-iis-8/我一步一步地按照說明進行操作,但是沒有成功。 我已經有一個 ISS 10.0 服務器,我嘗試過:
網頁配置:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers accessPolicy="Read, Write, Execute, Script"> <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" /> </handlers> <httpPlatform processPath="C:\\dev\\javasites\\bin\\apache-tomcat-8.0.39\\bin\\startup.bat" arguments="" stdoutLogEnabled="true" stdoutLogFile="\\\\?c:\\dev\\javasites\\log.txt"> <environmentVariables> <environmentVariable name="JRE_HOME" value="C:\\Program Files\\Java\\jdk1.8.0_111" /> <environmentVariable name="CATALINA_HOME" value="c:\\dev\\javasites\\bin\\apache-tomcat-8.0.39" /> </environmentVariables> </httpPlatform> </system.webServer> </configuration>
我已經嘗試過:
沒有來自請求的任何錯誤代碼,我看不出我做錯了什么。
根據你的描述,根據我的理解,聽起來你是想使用IIS HttpPlatform handler來啟動Tomcat實例,但是我不知道環境是托管在Azure App Service上還是只托管在Windows上。
如果您需要在 Azure 應用服務的控制范圍內手動配置和使用 Tomcat,我認為將Upload a custom Java web app to Azure
的文檔對您將 Tomcat 實例和 Java WebApp 上傳到wwwroot
路徑並配置web.config
非常有幫助web.config
以使其與 IIS 一起啟動。
但是,如果您只想使用 IIS 配置 Tomcat 以啟動和工作,則需要參考文檔The Apache Tomcat Connectors - Web Server HowTo
for IIS 來嘗試執行此操作。
希望能幫助到你。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.