4 Replies Latest reply on Mar 14, 2007 3:16 PM by jaikiran pai

    Deployment ordering

    Dipali K Newbie

      I am using spring deployer to deploy my spring beans , archived as abc.spring and specified in application.xml as follows :
      < module>
      < ejb>spring/abc.spring
      </ module>

      The spring beans do a jndi lookup for hibernate session factory deployed as a har file which is specified in jboss-app.xml as follows :
      < module>
      < har>har/xyz.har
      </ module>

      Problem is that spring deployment happens before the har deployment (application.xml before jboss-app.xml) and so it fails .
      Is there any way I can force the har deployment before the spring ?