Author |
Message
|
rblbank |
Posted: Sat Jun 03, 2017 4:50 am Post subject: Enable embedded listener for specific execution group |
|
|
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 |
|
 |
nelson |
Posted: Sat Jun 03, 2017 5:53 am Post subject: |
|
|
 Partisan
Joined: 02 Oct 2012 Posts: 313
|
|
Back to top |
|
 |
rblbank |
Posted: Sun Jun 04, 2017 9:59 pm Post subject: Enable embedded listener for specific execution group |
|
|
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 |
|
 |
fjb_saper |
Posted: Sun Jun 04, 2017 10:11 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
rblbank |
Posted: Sun Jun 04, 2017 10:31 pm Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Sun Jun 04, 2017 11:42 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
rblbank |
Posted: Mon Jun 05, 2017 12:42 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Jun 05, 2017 3:39 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Mon Jun 05, 2017 5:21 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
|