Author |
Message
|
sbuster |
Posted: Sun Oct 26, 2008 4:20 am Post subject: MQ 7 JCA Adapter |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 25
|
Does MQ 7 fully support JCA? I need to connect to MQ 7 from a WAS 6.0 environment and wondered what the best way would be to do this.
Thanks
Steve |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Oct 26, 2008 4:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
From WebSphere MQ Using Java V7.0 manual:
The WebSphere MQ resource adapter
The Java Platform, Enterprise Edition (Java EE) Connector Architecture (JCA) provides a standard way of connecting applications running in a Java EE environment to an Enterprise Information System (EIS) such as WebSphere MQ or DB2®. The WebSphere MQ resource adapter implements the JCA 1.5 interfaces, and allows JMS applications and message driven beans (MDBs), running in an application server, to access the resources of a WebSphere MQ queue manager. The resource adapter supports both the point-to-point domain and the publish/subscribe domain. The WebSphere MQ resource adapter supports two types of communication between an application and a queue manager:
- Outbound communication An application starts a connection to a queue manager, and then sends JMS messages to JMS destinations and receives JMS messages from JMS destinations in a synchronous manner.
-Inbound communication A JMS message arriving at a JMS destination is delivered to an MDB, which processes the message asynchronously.
The WebSphere MQ resource adapter is supported on all WebSphere MQ Version 7.0 platforms except z/OS. You can install it on any application server that is certified as compliant with the J2EE 1.4 specification. Using the resource adapter, an application can connect to a WebSphere MQ Version 7.0 queue manager in either client mode or bindings mode, or to a WebSphere MQ Version 6.0 or WebSphere MQ Version 5.3 queue manager in client mode only.
See the manual for more info. _________________ Glenn |
|
Back to top |
|
 |
sbuster |
Posted: Tue Oct 28, 2008 4:50 am Post subject: |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 25
|
gbaddeley,
Thanks, I did read that in the documentation, I guess I wasn't clear. Where can I find the JCA rar file. I did find it however, thanks for you reply. |
|
Back to top |
|
 |
George Carey |
Posted: Wed Jan 28, 2009 11:49 am Post subject: Resource Adapter related problem:V7 resouce adapter vs V6 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Problem using Resource adapter from MQ 6.2.2 to MQV7 and now V7.1
We have an MDB testing rollback functionality.
On version MQ6.2.2 an MDB receives message and 'current' code simulates an error condition to force a rollback onto queue. It is a container managed transaction using MQ with OC4J (Oracle app server). Client connection being used.
It works under MQ V6.2.2 but after upgrade to MQ V7 and then V7.1 it does not ... application just hangs and does not roll back.
Qmgr error logs shows 2009 returned from function amqrmppa.exe
Channel program 'SYSTEM.DEF.SVRCONN' ended abnormally
TCP/IP (recv) call was 10054 (X'2746') ... using OAS 10.1.3.3.
/var/mqm/error logs shows MQ internal error with id 20800893.
Likely some subtle resource adapter difference in implementation from MQ V6.2.2 to MQ V7.0,1 ... constant is OAS here.
Anyone have clue on likely cause or where to focus the light! ?
Likely will need to send an APAR report but trying here first. _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
George Carey |
Posted: Wed Jan 28, 2009 12:42 pm Post subject: not sure if I needed to do a new topic |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
I think I have the wrong acronym, I meant to say:
Quote: |
Likely will need to send a PMR report but trying here first. |
_________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jan 28, 2009 3:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked at your V6 (and JMS) compatibility mode?
Are you using a V6 or V7 client on the oracle machine?
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
George Carey |
Posted: Wed Jan 28, 2009 5:01 pm Post subject: both client versions |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
The developer said he tried jar files from both versions to connect to the MQ V7 server and problem was the same.
Don't know about compatibility mode ... what/where can I point him on that.
... A new addition to the scenario ...
.. the developer moved OAS to 10.1.3.4 from 10.1.3.3 and rollback started working again. But another feature/property stopped working that was working in pure OAS 10.1.3.3 and MQ v6.2.2 namely "EndpointFailureRetryInterval", which developer was using to wait 5 second before retrying to reread queue. It seemed to ignore the 5 sec interval set before trying to reread.
It defeated what he was trying to accomplish with the rollback. _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
|