Stopping / Restarting IIS with Java webapp

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 1
Joined: 06 May 2013, 22:25

Stopping / Restarting IIS with Java webapp

06 May 2013, 22:36

Hi,

I'm using Helicon Zoo Java package to run a webapp.
The service works fine, and I'm really happy I found your work.
I'm just having troubles when I restart IIS if an IIS worker launched java.
The process then takes up to several minutes to die.

Is there a way to make the worker quit faster ?

Here is my setup :
  • Windows Server 2012
  • JDK 7u21
  • Helicon Zoo's Java Hosting Package up to date through WPI 4.5
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <heliconZoo>
      <application name="jetty.project" >
        <environmentVariables>
          <add name="CONTEXTS_DIR" value="/" />
          <add name="WAR_FILE" value="webapp" />
        </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>


Thanks a lot for your help

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

Re: Stopping / Restarting IIS with Java webapp

07 May 2013, 07:35

Hello.

We are releasing new version of Zoo within couple of days. I will inform you when this release is available. Then I suggest you to upgrade first. If the problem is connected to Zoo module we will be able to investigate it with new version installed.

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 30 guests