0 Replies Latest reply on Jun 29, 2016 9:50 PM by Shravan Jadala

    Include only some type files using wildcard character in jboss-service.xml in jboss 5.1

    Shravan Jadala Newbie

      My requirement:

      In my deploy folder i am having a lot of files.

      I want to include only some type of files with extensions (*.class, *.properties ..). Can we deploy these type of files using wildcard character.


      With below configuration, works fine but alot of other files are there and for each a FileHandler(org.jboss.virtual.plugins.context.file) is creating and occupying more memory in the JBoss container.

      <classpath codebase="${jboss.server.home.url}/myfolder" archives="*"/>


      How can I deploy only .class, .properties files to Class Loader path using wildcard ?


      Please help me out with this scenario.


      Thanks,

      Shravan