ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQ 7 JCA Adapter

Post new topic  Reply to topic
 MQ 7 JCA Adapter « View previous topic :: View next topic » 
Author Message
sbuster
PostPosted: Sun Oct 26, 2008 4:20 am    Post subject: MQ 7 JCA Adapter Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Sun Oct 26, 2008 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
sbuster
PostPosted: Tue Oct 28, 2008 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message
George Carey
PostPosted: Wed Jan 28, 2009 11:49 am    Post subject: Resource Adapter related problem:V7 resouce adapter vs V6 Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
George Carey
PostPosted: Wed Jan 28, 2009 12:42 pm    Post subject: not sure if I needed to do a new topic Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
fjb_saper
PostPosted: Wed Jan 28, 2009 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
George Carey
PostPosted: Wed Jan 28, 2009 5:01 pm    Post subject: both client versions Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ 7 JCA Adapter
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.