Unexpected element when editing Standalone.xml

Discussão em 'StackOverflow' iniciado por Stack, Janeiro 5, 2021.

  1. Stack

    Stack Membro Participativo

    I'm trying ton configure a JMS MQueue on JBoss but when I add an admin-object to the standalone.xml file :

    <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
    <resource-adapters>
    <resource-adapter id="wmq.jmsra.rar">
    <archive>
    wmq.jmsra.rar
    </archive>
    ...
    <admin-objects>
    <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/resources/jms/MyQueueName" use-java-context="true" pool-name="MyQueuePool">
    <config-property name="baseQueueManagerName">
    AAAA
    </config-property>
    <config-property name="baseQueueName">
    BBBB
    </config-property>
    </admin-object>
    </admin-objects>



    I'm getting the following error :


    Message: JBAS014789: Unexpected element '{urn:jboss:domain:resource-adapters:1.1}config-property' encountered

    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[587,74]
    ​

    Important points :

    • There are other admin-object already existing.
    • The XML is formatted correctly.
    • I'm getting this error when trying to start my server.
    • I'm using JBoss Entreprise Application Platform 6.3.3.GA
    • [587,74] references the admin-object I'm trying to add.

    Continue reading...

Compartilhe esta Página