Version 8

    How do you switch off recursive directory scanning at deployment?



    <attribute name="RecursiveSearch">True</attribute>


    in jboss-service.xml (at bottom of file).


    Please use caution in doing this because it changes the default ordering of deployments and mdbs can fail on startup because the jms services are not started before ejb jars for example.




    If all you are trying to do is have different directories with different permissions, you can list multiple urls or directories under the entry for /deploy or even in place of the /deploy directory.