在IIS上运行Java WebApp [英] Running java webapp on iis
问题描述
这是我要发布的第一个问题
this is my first question i am posting
问题::我正在使用helicon zoo在iis服务器上运行java webapp(以此作为参考:::
PROBLEM:: i am using helicon zoo for running java webapp on iis server(using this as reference ::run java servlet on IIS), but i am facing some problems
我将我的应用程序目录放置在 c:/inetpub/wwwroot/myapp
(包括web-inf)中然后里面的 web.config
我的 web.config
看起来像::
i put my app directory in c:/inetpub/wwwroot/myapp
(it includes web-inf)
then web.config
inside it
My web.config
looks like::
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="jetty.project" >
<environmentVariables>
<add name="CONTEXT_PATH" value="%APPL_VIRTUAL_PATH%" />
<add name="WAR_EXTRACT_PATH" value="%APPL_PHYSICAL_PATH%" />
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="jetty.project#x86" scriptProcessor="java.jetty" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="jetty.project#x64" scriptProcessor="java.jetty" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
</system.webServer>
</configuration>
和iis显示以下错误:
and iis showing following error::
HTTP Error 500.21 - Internal Server Error
Handler "jetty.project#x64" has a bad module "HeliconZoo_x64" in its module list
任何人都可以帮助我..
can anyone help me..
哦,我还安装了Visual Studio.
oh one more thing i have visual studio installed.
推荐答案
问题出在web.config文件中.为战争档案提供适当的路径可以解决该问题.
the problem was in web.config file. giving proper path for war file solved the issue.
和HTTP错误500.21-内部服务器错误处理程序"jetty.project#x64"的模块列表中有一个错误的模块"HeliconZoo_x64"
and for HTTP Error 500.21 - Internal Server Error Handler "jetty.project#x64" has a bad module "HeliconZoo_x64" in its module list
此错误已重新安装Web安装程序
this error reinstalled web installer
这篇关于在IIS上运行Java WebApp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!