Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in IIB - User Exit 'dtwsmbagent' not found


Configured IIB to be accessible from Dynatrace appmon client as per the below link.

C:\Program Files\IBM\IIB\>mqsireportflowuserexits TESTNODE_IBM -e default
BIP8859I: User Exits active for integration node 'TESTNODE_IBM': dtwsmbagent.
BIP8071I: Successful command completion.

But getting below error when deploying any application to the above integration node, TESTNODE_IBM.

'A User Exit name 'dtwsmbagent' has been specified as active or inactive but that user exit was not provided by any library loaded by this integration server. No user message flows will be started until this is resolved. The list of user exits registered in this integration server is ''.'

Additional details -

C:\Program Files\IBM\IIB\>echo "%MQSI_USER_EXIT_PATH%"
";C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib"

C:\Program Files\IBM\IIB\>echo "%DT_HOME%"
"C:\Program Files\Dynatrace\Dynatrace 7.2"

Could anyone please help what is missing here?




I changed the path of library from

C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib to

C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib64.

And that worked. Could instrument the EG and deploy applications there too.

Someone please help me with the next steps as I am not seeing any IIB applications in Dynatrace appmon client. Do we need to create System Profile there? Please guide me.


@Babar Q., Could you please help me in this regard?

Hello @Jina P.

I am providing the below steps we have taken for AIX or z/Linux but this should work for you as well.

First create an agent group and then add the logical names for the agents mapping e.g. your broker(s) name is ABC.

follow below steps (1-5) on the ABC server to reconfigure the Dynatrace
agent and kindly note that the message broker needs to be restarted for changes to take effect.

the file {$MQSI_WORKPATH}/common/profiles/
with the following contents and give it execute permission.


export DT_SERVER=

export DT_HOME=/opt/apm/dynatrace-6.2

#If not set DT_AGENTNAME defaults to "WebSphere_MB"


#Per default we store the PurePath id in variables/dynaTrace-tag

#To store it in the Message Broker's environment, set variable
name/path with e.g.:

export DT_WSMBTAGPATH=/opt/apm/dynatrace-6.2/agent/lib64

if [ "$MQSI_VERSION_V" = "6" ]



export MQSI_USER_EXIT_PATH64=${MQSI_USER_EXIT_PATH64}:${DT_HOME}/agent/lib64





Open a terminal session as user with WebSphere MB administration
privileges and ensure that the Message Broker environment was set up (mqsiprofile was executed).

below lines in your .bash_profile file and
also run the .bash_profile or below script
to make sure it is executed:

# run dtwsmbagent using below command

. /var/mqsi/common/profiles/

Important note: Please run the env or set command as mqsi
user to ensure that above variables like DT_SERVER, DT_HOME, DT_AGENTNAME,
DT_WSMBTAGPATH, MQSI_USER_EXIT_PATH64 etc are set before you proceed with
restarting broker.

Stop WebSphere MB:

mqsistop ABC

Activate the Agent in WebSphere MB:

mqsichangebroker ABC or X -e dtwsmbagent

Start WebSphere MB:

mqsistart ABC




Hi @Babar Q.

Thanks for the details.

I already did the above steps mentioned by you, except setting DT_AGENTNAME and DT_WSMBTAGPATH as that was optional as per Dynatrace documentation.
Now by seeing your post, I changed those variables in dtwsmbagent.cmd as per the instructions given by you. But still not able to see IIB agent or applications in Dynatrace Appmon client.

Listing the steps below for you to check if I am missing anything -

1> Started Dynatrace Appmon server in Windows local machine.

2> In the same machine, created 'dtwsmbagent.cmd' in %MQSI_WORKPATH%/common/profiles and executed that with Admin access

In IIB Console, able to see the path of all variables set correctly.

C:\Program Files\IBM\IIB\>echo "%MQSI_WORKPATH%"

C:\Program Files\IBM\IIB\>echo %DT_SERVER%

C:\Program Files\IBM\IIB\>echo "%DT_WSMBTAGPATH%"
"C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib64"

C:\Program Files\IBM\IIB\>echo "%DT_AGENTNAME%"

C:\Program Files\IBM\IIB\>echo "%DT_HOME%"
"C:\Program Files\Dynatrace\Dynatrace 7.2"

C:\Program Files\IBM\IIB\>echo "%MQSI_USER_EXIT_PATH%"
";C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib64"

3> Restarted the broker and executed the below commands for Dynatrace configuration in IIB

C:\Program Files\IBM\IIB\>mqsistop TESTNODE_IBM
BIP8071I: Successful command completion.

C:\Program Files\IBM\IIB\>mqsilist
BIP1326I: Integration node 'TESTNODE_IBM' is stopped.
BIP8071I: Successful command completion.

C:\Program Files\IBM\IIB\>mqsichangebroker TESTNODE_IBM -e dtwsmbagent
BIP8071I: Successful command completion.

C:\Program Files\IBM\IIB\>mqsichangebroker TESTNODE_IBM -x "C:\Program Files\Dynatrace\Dynatrace 7.2\agent\lib64\dtagent.lel"
BIP8071I: Successful command completion.

C:\Program Files\IBM\IIB\>mqsistart TESTNODE_IBM
BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem.

C:\Program Files\IBM\IIB\>mqsichangeflowuserexits TESTNODE_IBM -e default -a dtwsmbagent
BIP8071I: Successful command completion.

C:\Program Files\IBM\IIB\>mqsireportflowuserexits TESTNODE_IBM -e default
BIP8854I: User Exits active for integration server 'default': dtwsmbagent.
BIP8859I: User Exits active for integration node 'TESTNODE_IBM': dtwsmbagent.

BIP8071I: Successful command completion.

4> Started Dynatrace AppMon client to view the applications in TESTNODE_IBM. But no IIB agent is displayed there.

Could you please help regarding point #4?


Able to see the Integration node now when I hit the service deployed in the EG. Otherwise it was not visible. Thank you @Babar Q.