cancel
Showing results for 
Search instead for 
Did you mean: 

Remote queue in XI server for IBM MQSeries

Former Member
0 Kudos

Dear All,

my scenario is IBM MQSeries -> message via sender JMS adapter -> XI -> receiver RFC adapter -> R/3.

now for IBM MQSeries to send a message to XI via a transmission queue in MQSeries - it needs a remote queue name and queue manager name in XI server.

So now where can i find these information regarding remote queue name and queue manager name in XI server. I currently do not know whether in XI server, currently is there any remote queue or not? So how to find this information. If we do not have remote queue manager in XI currently, then how to install a remote queue name and queue manager in XI server.

It is slightly urgent. So i request you all to please reply quickly.

Thanks and Regards,

Rajeev Gupta

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rajeev,

If you requirement is to get and put data from IBM MQ Series, then you don't need to configure any queue in XI. If just need to create Queue Manager , Channel and Queue in MQ Series and Give the appropiate parameters in JMS Adapter. Nothing other than these is requirement.

First check the MQ series , whether you are able to put any data in the queue or not. If that is working , then XI should be able to pick the file.

Ranjeet Singh.

Former Member
0 Kudos

Hi Ranjeet,

In MQSeries Server, i have created a remote queue and i am able to put a message in that remote queue in MQSeries server.

Now i have configured the sender JMS adapter and activated it. Then i am getting the below error:

Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '<IP ADDRESS:MQQueueManager>'

at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)

at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)

at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)

...

com.ibm.mq.MQException: Message catalog not found

at com.ibm.mq.MQManagedConnectionJ11.&lt;init&gt;(MQManagedConnectionJ11.java:171)

at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)

...

So now can you please tell how to correct the above error?

Dear All,

Any updates on the above query.

Thanks and Regards,

Rajeev Gupta

Former Member
0 Kudos

Hello Rajeev,

It looks like your Hostname or IPAddress of the MQ Series Server Host is wrong, which you can see

in the error message:

"failed to create MQQueueManager for '<IP ADDRESS:MQQueueManager>'"

In order to connect you need at least following information from your MQ Series Server:

- hostname (e.g. examplehost.com)

- port (e.g. 1414)

- QueueManagername (of the remote Queue Mananger on MQ Series)

- QueueName

- ChannelName

With best regards

Sebastian

Former Member
0 Kudos

Hi Sebastian,

actually in the error message in RWB for communication channel monitoring, i am getting the IP Address and MQQueueManager name which i have given in my ID communication channel.

But just to hide that information, in the error message i have replaced the actual IP Address and MQQueueManager name by '<IP ADDRESS:MQQueueManager>'.

Now let me tell you in MQSeries Server what all i have done - i created a remote queue, a local queue both are having messages.........there is a MQQueue Manager for these queues.......i have created a channel which is having a transmission queue in it...............

Now my questions:

1. XI can take message from which type of queue in MQSeries server - local, remote or both?

2. MQQueue Manager should be of what type?

2. Channel created in MQSeries is having a field for transmission queue - so can transmisssion queue be blank , or, there should be a transmission queue in a channel?

3. In channel, in connection field i am specifying XIserver hostname and J2EE port - but i am not able to start the channel. So how to give channel name?

Please answer my above queries which are related to MQSeries connection to XI server.

Dear All,

Please answer my above queries.

Thanks and Regards,

Rajeev Gupta

Former Member
0 Kudos

Dear All,

Any reply to my above queries regarding MQSeries.

Thanks and Regards,

Rajeev Gupta

Former Member
0 Kudos

Hello Rajeev,

1. XI can take message from which type of queue in MQSeries server - local, remote or both?

It can take both, so local queue or remote Queue should not matter.

2. MQQueue Manager should be of what type?

Actually i am not clear what you mean by type, in the scenarios i currently work on we have a "remote" Queue Manager on the MQ Series Installation which we use to let the JMS Adapter take Messages from it.

2. Channel created in MQSeries is having a field for transmission queue - so can transmisssion queue be blank , or, there should be a transmission queue in a channel?

3. In channel, in connection field i am specifying XIserver hostname and J2EE port - but i am not able to start the channel. So how to give channel name?

Ok please keep one thing in your mind, the XI communication channel and the MQ Series channel are two different things, so:

In the XI communication Channel you need to specify the

Hostname + port of your MQ Series Installation

With best regards

Sebastian

Former Member
0 Kudos

Dear Sebastin,

Thanks for your inputs.

My below questions are for MQSeries channel which is connecting to XI server:

2. Sender Channel created in MQSeries is having a field for transmission queue - so can transmisssion queue be blank , or, there should be a transmission queue in a channel?

3. In channel, in connection field i am specifying XIserver hostname and J2EE port - but i am not able to start the channel. So how to give connection field data : which port of XI server to use in it?

So can you please reply to my above queries also.

Thanks and Regards,

Rajeev Gupta

Former Member
0 Kudos

Hello Rajeev,

Currently i cannot lookup how the MQ Series Channels are configured in our system landscape, but normally

in the MQ Series Channel you don't need to specify any receiver, its just a channel to let MQ Series Clients (in this case SAP PI JMS Adapter) access a queue.

I am not a MQ Series Expert but i think a receiver can be used to let a channel forward to another MQ Series Queue automatically, which looks like another scenario.

So i think this configuration is not neccessary as you just want to let pick up Messages from that channel by SAP PI, means only SAP PI need to know where to find that (through channel configuration)

With best regards

Sebastian

Edited by: Sebastian Simon on Jan 29, 2008 8:55 AM

Former Member
0 Kudos

Dear Sebastin,

Thanks for your inputs.

I have to connect to MQSeries 5.2.1 to XI server.

am getting the below error in Communicatin Channel Monitoring for my sender JMS adapter:

Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '<IP_ADRESS>:<MQ_QUEUE_MANAGER>'

at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)

at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)

at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)

...

com.ibm.mq.MQException: Message catalog not found

at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:171)

at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)

...

i have written '<IP_ADRESS>:<MQ_QUEUE_MANAGER>' just to hide the data - i am getting <IP_ADRESS> as IP Adress i gave in JMS adapter and <MQ_QUEUE_MANAGER> as Queue Manager i gave in JMS adapter.

i am using the correct IP and 1414 port of MQSeries server. I have used a MQQueueManager defined in MQSeries. i have deployed JMS adapter properly in XI server.

So can anybody suggest what could be the possible reason of this error and how to rectify it. It is slightly urgent.

One more question - should the queue manager in MQSeries server be a local or remote queue manager..........i was not able to create a remote queue manager in MQSeries 5.2.1 as by default it is creating a local queue manager.......

Thanks and Regards,

Rajeev Gupta

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '<IP_ADRESS>:<MQ_QUEUE_MANAGER>'

The Adapter is not getting initialised. Check all the Parameters are right.

Check the Service is Active in Visual Admin ( JMS )

Which SP Level ?

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi Doss,

i am working on SAP PI 7.0 SP 09 .........

Can you please tell what in MQSeries server we need to do.........Please see my above queries too.........

Thanks,

Rajeev Gupta

agasthuri_doss
Active Contributor
0 Kudos

Hi Rajeev,

Are you using any Additional parameters for the Sender Adapter

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi Doss,

Configuration details of sender JMS adapter are as following:

Transport Protocol: WebsphereMQ (non-JMS)

Message protocol: JMS 1.x

Adapter Engine : Integration Server

IP address - MQserver IP address i gave

Port : 1415 - i created a queuemanager to listen on port 1415 in MQSeries Server

QueueManager: the above created queuemanager

ChannelName: in MQSeries i am not able to create a channel to communicate with XI server - so how to create this running channel in MQSeries.

JMSQueue : should it be a local queue or a remote queue.

Then i provided JMS setting for user and password. Then the remaining settings are the default settings of JMS sender adapter - i have not changed it.

So please advice how to create a running channel in MQSeries - the problem in creating a running sender channel which is coming is what to give in connection field : in which format should i give XI-server and which port to give.

Thanks,

Rajeev Gupta

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check your mail.. Let me send Screen print of existing Sender JMS Adapter

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi Doss,

please send it on my gmail id : rajeevgupta.vns@gmail.com

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Dear All,

Any replies to my above queries.

Dear Doss,

i am still waiting for your mail. it is slightly urgent. so please reply soon.

Thanks,

Rajeev Gupta

agasthuri_doss
Active Contributor
0 Kudos

Hi,

The Adapter is unable to inizalised

Can you try with SAP PI 7.0 , SP 10 that might help to resolve this issue

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi Doss,

Can you please tell me what should be running at the MQSeries server as a prerequiste to get a message in XI server.

Thanks and Regards,

Rajeev Gupta

Former Member
0 Kudos

Dear All,

Can anybody suggest me what are the things in MQSeries which should be running at MQSeries server(like queue,channel, queue manager) to get a message by JMS adapter?

Should the queue manager be of local or remote type? If it local, then can XI connect to this queue manager in MQSeries.

In the above things, i am asking only about MQSeries server things and not of XI server things - just to clarify.

So if somebody has connected MQSeries server to XI server, then please give replies to my above queries. It is slightly urgent.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Dear Doss,

Now my XI server is at SP12 ......i tried by changing the port to 1414...............But still i am getting the below error in Communciation channel monitoring for my sender JMS adapter:

Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '<IP_ADDRESS>:<MQ_QUEUE_MANAGER>'

at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)

at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)

at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)

...

com.ibm.mq.MQException: Message catalog not found

at com.ibm.mq.MQManagedConnectionJ11.&lt;init&gt;(MQManagedConnectionJ11.java:171)

at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)

...

In above in <IP_ADDRESS>:<MQ_QUEUE_MANAGER> i am getting the IP_ADDRESS and MQ_QUEUE_MANAGER which i have specified in my sender JMS adapter.

Dear All,

Any inputs for resolving the above issue.

Thanks and Regards,

Rajeev Gupta

agasthuri_doss
Active Contributor
0 Kudos

Hi Rajeev,

>Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager

Some java Class file are missing and unable to Initialize the Adapter...That is Adapter is not able to perform the required action due to missing some Support files....

Try to go for next version of MQ Series and try out and also go for >SP10

Regards

Agasthuri Doss

agasthuri_doss
Active Contributor
0 Kudos

Hi Rajeev,

Try with MQ Series 5.5 and mean time raise a OSS ticket...

Regards

Agasthuri Doss

agasthuri_doss
Active Contributor
0 Kudos

Hi Rajeev,

1) Check whether the MQ Series Version you connecting has the Compatibility with SAP PI.

2) Try to Deploy the IBM drivers once again with all the support files

3) Check Thin or Thick Client

4) Check out this Guide

https://websmp205.sap-ag.de/~sapdownload/011000358700003994312004E/HowTo_ConfigExtAdapters.pdf

5) What all the jar files you have included

6) http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm

Regards

Agasthuri Doss

agasthuri_doss
Active Contributor
0 Kudos

Hi Rajeev,

To invoke the client-side we need to include mqsecexit.jar file in the classpath.

Regards

Agasthuri Doss

Former Member
0 Kudos

Did you see this presentation on the JMS Adapter?

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e5...

There are screenshots on configuring the JMS Adapter for MQSeries

Former Member
0 Kudos

Hi Barry,

Thanks for your response.

Just one more question: So in Visual Admin, for the JMS provider service, we can create a remote queue for IBM MQSeries to send message to XI - is this thing correct or not?

Dear All,

Any response to my above post.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Dear Barry,

I created a queue in XI.

how to create the remote queue manager in SAP XI?

Dear All,

Please answer my above query.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Dear All,

Any updates on the above query please.

Thanks,

Rajeev Gupta