0 Replies Latest reply on Dec 12, 2019 7:25 AM by endlessborland

    Wildfly 15.0.1 similar jndi names problem

    endlessborland

      So I've configured an ibm.mq connection, and everything was fine, until i added a new <admin_object>

       

      <admin-objects>

           <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy"

                                            jndi-name="java:/jms/logger/queue/logIn">

           <config-property name="baseQueueName">placeholder</config-property>

           <config-property name="persistence">placeholder</config-property>

           </admin-object>

       

           <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy"

                                            jndi-name="java:/jms/SMTH/logger/queue/logIn">

           <config-property name="baseQueueName">different_placeholder</config-property>

           <config-property name="persistence">different_placeholder</config-property>

           </admin-object>

      </admin-objects>


      And now it crashes with

      WFLYCTL0198: Unexpected element '{urn:jboss:domain:resource-adapters:5.0}config-property' encountered

      I've figured that the problem is with jndi-name: if two jndi-names end with "/whatever", even though being different, wildfly can't parse them.

      Is there any way to fix this? Or am I doing smth wrong?