"Cannot call property getCertsFromDNS in object" after importing IIS or TOC channel for Mass Highway

0 votes
asked Jun 23, 2015 by brandon-w-8204 (33,330 points)
After importing  and starting the Immunization or Transition of Care package for Mass Highway i am getting the following error.

TypeError: Cannot call property getCertsFromDNS in object [JavaPackage com.qvera.dnsjava.LookupCert]. It is not a function, it is "object".

1 Answer

0 votes

This error is caused by the following line. 

destX509 = qie.base64Encode(new java.lang.String(com.qvera.dnsjava.LookupCert.getCertsFromDNS(messageCache.getValue('To')).get(0).getEncoded(), 'ISO-8859-1'));

The underlined code is looking for an additional jar file that is available at the following link:

Steps to install:

1. download the zip file from the link above
2. Extract and copy the "MA HiWay Jars" folder to "C:\programdata\qie\lib" folder
3. Log into QIE and go to "System Admisitration">"System Configuration">"Manage External LIbraries". Check the MA HiWayJars in the dialog that opens.
4. Click Update and then yes to restart QIE when prompted.

answered Jun 23, 2015 by brandon-w-8204 (33,330 points)
edited Jun 24, 2015 by brandon-w-8204