0 Replies Latest reply on May 8, 2012 6:15 AM by kkkppp

    Syntax of <depends> in jboss-service.xml

    kkkppp

      I'm trying to port application from Jboss4 to AS7, couldn't find new syntax of dependency in service descriptor. In Jboss4 it used to be like that:

       

      <depends-list-element>jboss.jca:service=DataSourceBinding,name=SWDictionaryDS</depends-list-element>

      or

      <depends-list-element>jboss.j2ee:module=swchat.jar,service=EjbModule</depends-list-element>

       

      As I understand, dependancy on whole jar doesn't work anymore, but I still cannot find description of proper syntax, found some examples on forums, but none of them works for me (neither datasource nor EJB dependancy). My jar contains 2.1 EJBs, could it be the cause?