Isn't this because the URLDeploymentScanner recurses into the 'hallo' subdir, 
then attempts to deploy 'hallo.properties' file using the JARDeployer?

I guess the solution is to configure the Scanner to ignore the .properties 
extension (i.e. add .properites to the suffixes list below):

  |       -->
  |       <attribute name="FilterInstance"
  |          attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
  |          serialDataType="javaBean">
  |          <!-- Files starting with theses strings are ignored -->
  |          <property name="prefixes">#,%,\,,.,_$</property>
  |          <!-- Files ending with theses strings are ignored -->
  |          <property 
name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
  |          <!-- Files matching with theses strings are ignored -->
  |          <property 
name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
  |       </attribute>
  | 
This is introduced in v4.0.2.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to