SOA 11g: Using AQ-JMS Adapter to Enqueue a Message Get Error: 'oracle.jms.AQjmsException: JMS-190: Queue jms/Test not found' (Doc ID 1309961.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle SOA Suite - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 12-May-2014***

Symptoms

In SOA Suite 11g you have configured WebLogic Server to use a AQ-JMS outbound enqueuing adapter following document:

Oracle® Fusion Middleware User's Guide for Technology Adapters 11g Release 1 (11.1.1.4.0)
Part Number E10231-05

Section:  8.4.8 AQ JMS Text Message

When creating the Foreign Server in the JMS Module you have created, for example, a Local JNDI Name of jms/Test and a Remote JNDI Name of Queues/AQ_JMS_QUEUE.  The Local JNDI Name can be a choice of any JNDI name, the Remote JNDI Name after Queues/ must be the AQ Queue name as created in the database.  For example you have created the queue in the database as follows:

exec dbms_aqadm.create_queue_table(queue_table=>'AQ_JMS_QUEUE_TABLE',queue_payload_type=>'sys.aq$_jms_text_message',sort_list=>'PRIORITY,ENQ_TIME',multiple_consumers=>true); 

BEGIN
DBMS_AQADM.CREATE_QUEUE(queue_name=>'AQ_JMS_QUEUE',queue_table=>'AQ_JMS_QUEUE_TABLE');
END;
/


After completing the server-side setup of the adapter and creating and deploying the JDeveloper project that enqueues using the adapter you see the following error message in the SOA server $MIDDLEWARE_HOME/user_projects/domains/<your domain>/servers/<soa server name>/logs/<soa server name>-diagnostic.log:

[2011-03-30T01:47:39.623+00:00] [soa_server1] [ERROR] [] [oracle.adapter.jms.logger] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] JmsProducer_execute: A resource exception occured while producing message[[
BINDING.JCA-12137
ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
Please examine the log file to determine the problem.

at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:740)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:657)
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:182)
at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:341)
at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:196)
at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:154)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:303)
.
.
.
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.jms.AQjmsException: JMS-190: Queue jms/Test not found
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:353)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1493)
at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:724)
... 163 more
Caused by: oracle.jms.AQjmsException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4929)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1486)
... 165 more
Caused by: oracle.AQ.AQException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.AQ.AQUtil.throwAQEx(AQUtil.java:196)
at oracle.AQ.AQOracleSession.getQueue(AQOracleSession.java:721)
at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4900)
... 166 more

]]
[2011-03-30T01:47:39.675+00:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] Jms Adapter Project1:aqjms [ Produce_Message_ptt::Produce_Message(opaque) ] JmsProducer_execute: A resource exception occured while producing message
[2011-03-30T01:47:39.681+00:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] Jms Adapter Project1:aqjms [ Produce_Message_ptt::Produce_Message(opaque) ] [[
BINDING.JCA-12137
ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
Please examine the log file to determine the problem.

at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:740)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:657)
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:182)
at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:341)
at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:196)
at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:154)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:303)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:542)
.
.
.
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.jms.AQjmsException: JMS-190: Queue jms/Test not found
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:353)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1493)
at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:724)
... 163 more
Caused by: oracle.jms.AQjmsException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4929)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1486)
... 165 more
Caused by: oracle.AQ.AQException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.AQ.AQUtil.throwAQEx(AQUtil.java:196)
at oracle.AQ.AQOracleSession.getQueue(AQOracleSession.java:721)
at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4900)
... 166 more

]]
[2011-03-30T01:47:39.730+00:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] JCABinding=> Project1:aqjms [ Produce_Message_ptt::Produce_Message(opaque) ] Could not invoke operation 'Produce_Message' against the 'Jms Adapter' due to: [[
BINDING.JCA-12137
ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
Please examine the log file to determine the problem.

]]
[2011-03-30T01:47:39.734+00:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] JCABinding=> Project1:aqjms [ Produce_Message_ptt::Produce_Message(opaque) ] Change logging level to TRACE:n to see full error stack
[2011-03-30T01:47:43.422+00:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] JCABinding=> [default/Project1!1.0*soa_bacb2b6f-eb78-4527-a7af-23640614a920.aqjms]:Produce_Message One-way operation Produce_Message() failed
[2011-03-30T01:47:43.439+00:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] <WSInvocationManager::invoke> got FabricInvocationException[[
oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.

at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:75)
at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:298)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:284)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215)
.
.
.
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.

at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:433)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:542)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:502)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:247)
... 153 more
Caused by: BINDING.JCA-12137
ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
Please examine the log file to determine the problem.

at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:740)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:657)
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:182)
at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:341)
at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:196)
at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:154)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:303)
... 157 more
Caused by: oracle.jms.AQjmsException: JMS-190: Queue jms/Test not found
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:353)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1493)
at oracle.tip.adapter.jms.JMS.JMSDestination.getQueue(JMSDestination.java:83)
at oracle.tip.adapter.jms.JMS.JMSConnection.createProducer(JMSConnection.java:724)
... 163 more
Caused by: oracle.jms.AQjmsException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4929)
at oracle.jms.AQjmsSession.createQueue(AQjmsSession.java:1486)
... 165 more
Caused by: oracle.AQ.AQException: JMS-190: Queue ORAESB.jms/Test not found

at oracle.AQ.AQUtil.throwAQEx(AQUtil.java:196)
at oracle.AQ.AQOracleSession.getQueue(AQOracleSession.java:721)
at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4900)
... 166 more

]]
[2011-03-30T01:47:44.331+00:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] <CubeEngine::finalizeActivity> Unhandled exception for ComponentDN=default/Project1!1.0*soa_bacb2b6f-eb78-4527-a7af-23640614a920/BPELProcess1 CompositeInstanceId=160001 ComponentInstanceId=160001
[2011-03-30T01:47:46.018+00:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [composite_name: Project1] [component_name: BPELProcess1] [component_instance_id: 160001] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] <CubeEngine::handleWorkItem> This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope. Root cause : com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}[[
parts: {{
summary=<summary>Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</summary>
,detail=<detail>JMS-190: Queue jms/Test not found</detail>
,code=<code>190</code>}

]]
[2011-03-30T01:47:48.125+00:00] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] Message Type is normalized, exiting agent.processFault()
[2011-03-30T01:47:48.127+00:00] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [WEBSERVICE_PORT.name: BPELProcess1_pt] [APP: soa-infra] [J2EE_MODULE.name: fabric] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [WEBSERVICE.name: bpelprocess1_client_ep] [J2EE_APP.name: soa-infra] Message Type is normalized, exiting agent.processFault()
[2011-03-30T01:47:48.697+00:00] [soa_server1] [ERROR] [OWS-04115] [oracle.webservices.service] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000Iw4SP^k9d_s5OjP5id1D^cHL000030,0:2] [APP: soa-infra] [dcid: 253c1e44f6d34847:19bd70f2:12f0467def1:-7ffd-00000000000017e7] [arg: FabricProvider] [arg: javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.\nException occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ERR_CR_QUEUE_PROD.\nERRJMS_ERR_CR_QUEUE_PROD.\nUnable to create Queue producer due to JMSException.\n". \nThe invoked JCA adapter raised a resource exception.\nPlease examine the above error message carefully to determine a resolution.\n] An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.[[
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_ERR_CR_QUEUE_PROD.
ERRJMS_ERR_CR_QUEUE_PROD.
Unable to create Queue producer due to JMSException.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
.
]]

Cause

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