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 » WebSphere Message Broker (ACE) Support » Enable embedded listener for specific execution group

Post new topic  Reply to topic
 Enable embedded listener for specific execution group « View previous topic :: View next topic » 
Author Message
rblbank
PostPosted: Sat Jun 03, 2017 4:50 am    Post subject: Enable embedded listener for specific execution group Reply with quote

Newbie

Joined: 03 Jun 2017
Posts: 4

Hello experts, I would like to enable particular Execution group uses embedded listener, and other EGs use broker listener I did below configuration,

mqsichangeproperties NODENAME -o ExecutionGroup -n httpNodesUseEmbeddedListener -v true

mqsistop brokername
mqsistart brokername

I did set port number explicitly using mqsichangeproperties also.
Other EG applications not working , the configured EG for embedded listener is working , would you please suggest.

The error triggered is below.

<data contentType="null" contentLength="48"><![CDATA[Can't find URL mapping for |/test/api/zyz]></dat


What is the solution to fix this, please suggest
Back to top
View user's profile Send private message
nelson
PostPosted: Sat Jun 03, 2017 5:53 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

You can check the output of mqsireportproperties command for HTTP listeners specific properties to see what's going on there:

https://www.ibm.com/support/knowledgecenter/beta/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bc43700_.htm
Back to top
View user's profile Send private message
rblbank
PostPosted: Sun Jun 04, 2017 9:59 pm    Post subject: Enable embedded listener for specific execution group Reply with quote

Newbie

Joined: 03 Jun 2017
Posts: 4

Checked mqsireportproperties , there are no URL visible for this execution group under URLRegistration, that is the reason it is showing error can't find URL mapping, what would be the reason for this, and solution to fix, please suggest.

mqsireportproperties IB9NODE -e default -o HTTPConnector -r

HTTPConnector
uuid='HTTPConnector'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
port='0'
address=''
maxPostSize=''
acceptCount=''
compressableMimeTypes=''
compression=''
connectionLinger=''
connectionTimeout=''
maxHttpHeaderSize=''
maxKeepAliveRequests=''
maxThreads=''
minSpareThreads=''
noCompressionUserAgents=''
restrictedUserAgents=''
socketBuffer=''
tcpNoDelay=''
explicitlySetPortNumber='7080'
enableLookups=''
enableMQListener=''
shutdownDelay=''
allowCrossConnectorPolling=''
autoRespondHTTPHEADRequests=''
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 04, 2017 10:11 pm    Post subject: Reply with quote

Grand High Poobah

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

Can you make port and explicitly set port number match?
Also you did not show if the eg took on the property you set to use embedded listener...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rblbank
PostPosted: Sun Jun 04, 2017 10:31 pm    Post subject: Reply with quote

Newbie

Joined: 03 Jun 2017
Posts: 4

EG took the property Emebeded , results below for TESTEG,



mqsireportproperties IB9NODE -e TESTEG -o HTTPConnector -r


HTTPConnector
uuid='HTTPConnector'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
port='7080'
address=''
maxPostSize=''
acceptCount=''
compressableMimeTypes=''
compression=''
connectionLinger=''
connectionTimeout=''
maxHttpHeaderSize=''
maxKeepAliveRequests=''
maxThreads=''
minSpareThreads=''
noCompressionUserAgents=''
restrictedUserAgents=''
socketBuffer=''
tcpNoDelay=''
explicitlySetPortNumber='7080'
enableLookups=''
enableMQListener=''
shutdownDelay=''
allowCrossConnectorPolling=''
autoRespondHTTPHEADRequests=''
Connector
port='7080'
type='Embedded'
URLRegistration
url='/rbl/api/test'
outstandingRequests='0'
outstandingTimeoutRequests='0'
UsedBySOAPNNodes='FALSE'
UsedByHTTPNNodes='TRUE'
nodeLabel='MultiPaymentReq'
URLRegistration
url='/rbl/api/test2'
outstandingRequests='0'
outstandingTimeoutRequests='0'
UsedBySOAPNNodes='FALSE'
UsedByHTTPNNodes='TRUE'
nodeLabel='GetInvoiceDtlsReq'
URLRegistration
url='/rbl/api/test3'
outstandingRequests='0'
outstandingTimeoutRequests='0'
UsedBySOAPNNodes='FALSE'
UsedByHTTPNNodes='TRUE'
nodeLabel='AcceptMultiPaymentCorpReq'



and explicitly set port number for EG


C:\Program Files\IBM\MQSI\9.0.0.1>mqsireportproperties IB9NODE -e default -o HTTPConnector -r

HTTPConnector
uuid='HTTPConnector'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
port='0'
address=''
maxPostSize=''
acceptCount=''
compressableMimeTypes=''
compression=''
connectionLinger=''
connectionTimeout=''
maxHttpHeaderSize=''
maxKeepAliveRequests=''
maxThreads=''
minSpareThreads=''
noCompressionUserAgents=''
restrictedUserAgents=''
socketBuffer=''
tcpNoDelay=''
explicitlySetPortNumber='7080'
enableLookups=''
enableMQListener=''
shutdownDelay=''
allowCrossConnectorPolling=''
autoRespondHTTPHEADRequests=''
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Jun 04, 2017 11:42 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Do NOT use 7080 as the explicit port.

That is the default port number for the brokerwide listener. You are bound to get conflicts with this or another broker. Pick a unique number.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
rblbank
PostPosted: Mon Jun 05, 2017 12:42 am    Post subject: Reply with quote

Newbie

Joined: 03 Jun 2017
Posts: 4

detailing the requirement

my applications running on 7080 for different Execution groups x, Y, Z, I enable EG listener for Execution group Z, other X, and Y EGs should use broker listener on port 7080 and , the same port should be used for EG 'Z' which is enabled for Embeded listener, we are not supposed to change the port for other applications. we have to use 7080 for all EGs , but one EG should use embeded listener other EG 's should use broker listener.

Would you suggest ,the solution for the mentioned requirement.

https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/bc43700_.htm

Got information as we can enable for some EG s use broker listner and some are Embeded.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 05, 2017 3:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can not use the same combination of IP address and port # for more than one application. Each EG is an application for this discussion.

If you need to present "a single ip address and port" to client applications, then you need to consider some kind of routing/switching tool that gives you a single ip/port, and then passes the right thing to the right EG/broker listener.

Some options are here, and you can also use some other kind of switching thing if it smart enough to route based on URL.

Both apache and the WAS Liberty engine (of the right edition) are free and light enough to be run on your broker machine, -but are better run on another machine.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jun 05, 2017 5:21 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

The veterans here would probably agree with me that the first thing to do with any MQ or IIB install is to change the default port numbers.

Otherwise any other default QM or broker installed (perhaps by someone who is inexperienced) on the same host will interfere with it.

Also you might want to combine QMs/brokers from different hosts to a single host later.

I would choose a unique port number across your entire estate if possible, for each QM and listener port. I like to use a common prefix digit - e.g. 5 for MQ, 7 for http, 8 for https etc.

You can use a F5 to make load-balancing over different EG listeners transparent using port mapping, but still best to avoid the default values in all cases. A bit like not using a password of "password"....
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 » WebSphere Message Broker (ACE) Support » Enable embedded listener for specific execution group
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.