1 Reply Latest reply on Mar 14, 2013 12:15 PM by jmesnil

    ParseError at [row,col]:[1,1] using *-hornetq-jms.xml

    zur13

      I need to create JMS topic via EAR file deploying on jBoss AS 7.1.1. I tried https://community.jboss.org/thread/151009 but during deployment of my ear I've got errors like this:

       

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
      Message: Unexpected element '{urn:hornetq}configuration'

       

      myapp-hornetq-jms.xml 

      <configuration xmlns="urn:hornetq" 
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="urn:hornetq /schemas/hornetq-jms.xsd "> 
           <connection-factory name="InVmConnectionFactory">
                <connectors>
                     <connector-ref connector-name="in-vm"/>
                </connectors>
                <entries>
                     <entry name="InVmConnectionFactory"/>
                </entries>
           </connection-factory> 
           <queue name="OrderQueue">
                <entry name="queues/beanQueue"/>
           </queue> 
      </configuration>