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 & PHP

Post new topic  Reply to topic
 MQ & PHP « View previous topic :: View next topic » 
Author Message
davexs2020
PostPosted: Fri Aug 06, 2010 3:40 am    Post subject: Reply with quote

Newbie

Joined: 07 Nov 2009
Posts: 9

We have managed to put and get messages from WebSphere MQ 7.0 via PHP SAM (in Windows XP with Apache, PHP, MQ client v7 and XMS)!

But we failed to use pub/sub functionality as written from this link:
http://www.php.net/manual/en/sam.pubsub.php

We encountered the following error while executing the PHP SAM subscribe script:
"unable to create xms consumer"

Sounds greek to me, anyone has an idea what this means? Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 06, 2010 4:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need to examine the rest of the exception to determine why the xms subscription failed.

You might also run xms sample programs that create subscriptions (there should be one...) and see if those work, and troubleshoot it until they do.
Back to top
View user's profile Send private message
davexs2020
PostPosted: Sat Aug 07, 2010 9:56 am    Post subject: Reply with quote

Newbie

Joined: 07 Nov 2009
Posts: 9

@mqjeff
Thanks for the response. We have installed the latest WebSphere MQ Client v7.0.1.2 on the windows machine but it is connecting to a WebSphere MQ v7.0 QM on z/OS. I have read from the link below that it needs v7.0.0.1.

http://www-01.ibm.com/support/docview.wss?uid=swg24007092

Does it mean we need to upgrade the QM on z/OS to v7.0.0.1 or it only requires that we have WebSphere MQ Client greater than v7.0.0.1?

Thanks,

Dave
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 07, 2010 3:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

davexs2020 wrote:
@mqjeff
Thanks for the response. We have installed the latest WebSphere MQ Client v7.0.1.2 on the windows machine but it is connecting to a WebSphere MQ v7.0 QM on z/OS. I have read from the link below that it needs v7.0.0.1.

http://www-01.ibm.com/support/docview.wss?uid=swg24007092

Does it mean we need to upgrade the QM on z/OS to v7.0.0.1 or it only requires that we have WebSphere MQ Client greater than v7.0.0.1?

Thanks,

Dave


Well it really depends on what all of the features you want to use.
Especially if you want to use server based message selectors...

I would suggest you get your server upgraded.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashikanth_in
PostPosted: Thu Sep 23, 2010 2:04 am    Post subject: Reply with quote

Centurion

Joined: 26 Feb 2009
Posts: 123

davexs2020,

Has this problem been resolved? I am also trying SAM.

Can you provide details of the exception you got? There might be mq reason code in the exception.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ & PHP
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.