Advertisement

11.20.2007 at 11:10PM PST, ID: 22974821 | Points: 500
[x]
Attachment Details

IBM, WID 6.0.x and MQ 6.x, MQExport or MQImport binding sample/example

Tags: transactionnotsupportedactivitysessionnotsupported
Hi,

Is there a sample or example for really simple 'hello World' kind of starter to check out the MQImport/MQExport binding features of WID? I mean the bare simple QM configuration with one Queue, one listerner on 1414, and one channel, the same thing accessed in WID as a simple module and a plain string is PUT/GET?

Something seems to go wild. It shows messages like:

[11/20/07 17:26:12:320 IST] 00000080 ExceptionUtil E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionNotSupportedActivitySessionNotSupported" on bean "BeanId(mqtestApp#mqtestEJB.jar#Module, null)". Exception data: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM'
SCA context:
Interaction: [invokeAsync,handleMessage] {mqtest}sca.default.component#sca/dynamic/reference => {mqtest}Import1.import
Handler: com/ibm/ws/sca/internal/mq/handler/MQImportHandler (com.ibm.ws.sca.internal.mq.handler.MQImportHandler,com/ibm/wsspi/sca/extensions/ImportBindingGroup2)
Wrapped by:
com.ibm.ws.sca.uow.UOWRolledBackException: caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM'
Caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:TESTQM'
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received

Does anyone have a example ProjectInterchange that has a MQImport?
Do we need to give any dependency jars etc as part of config? The documentation does not specify but all samples seem to use their own 'User defined' or 'Serialized as XML' for Output Data serialization type. I wonder why a plain String type will not work which is already serializable.
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: tsmanyam
Question Asked On: 11.20.2007
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
11.21.2007 at 05:50AM PST, ID: 20327581

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.22.2007 at 12:50AM PST, ID: 20333311

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
11.22.2007 at 05:24AM PST, ID: 20334270

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.11.2007 at 10:56PM PST, ID: 20455550

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.12.2007 at 05:49AM PST, ID: 20456947

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628