users@glassfish.java.net

Dynamic Reload of JSP Pages in Cluster

From: Kuntz, Tim <tim_kuntz_at_pamperedchef.com>
Date: Fri, 11 Apr 2008 14:32:18 -0500

Is it possible to configure Glassfish to recompile jsp pages in a
cluster configuration?

For the same web module deployed to both the stand-alone server and a
cluster in the same domain, the jsp pages will only reload in the
stand-alone server.

Below is the "das-config" from my cluster configuration for reference.

Thanks,
Tim
 
 
<config dynamic-reconfiguration-enabled="true"
name="InternetCluster-config">
...
      <admin-service system-jmx-connector-name="system" type="server">
        <jmx-connector accept-all="false" address="0.0.0.0"
auth-realm-name="admin-realm" enabled="true" name="system"
port="${JMX_SYSTEM_CONNECTOR_PORT}" protocol="rmi_jrmp"
security-enabled="false">
          <ssl cert-nickname="s1as" client-auth-enabled="false"
ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true"
tls-rollback-enabled="true"/>
          <property name="client-hostname"
value="6LTCKF1.pamperedchef.com"/>
        </jmx-connector>
        <das-config admin-session-timeout-in-minutes="60"
autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy"
autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false"
autodeploy-polling-interval-in-seconds="2"
autodeploy-verifier-enabled="false" deploy-xml-validation="full"
dynamic-reload-enabled="true"
dynamic-reload-poll-interval-in-seconds="2"/>
      </admin-service>