Since you're probably talking about JBossAS4.x, this is what you can do:

Default deployers order:

  |       <!--
  |          Statically set one or more enhanced suffix orders, independent of 
the value proposed by subdeployers.
  |          Some deployers may also allow the suffixes/orders to be set 
locally, so that's preferable too.
  |          For reference, this is the list of enhanced suffixes likely to be 
set by deployers (it may not
  |          be completely up-to-date, or there can be user-defined deployers).
  |          
  |          
050:.deployer,050:-deployer.xml,100:.aop,100:-aop.xml,150:.sar,150:-service.xml,200:.beans,250:.rar,300:-ds.xml,350:.har,400:.jar,400:.ejb3,400:.par,500:.war,600:.wsr,650:.ear,700:.jar,750:.zip,800:.bsh,900:.last
  |          
  |          Until we resolve some startup issues, we'll setup some static 
enhanced suffix orders bellow
  |          and leave the rest of the suffixes contributed dynamically by 
registering deployers.
  |       -->
  |       <descriptors>
  |          <value 
value="250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh"/>
  |       </descriptors>
  | 
SpringDeployer defines #350:

  |    public SpringDeployer()
  |    {
  |       initializeMainDeployer();
  |    }
  | 
  |    protected void initializeMainDeployer()
  |    {
  |       setSuffixes(new String[]{".spring", "-spring.xml"});
  |       setRelativeOrder(350); //after -ds, before ejb3
  |    }
  | 

Just change that property in SpringDeployer's -service.xml and you should be 
fine. ;-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164595
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to