Hi,
I have an application that run with jboss-6.1.0.Final perfectly, but i want to try it with jboss-as-7.1.1.Final too. I started the migration of the application, but i have a problem. My jboss-web.xml:
<jboss-web> <context-root>exmpleApp-web</context-root> <depends>org.hornetq:module=JMS,name="queue1",type=Queue</depends> <depends>org.hornetq:module=JMS,name="queue2",type=Queue</depends> <depends>org.hornetq:module=JMS,name="InVMConnectionFactory",type=ConnectionFactory</depends> </jboss-web>
At deploy i get this message:
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,2] Message: Unexpected element 'depends' encountered
I've found the jboss-web_7_0.xsd and saw that there isn't any "depends" element in it. Any ide how to configure my application to run with jboss-as-7.1.1.Final?
It might be automagic, take them out and see what happens.