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.
See Procedure 24.8. Deploy the Resource Adapter Manually:
https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/Administration_and_Configuration_Guide/Deploy_the_WebSphere_MQ_Resource_Adapter.html