Running java webapp on iis
7 posts
• Page 1 of 1
Running java webapp on iis
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
i put my app directory in 'c:/inetpub/wwwroot/myapp'(it includes web-inf) then web.config inside it My web.config looks like::
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..
oh one more thing i have visual studio and i have win7 professional 64 bit installed
i put my app directory in 'c:/inetpub/wwwroot/myapp'(it includes web-inf) then web.config inside it My web.config looks like::
- Code: Select all
<?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>
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..
oh one more thing i have visual studio and i have win7 professional 64 bit installed
Re: Running java webapp on iis
"Handler "jetty.project#x64" has a bad module "HeliconZoo_x64" in its module list"
- this means that Zoo is not installed, please re-install
Also, in this line <add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%" />
the path to war-file should be specified as follows:
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%\youapp.war" />
- this means that Zoo is not installed, please re-install
Also, in this line <add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%" />
the path to war-file should be specified as follows:
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%\youapp.war" />
Re: Running java webapp on iis
HI,
Thanks for the quick reply.
actually i have reinstalled webInstaller and add the zoo feeds as mentioned at
http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
and i am facing the same problem.
and it shows icon of webInstaller in IIS manager.
Let me explain properly..
1. i have my webapp structure in 'wwwroot' folder(actually it is a folderStructure, it is not war file).
i tried same thing with .war file also and its showing same error.
Or maybe describe how to install zoo shortly.
Oh one more thing is it compulsory to install visualstudio(.net) installed ??
Thanks!
Thanks for the quick reply.
actually i have reinstalled webInstaller and add the zoo feeds as mentioned at
http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
and i am facing the same problem.
and it shows icon of webInstaller in IIS manager.
Let me explain properly..
1. i have my webapp structure in 'wwwroot' folder(actually it is a folderStructure, it is not war file).
i tried same thing with .war file also and its showing same error.
Or maybe describe how to install zoo shortly.
Oh one more thing is it compulsory to install visualstudio(.net) installed ??
Thanks!
Re: Running java webapp on iis
yeah!
IIS found that helicon and jetty modules.
but now i am facing following erro
may be i have to set environmental variables or that kinda stuff(env var are already set).
IIS found that helicon and jetty modules.
but now i am facing following erro
- Code: Select all
HTTP ERROR: 404
Problem accessing /myWeb. Reason:
Not Found
Powered by Jetty://
may be i have to set environmental variables or that kinda stuff(env var are already set).
Re: Running java webapp on iis
Actually it is extracting .war file properly but problem with jetty error as mentioned above::
does someone know how to solve this ??
and i have some questions::
1. is it necessary to initialize jetty externally ?
2. visual studio(dot net) installation is compulsory ?
3. do i have to run IIS and tomcat side by side to perform this ?
Thanks in adv !!
does someone know how to solve this ??
and i have some questions::
1. is it necessary to initialize jetty externally ?
2. visual studio(dot net) installation is compulsory ?
3. do i have to run IIS and tomcat side by side to perform this ?
Thanks in adv !!
Re: Running java webapp on iis
Hello,
if "my webapp structure in 'wwwroot' folder(actually it is a folderStructure, it is not war file)." then you might have an application from jsp-files and then you need to use different engine - java.appdir
Here's the example of web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="jetty.jsp.project">
<environmentVariables>
<add name="CONTEXT_PATH" value="%APPL_VIRTUAL_PATH%" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="jetty.jsp.project#x86" scriptProcessor="java.appdir" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="jetty.jsp.project#x64" scriptProcessor="java.appdir" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<defaultDocument>
<files>
<add value="index.jsp" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
if "my webapp structure in 'wwwroot' folder(actually it is a folderStructure, it is not war file)." then you might have an application from jsp-files and then you need to use different engine - java.appdir
Here's the example of web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="jetty.jsp.project">
<environmentVariables>
<add name="CONTEXT_PATH" value="%APPL_VIRTUAL_PATH%" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="jetty.jsp.project#x86" scriptProcessor="java.appdir" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="jetty.jsp.project#x64" scriptProcessor="java.appdir" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<defaultDocument>
<files>
<add value="index.jsp" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests