<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, all 6 should be added to be consistent. If the tomcat deployer is
going to handle the notification at the end of a deploy which is
associated with a redeploy, why can't it it do the initial notification
at the start of undeploy by looking to the DeploymentInfo.isRedeploy
flag?<br>
<br>
Jean-frederic Clere wrote:
<blockquote cite="mid1159428520.4990.19.camel@localhost" type="cite">
  <pre wrap=""><!---->
That means we would need:
BEGIN_DEPLOY/END_DEPLOY
BEGIN_REDEPLOY/END_REDEPLOY
BEGIN_UNDEPLOY/END_UNDEPLOY
to be able to know the result of the action, wouldn't we?

In fact to prevent the 404 I just need to forward the BEGIN_REDEPLOY to
Apache httpd. (Tomcat has its event to tell that a Context is up again).

Cheers

Jean-Frederic

  </pre>
  <blockquote type="cite">
    <pre wrap=""> Most likely a begin/end notification is the cleanest way to introduce
the notifications.
   /** The JMX notification type sent when a undeploy i

Jean-frederic Clere wrote: 
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Fri, 2006-09-22 at 08:37 -0700, Scott M Stark wrote:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">You can pass in a hint as a url parameter <a class="moz-txt-link-rfc2396E" href="file:/.../deploy/my.war?redeploy=true">"file:/.../deploy/my.war?
redeploy=true"</a> so that the main deployer can set a flag in the
deployment.
    
        </pre>
      </blockquote>
      <pre wrap="">Ok, this seems to work. Now I have the information that the undeploy()
occurs in MainDeployer because of a redeployment.

To send the information to my listener (and later to Apache httpd) I am
thinking of using a Notification("StartReDeploy", ...) and use the
DeploymentInfo to have the Host and the Context information.

Any comments?

Cheers

Jean-Frederic

  
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
  </pre>
</blockquote>
<br>
</body>
</html>