WLS WTC: MDB Cannot Use TuxedoConnection To Tpenqueue To Send A Message To /Q Queue (Doc ID 2010200.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal

MDB bean (using XA) that reads from a queue whose inputs are WTC redirected from /Q] and outputs back into a /Q on the Tuxedo side.
When making the TuxedoConnection.tpenqueue call, an ArrayIndexOutOfBoundsException is thrown.
  at com.servicesuite.util.Debug.wrap(Debug.java:115)
  at com..servicesuite.slr.SlrResponseProcessor.process(SlrResponseProcessor.java:134)
  at com.servicesuite.slr.SlrQueueBean.onMessage(SlrQueueBean.java:96)
  at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:451)
  at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:375)
  at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:310)
  at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4855)
 Caused by: java.lang.ArrayIndexOutOfBoundsException
  at java.lang.System.arraycopy(Native Method)
  at com.bea.core.jatmi.common.Utilities.baReadXdrString(Utilities.java:902)
  at weblogic.wtc.jatmi.tcm.write_tcm(tcm.java:502)
  at weblogic.wtc.jatmi.tfmh.write_tfmh(tfmh.java:714)
  at weblogic.wtc.jatmi.dsession._tpacall_internal(dsession.java:3235)
  at weblogic.wtc.jatmi.dsession._tpcall_internal(dsession.java:3878)
  at weblogic.wtc.jatmi.dsession.tpenqueue(dsession.java:4170)
  at weblogic.wtc.gwt.TuxedoConnection.tpenqueue(TuxedoConnection.java:970)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms