MSMTC gets: Return code from DDSI_java_open is higher then zero. RC=13

Document ID : KB000052362
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

At startup of MSMTC (Tomcat stc) you get the error:

SafManager - initialiseDSI() : Return code from DDSI_java_open is higher then zero. RC=13
FATAL 2009-10-08 12:19:18,361 (SystemManager.java:224): SafError
    Attached diagnostic text:
        Error during DSI java open. RC=13

And the started task ends.

Solution:

There is a difference in the port number between DSI and the port using with CA Mainframe Software Manager Tomcat.
The port number is specified in the profile dataset before running the setup with parameter MSMDSIPortNo.
The port number for CA Mainframe Software Manager needs to be unique and cannot be shared with other DSI interfaces.
The value is stored in 2 places, in the CA Mainframe Software Manager database and the DSI.CONF.
If they differ this message is generated.
However if the port numbers are the same and you did not change it, then it also can be the host parameter in the dsi.conf.
You can check the dsi.conf by browsing it.
It can be found in the hfs directory: /SYSTEM/var/CAMSM/msmserv/msmruntime/dsi/.
To check the CA Mainframe Software Manager database you can run the job:

//SQLEXEC  EXEC PGM=DBSQLPR,               //       PARM='prtWidth=1500,inputWidth=80'//SYSUDUMP DD  SYSOUT=*                    //SYSPRINT DD  SYSOUT=*                    //STDERR   DD  SYSOUT=*                    //STDOUT   DD  SYSOUT=*                    //OPTIONS  DD  *                           AUTHID=CASWMGT                             /*                                         //SYSIN    DD  *                           SELECT KEY, VALUE FROM USERCONFIG             WHERE KEY = 'dsiPort'           OR KEY = 'dsiConf';    //

The default is blank, change it to localhost and 127.0.0.1(the loopback IP Address).