[英]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.