In our WTX map (version 18.104.22.168(13)) we are using the JEXIT function and are receiving:
ERROR: JExit exception encountered: Unable to find class com.ibm.websphere.dtx.dtxpi.MDispatchFunction
*ERR: Exception occurred (-2) in JExit()
Here's an example of our map rule:
=JEXIT("com.in.edi.mapping.WtxCodeLookup", "getIHCodeFromEDICode", "entityTypeQualifier", SubmitterEntityType Submitter Element:HeaderRecord RecordTypes:Input_PIM)
This call is using a java class and method,com.in.edi.mapping.WtxCodeLookup - getIHCodeFromEDICode, that gets a text file, based on the parameters passed in-entityTypeQualifier. Once it finds the text file it returns information from there for the other parameter that was passed in - SubmitterEntityType Submitter Element:HeaderRecord RecordTypes:Input_PIM .
There are multiple jexit calls in the map that are doing basically the same thing just for different parameters.
Pinned topic why receiving JExit exception for unable to find class
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-30T18:14:00Z at 2013-01-30T18:14:00Z by SystemAdmin
Re: why receiving JExit exception for unable to find class2013-01-24T13:55:51ZThis is the accepted answer. This is the accepted answer.Where are running the map, Inside Design Studio ? This looks like the map is missing to find the core WTX jar files.
Purush_WTX 270002TMQV8 Posts
Re: why receiving JExit exception for unable to find class2013-01-29T20:13:46ZThis is the accepted answer. This is the accepted answer.Looking at your example, looks like you are trying to access a class WtxCodeLookup and method getIHCodeFromEDICode().
So if you have JEXIT error related to this class package, you should not be seeing "com.ibm.websphere.dtx.dtxpi.MDispatchFunction"
Rather your exception error should say "com.in.edi.mapping.WtxCodeLookup".
So I suspect, you are missing all mandatory installation of WTX and JAR related to JEXIT method call. Contact your IBM Support partner.
Re: why receiving JExit exception for unable to find class2013-01-30T18:14:00ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK