BizTalk 2020 with MQSC adapter - ibm-mq

I'm migrating a BizTalk 2013 R2 env to BizTalk 2020 and facing an issue with the adapter MQSC. The flow uses the IBM client installed with Host Integration 2020. We notice the add of 2 new properties on the adapter
We left these properties with the default values, but when sending a message with a one way MQSC send port it remains active and the following error is logged twice in the event log:
The Messaging Engine encountered an error while deleting one or more messages.
Has anyone faced this issue?

#JoshMc No error in queue manager logs.
I solved the issue by changing only the "IBM MQ Client Type" property to "IBM MQ .Net Client"

Related

BizTalk and MQ fail when on the same server

I have BizTalk running on a virtual box, that hits my server. It can post messages to the MQ queues without any problem. The issue is when I run BizTalk, which is installed on the same server as MQ, the MQSAgent throws this error:
The adapter has encountered an 'Access Denied' error while attempting to contact the COM+ object on the MQSeries server. Ensure the BizTalk account is added to the Role on the MQSAgent COM+ application*
The virtual box, uses the same MQSAgent as the server. Just to be sure I checked to make sure everything is set up, ie User is added to the COM group and has the role of creater/owner.
I haven't found anything on line where a developer is having the same issue.
Anyone got any ideas?
I never faced this issue but it seems to be a known issue by Microsoft. please check the following Known Issues with the MQSeries Adapter (learn.microsoft.com)

How to connect an oracle database in visual studio

I already downloaded the oracle developer tools for VS, then I tried connecting HR to Visual studio with this configuration:
my configuration
but gives me this error:
ORA-12514, TNS:listener does not currently know of service requested in
connect descriptor
how do i resolve it?
Your configuration specifies to request a connection to service 'orcl'. But the error message says the database listener (the process responsible for handling the connection request) does not know of any database services 'orcl'. To fully debug, we'd need to see the output of the command 'lsnrctl status', as executed on the database server machine. Most like cause is that the database itself is not started, and thus is not registered to the listener.

Unable to create message queues in IBM MQ 7.5

I am setting up my corporate laptop to install IBM MQ 7.5 and create a Queue Manager and create some queues inside it.
The installation of IBM MQ 7.5 got success. My user id (Ex.malai) is linked to 'mqm' user group.
Creation of Queue Manager
C:\Program Files\IBM\IIB\10.0.0.3>crtmqm A24QM
WebSphere MQ queue manager created.
Directory 'C:\Program Files (x86)\IBM\WebSphere MQ\qmgrs\A24QM' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'A24QM'.
Default objects statistics : 77 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
Starting the Queue Manager
C:\Program Files\IBM\IIB\10.0.0.3>strmqm A24QM
WebSphere MQ queue manager 'A24QM' starting.
The queue manager is associated with installation 'Installation1'.
5 log records accessed on queue manager 'A24QM' during the log replay phase.
Log replay for queue manager 'A24QM' complete.
Transaction manager state recovered for queue manager 'A24QM'.
WebSphere MQ queue manager 'A24QM' started using V7.5.0.0.
The above command looks ok. I launch the IBM MQ with my user id 'malai' and I see as below
The Queue Manager is Disconnected. I do not see the tree icon to expand the Queue Manager to create the Queues.
When I try creating the Queue Manger from GUI it is giving the below output
****************************************
* Command: "C:\Program Files (x86)\IBM\WebSphere MQ\bin\runmqsc" TESTQM
* Input: DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(1414) CONTROL(QMGR)
****************************************
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TESTQM.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
exitvalue = 20
And also, even though I see the manager is in running state, once in 4/5 seconds the up green arrow goes to down red arrow and comes back.
I dont see any error in AMQERR01
I understand it is something to do with user group, rights and permission. Since this is a corporate laptop, I do not have admin rights to my computer (i can get temporarily). It is a dev setup and I would like to know what configuration do I need to do in order for MQ 7.5 to run in my machine.
Update:
When I try execute runmqsc it throws the below error
C:\Program Files\IBM\IIB\10.0.0.3>runmqsc A24QM
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager A24QM.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
Output of amqsput
C:\Program Files\IBM\IIB\10.0.0.3>amqsput A24QM
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
I got a network admin and tried running the MQ Explorer and the cmd with 'Administrator' privileges. Login the PC with my id 'malai' and right click the MQ and select 'Run as Administrator' and login with admin id.
By doing that both runmqsc and MQ explorer works great. Does that giving any clue.
Add your UserId (malai) to the mqm group:
Open a Command Prompt and issue the following command:
net localgroup mqm malai /add
Then reboot Windows. Yes, reboot, its Windows. Then everything will work correctly with your UserId.
Also, why in the world are you installing MQ v7.5? Support for MQ v7.5 ended in April 2018!! Why didn't you install MQ v8.0 or v9.0 or v9.1??

Failed to connect to Websphere MQ Manager

Whenever I connect to a Queue Manager on my Websphere MQ, I get the following error:
An unexpected error(2495) has occurred. (AMQ4999)
The details of this error message says:
An unexpected error (insert_0) has occurred.
I have no idea what this means as I'm new to this. I tried to restart my Websphere MQ as well as the IBM MQSeries server but this still persists. I even tried to create a difference MQ Manager but it still persists. Do you have any idea as to what causes this issue?

MQ Console - Queue manager unavailable, despite it being active

I am testing a deployment of MQ 9.0.1 using Docker, and trying to administer this instance using the Web console. However I am receiving a warning when attaching widgets stating the "Queue manager unavailable".
Warning messages
In the console I can see my Queues are running and have created local queues and can run commands against them.
Also if I try to modify the Queue security records I get another error:
Failed to get authority recordsWMQWB0003E: The request could not be completed due to an internal web application server error.
Any thoughts or suggestions around this issue?
There is no definitive fix for MQ9.0.1 but upgrading to use MQ9.0.2 will resolve issues with hosting MQ Console on linux.

Resources