1 Reply Latest reply on Aug 14, 2014 3:35 AM by inc.yg

    Migration EAP 5.1 to EAP 6.2: jboss-web.xml: <depends> ?

    inc.yg

      Hi there,

       

      I'm tasked with the migration of our existing J2EE (EJB 2.1) web-application from JBoss EAP 5.1 (JBoss AS 5.1.0.GA) to EAP 6.2 (JBoss AS 7.3.0.Final).

       

      Previously we used the <depends> XML element in the jboss-web.xml to define a dependency to our EJB Jar. Our complete jboss-web.xml looks like this:

       

      <?xml version="1.0" encoding=UTF-8"?>
      <jboss-web>
          <depends>jboss.j2ee:module="myEJB.jar",service=EjbModule</depends>
      </jboss-web>
      
      

       

      Now, the <depends> XML element is not supported anymore in JBoss 7 (returns a parse error during deployment and of course does not validate anymore against the XML schema).

       

      I'd like to ask on how to migrate this <depends> behavior to JBoss 7?

       

      I've tried google, the JBoss EAP 6.3 migration guide, and searched this forum but could not find any resources on migrating the above jboss-web.xml configuration.

       

      Any pointers to documentation and other resources would be appreciated. Thank you!

       

      Message was edited by: Yves G Fixed copy&paste error in shown jboss-web.xml.