Reproduce the problem with samples :
Just run mqsv sample   on two different consoles :

---------------------------------------------------------------------------------------------------------------------------------------------
SC-1# samples/mqsv # ./msg_demo 1
 
STARTING THE MQSv DEMO
======================
MessageQ Sender Application
Apr 12 11:00:55 SC-1 osafmsgd[3806]: ER Sending the message to the specified 
destination with error 6
Apr 12 11:00:55 SC-1 osafmsgd[3806]: ER ERR_FAILED_OPERATION: Couldn't Send 
ASAPi Name Resolution Response Message
##########################################################################
 
SCENARIO#1:Sending Messages via Sync API - saMsgMessageSend START


SC-1# samples/mqsv # ./msg_demo 0
 
STARTING THE MQSv DEMO
======================
MessageQ Receiver Application
#####################################################################################
 
DEMO SCENARIO#1: Receiving messages via Sync API - saMsgMessageGet START
 
 
MQSV:MQA:ONsaMsgQueueOpen failed with rc - 6
Press Enter Key to Continue...

---------------------------------------------------------------------------------------------------------------------------------------------
 


---

** [tickets:#1748] MQSV service is not working ( Queue open does not succeed) **

**Status:** unassigned
**Milestone:** 5.0.RC2
**Created:** Tue Apr 12, 2016 03:49 AM UTC by Srikanth R
**Last Updated:** Tue Apr 12, 2016 03:52 AM UTC
**Owner:** nobody
**Attachments:**

- 
[mqsv.tgz](https://sourceforge.net/p/opensaf/tickets/1748/attachment/mqsv.tgz) 
(109.2 kB; application/x-compressed-tar)


Changeset : 7436 
Version : 5.0 FC


Issue : 

1) Queue opening fails with TRY_AGAIN / TIME_OUT.  

Below is the output of sample application :

DEMO SCENARIO#1: Receiving messages via Sync API - saMsgMessageGet START


MQSV:MQA:ONsaMsgQueueOpen failed with rc - 6
Press Enter Key to Continue...

Below is the output of test application with retry mechanism handled.

100|0| RETRY           : saMsgQueueOpen with valid params - Non Persistent
100|0| Return Value    : SA_AIS_ERR_TRY_AGAIN
100|0|
100|0| Retry Count : 10
100|0| Retry Count : 20
100|0| Retry Count : 30
100|0| Retry Count : 40
100|0| Try again count exceeded


    In the case of aysnc, queue open callback returns TRY_AGAIN.
 
100|0| Queue name      : safMq=nonpersistent_Q_37
100|0| size            : 1000
100|0| creation flags  : SA_MSG_QUEUE_NON_PERSISTENT
100|0| open flags      : SA_MSG_QUEUE_CREATE
100|0| SUCCESS         : saMsgQueueOpenAsync with valid parameters - Non 
Persistent
100|0| Return Value    : SA_AIS_OK
100|0| Invocation      : 115
100|0|
100|0|
100|0| ----------- Queue Open Callback -------------
100|0| Error String  : SA_AIS_ERR_TRY_AGAIN
100|0| Invocation  : 115
100|0| -----------------------------------------------

Below is the output in syslog .

Apr 10 20:31:21 CONTROLLER-2 osafmsgnd[13195]: ER ERR_TRY_AGAIN: Timeout occurs 
Unable to send the respons in async case
Apr 10 20:31:21 CONTROLLER-2 osafmsgnd[13195]: ER The procedure to open the 
Queue Failed with err 6
Apr 10 20:31:21 CONTROLLER-2 osafmsgd[13213]: ER Sending the message to the 
specified destination with error 6
Apr 10 20:31:21 CONTROLLER-2 osafmsgd[13213]: ER ERR_FAILED_OPERATION: Couldn't 
Send ASAPi Name Resolution Response Message



2) saMsgInitialize  and saMsgFinalize returning  TIME_OUT, which is not earlier 
observed on an idle system .


100|0| ***** Create a queue with zero retention time using saMsgQueueOpen *****
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0| FAILED          : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_ERR_TIMEOUT
100|0|
100|0|
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0| SUCCESS         : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_OK



100|0| Version         : B.3.1
100|0| SUCCESS         : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_OK
100|0| Message Handle  : 6876704
100|0| Version Output  : B.3.1

100|0| FAILED          : saMsgFinalize with all valid parameters
100|0| Return Value    : SA_AIS_ERR_TIMEOUT


Traces of msgd, msgnd and test application are attached


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to