Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5790

URLDeploymentScanner should undeploy the deployed urls during stopService()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.3.GA
    • Deployers
    • None

      The URLDeploymentScanner should remove the deployed urls when stopService() is invoked.

      Something like:
      protected void stopService()
      {
      // Tell the super class to suspend the scanning thread
      super.stopService();

      // Clone the list to avoid concurrent modification problem
      LinkedList<DeployedURL> urlsToRemove = new LinkedList<DeployedURL>(deployedSet);

      boolean trace = log.isTraceEnabled();
      for (DeployedURL deployedURL : urlsToRemove)

      { if (trace) log.trace("Removing " + deployedURL.url); undeploy(deployedURL); }

      }

              Unassigned Unassigned
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: