Read the URLDeploymentScanner Filter attribute comment in conf/jboss-service.xml:

  <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
    name="jboss.deployment:type=DeploymentScanner,flavor=URL">
...
    <!-- The Filter specifies a java.io.FileFilter for scanned
         directories.  Any file not accepted by this filter will not be
         deployed.  The org.jboss.deployment.scanner.DeploymentFilter
         rejects the following patterns:
             "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK",
             "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state",
             ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS",
             "TAGS", "core", "tags"
    -->
    <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>

Create you own FileFilter implementation to extend this set.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Weiqi Gao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 6:56 PM
Subject: Re: [JBoss-user] Re: Intermittent error on deployment


> On Thu, 2003-01-09 at 18:22, Scott M Stark wrote:
> > Copy and then rename.
> 
> I can certainly do that.
> 
> But I seem to remember that JBoss would redeploy anything copied to the
> deploy directory.  I saved a PDF file there by mistake once, and JBoss
> deployed it to tmp/myfile.pdf/31.myfile.pdf.  And the file cannot be
> deleted while JBoss is running (on Windows).
> 
> -- 
> Weiqi Gao
> [EMAIL PROTECTED]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to