[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Stopping deletes files in deploy-hasingleton

jaikiran do-not-reply at jboss.com
Fri Jan 30 06:27:01 EST 2009


Found it. It looks like it's the SerializableDeploymentRepository which does this:


protected VFSDeployment removeApplication(String vfsPath) throws Exception
  |    {
  |       VFSDeployment vfsDeployment = getApplication(vfsPath);
  |       VirtualFile root = vfsDeployment.getRoot();
  |       if(root.delete() == false)
  |          throw new IOException("Failed to delete: " + root);
  | 
  |       return this.applicationCtxs.remove(vfsPath);
  |    }

Not sure why the application needs to be physically deleted.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205840#4205840

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205840



More information about the jboss-user mailing list