Exception thrown when processing an HL7 message after first installation of the HL7 protocol.

Exception thrown when processing an HL7 message after first installation of the HL7 protocol.

book

Article ID: KB0090054

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks HL7 Plug-in -
Not Applicable -

Description

Resolution:
Description:
============
The following error is observed in the BW logs:

This message could not be interpreted by our hl7 parser and cannot be validated.&ltbr /&gtJob-5 Error in [Processes/Validation/HL7/Master.process/Parse HL7 Header]
java.lang.UnsatisfiedLinkError: chm_java (A file or directory in the path name does not exist.)
    at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:981)
    at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)


Environment:
============
TIBCO BusinessWorks HL7 Plug-in 5.X.X

Cause:
=====
The shared library for Interfaceware is not  loading correctly.  

Resolution:
=========
  
Look for the following line in the TRA file:

tibco.env.LD_LIBRARY_PATH=/tibco/apps/hl7/5.2/lib\:%TPCL_HOME%/lib/httpclient_3.0\:%TRA_HOME%/hotfix/lib%PSP%%TRA_HOME%/lib%PSP%%TPCL_HOME%/lib%PSP%%RV_HOME%/lib%PSP%%JVM_LIB_DIR%/server%PSP%%JVM_LIB_DIR%%PSP%%TRA_HOME%/hotfix/icjava/6.2/lib%PSP%%TRA_HOME%/icjava/6.2/lib%PSP%%LD_LIBRARY_PATH%\:%TPCL_HOME%/tomcat/5.5/compatible/lib

The "/tibco/apps/hl7/5.2/lib\" value should point to the directory where chm_java.dll or chm_java.so is located.  To find the correct directory, use the "cd" command to go to the hl7 directory and type the following command:

find . -name "chm_java.*" -print

Change the LD_LIBRARY_PATH value to point to the directory where this file is located.

Issue/Introduction

Exception thrown when processing an HL7 message after first installation of the HL7 protocol.