Configuration Assistance

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Configuration Assistance

15 Jul 2013, 03:30

Hello,
Installed Zoo as mentioned in my windows 2008 R2 Running IIS and plex.

i don't understand how to run jsp files or war files.
i followed exactly same way mentioned and create wab.config but server giving internal server error.

for example. want to run java Apps ( JSP/WAR) on domain.com

war file name demo.war
physical path : c:\inetpub\vhost\domain.com\httpdocs

please let me know the procedure to run the file !

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Configuration Assistance

15 Jul 2013, 06:55

Hello!

1. Open Web platform installer
2. Install 'Java WAR-file project' into your web site. (Screenshot: http://i.imgur.com/ik6HFF4.png)
3. Open web.config file in text editor
4. Update line
Code: Select all
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%" />

to
Code: Select all
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%\demo.war" />

5. Save web.config

Refresh web site in browser to see output of web application packaged in WAR-file.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

16 Jul 2013, 04:33

Hello,
thanks i will check.

Question :
1. for every jsp r application i have to install java war file project ?
2. can it be deployed under sub folder & Sub domain ?

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Configuration Assistance

16 Jul 2013, 06:56

Hello!

1. you must install 'Java WAR-file project' only if you java app packages as war-file. For jsp-files you must update your web.config file like this:
Code: Select all
<?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.8" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
      <add name="jetty.jsp.project#x64" scriptProcessor="java.appdir.8" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
    </handlers>
        <defaultDocument>
            <files>
                <add value="index.jsp" />
            </files>
        </defaultDocument>
  </system.webServer>
</configuration>


Difference with war project is in the scriptProcessor="java.appdir.8" attribute (for jetty 8, and scriptProcessor="java.appdir" for jetty 7).

2. Yes it is. war-file project and above web.config can be placed under subdomain or iis-application folder under any web site.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

16 Jul 2013, 11:24

How to UN deploy or remove the.installed apps,?

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

16 Jul 2013, 12:36

Hello,
How to undeploy installed war files?
and like in tomcat ! we get a manager ( tomcat manager)
is there any such resource page available ? so we can access and undeploy the said application ?

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Configuration Assistance

17 Jul 2013, 07:25

Hello.

To undeploy war files just comment in web.config following line:
Code: Select all
<add name="WAR_FILE" value="%APPL_PHYSICAL_PATH%\demo.war" />


Helicon Zoo module does not provide any Java app manager like tomcat manager.
Helicon Zoo uses jetty to run java applications.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

27 Jul 2013, 13:13

How to deploy multiple war file
say sute.war need to deploy on root so it will access via domain.com
demo1 shall be access via domain.com/demo or demo.domain.com

how to do that ?

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

29 Jul 2013, 05:01

can any one reply ?

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Configuration Assistance

29 Jul 2013, 07:15

Hello.

To deploy another war-file do the following:
1. Create new iis application in IIS Manager (in your case domain.com/demo)
2. Create in the application root web.config similar to web site root web.config.
3. Update zoo application name in web.config.
4. Remove web site root handlers in web.config.
5. Place your demo1.war in application root directory.

Example web.config:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <heliconZoo>
      <application name="new.sub.app" >
        <environmentVariables>
          <add name="WAR_FILE" value="demo1.war" />
          <add name="CONTEXT_PATH" value="%APPL_VIRTUAL_PATH%" />
          <add name="WAR_EXTRACT_PATH" value="%APPL_PHYSICAL_PATH%" />
        </environmentVariables>
      </application>
    </heliconZoo>
    <handlers>
      <remove name="jetty.project#x86" />
      <remove name="jetty.project#x64" />
      <add name="new.sub.app#x86" scriptProcessor="java.jetty"  path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
      <add name="new.sub.app#x64" scriptProcessor="java.jetty"  path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
    </handlers>
  </system.webServer>
</configuration>

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

29 Jul 2013, 09:08

many thanks, its working.

but when i see the web.config i don't get it.

can u please explain.

suppose www.domain.com is my site.
and i want to host 3 apps.

1 in root so it can be accessed via domain.com
and another one domain.com/test1
and another from sub domain like check.domain.com

how do i do that.

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Configuration Assistance

30 Jul 2013, 07:27

Hello.

Can you please wait 3-5 days for the Helicon Zoo version 3 to release and then I will have a better instruction for you based on this version?

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

30 Jul 2013, 14:43

Sure.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

30 Jul 2013, 14:44

Sure. please do send me the instruction for the update so there wont be any issue.

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Configuration Assistance

06 Aug 2013, 07:05

Hello!

Helicon Zoo 3.0 has been released today. As I remember you've asked for instruction how to upgrade and how to create several Java applications under one web site.

To upgrade you can simply run Web Platform Installer and install Zoo -> Templates -> Java WAR-file project template. It will install all dependencies automatically.
Then you simply use Web Platform Installer and install additional instances of Java project into subfolders of your web site. This will create new Java application in this subfolder. You can use Helicon Zoo Manager to change application settings and modify variables.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

06 Aug 2013, 10:32

Hello,
thanks for quick update.

so i do not have to do anything with my current installation ?

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

06 Aug 2013, 10:55

I dont see Helicon Manager!!

can you tell me how do i reinstall ZOO ?

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Configuration Assistance

06 Aug 2013, 11:28

If you go to Web Platform Installer, Zoo -> Templates -> Java WAR-file project, and install it creating a new IIS web site, it will also install Zoo Module and other dependencies if needed. If you already have Zoo module installed, it will upgrade it to the most current version.
To start Zoo Manager go to Windows Start -> Helicon -> Zoo -> Helicon Zoo Manager.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

06 Aug 2013, 11:50

Thanks a lot.

User avatar
Posts: 27
Joined: 15 Jul 2013, 03:23
Location: India

Re: Configuration Assistance

28 May 2014, 03:04

Can you tell me how to unistall zoo completely and its component from IIS7 ?
it seems i have some issue and its not working on all sites.
please let me know so i reinstall it .

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 12 guests