My Oracle Support Banner

OHMPI 3.0: Java.lang.ClassNotFoundException Adding Custom Comparator .jar File Instead Of .zip (Doc ID 2026785.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Healthcare Master Person Index - Version 3.0 and later
Information in this document applies to any platform.

Symptoms

In OHMPI 2.0.2 there is a custom comparator already in Production environment that is working OK. Upgrading it to OHMPI 3.0.

In OHMPI 3.0 with NetBeans 8.0.2, the method of importing a new comparator has changed, but the documentation has not. The documentation still says that the custom comparator must be in a zip file, but the new product only accepts a jar.

2. Recompiled the code under Java JDK, created a Jar file and imported it to the project but the class is not being found. The configuration files properly reference it.

3. Tried the workaround of renaming a zip file to jar, but it did not work. Hitting java.lang.ClassNotFoundException as follows:

Extract from AdminServer.log:

####<Jun 24, 2015 2:10:51 PM EDT> <Error> <com.sun.mdm.index.ejb.master.MasterControllerCoreImpl> <hssc-cdw-mpi-d> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <ohmpi> <> <> <1435169451216> <BEA-000000> <MDM-MI-MSC017: Could not find the mBeanServer.>
####<Jun 24, 2015 2:10:51 PM EDT> <Error> <com.sun.mdm.matcher.comparators.ComparatorsManager> <hssc-cdw-mpi-d> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <ohmpi> <> <> <1435169451218> <BEA-000000> <MDM-DQ-MEG508: Failed to load configured match comparator class: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance>
####<Jun 24, 2015 2:10:51 PM EDT> <Error> <com.sun.mdm.index.matching.MatcherImpl> <hssc-cdw-mpi-d> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <ohmpi> <> <> <1435169451218> <BEA-000000> <MDM-MI-MAT001: Match engine initialization failed: MDM-MI-MAT525: Failed to initialize the SBME match adapter: com.sun.mdm.matcher.comparators.MatchComparatorException: Failed to load configured match comparator class: Twin SSN Edit Distance|com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance msg: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance>
####<Jun 24, 2015 2:10:51 PM EDT> <Error> <com.sun.mdm.index.ejb.master.MasterControllerCoreImpl> <hssc-cdw-mpi-d> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <ohmpi> <> <> <1435169451219> <BEA-000000> <MDM-MI-MSC009: Initialization failed: MDM-MI-MAT525: Failed to initialize the SBME match adapter: com.sun.mdm.matcher.comparators.MatchComparatorException: Failed to load configured match comparator class: Twin SSN Edit Distance|com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance msg: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance.>
####<Jun 24, 2015 2:10:51 PM EDT> <Error> <com.sun.mdm.index.edm.presentation.handlers.LoginHandler> <hssc-cdw-mpi-d> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <ohmpi> <> <> <1435169451222> <BEA-000000> <Wed Jun 24 14:10:51 EDT 2015 - MDM-MI-LGH004: Error while initializing ValidationService : EJB Exception: ; nested exception is:
       com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke public void com.sun.mdm.index.ejb.master.MasterControllerEJB.initialize() throws java.lang.Exception on bean class class com.sun.mdm.index.ejb.master.MasterControllerEJB_yohmxs_Impl with args: null

Caused By: com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke public void com.sun.mdm.index.ejb.master.MasterControllerEJB.initialize() throws java.lang.Exception on bean class class com.sun.mdm.index.ejb.master.MasterControllerEJB_yohmxs_Impl with args: null

Caused By: java.lang.reflect.InvocationTargetException

Caused By: com.sun.mdm.index.matching.MatchingException: MDM-MI-MAT525: Failed to initialize the SBME match adapter: com.sun.mdm.matcher.comparators.MatchComparatorException: Failed to load configured match comparator class: Twin SSN Edit Distance|com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance msg: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance

Caused By: com.sun.mdm.matcher.comparators.MatchComparatorException: Failed to load configured match comparator class: Twin SSN Edit Distance|com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance msg: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance

Caused By: java.lang.ClassNotFoundException: com.sun.mdm.matcher.comparators.addon.TwinSSNEditDistance

 

Changes

 Upgrading from OHMPI 2.0.2 to 3.0

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.