6 Replies Latest reply on Jun 30, 2003 7:17 AM by Juha Lindfors

    deploying files with identical names

    Stefan Ernst Newbie

      My task is to deploy two MBean applications within one JBoss instance. Both applications still use properties files which I provide in the classpath by archives.

      MBean1:



      MBean2:



      The problem now is that config1.jar and config2.jar both contain some identically named files, e.g. pm.properties. The content of course is different.
      After deploying both MBeans one pm.properties-file overrules the other, i.e. is used by both applications instead of each application using its own version.

      Is there another way to solve that except for using different file names (which would require changes at quite a few places)? Using two JBoss instances works as well of course, but there is the demand to use only one.