Informix Error -9489: Invalid jar replacement. Class (%s) from old jar is still referenced.
Cause and resolution
Invalid jar replacement. Class (%s) from old jar is still referenced.
There is at least one class in the old jar that is not replaced in the new jar and is referenced by a Java UDR. You must either drop the Java UDR before you attempt to replace the jar, or add the class to the new jar.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9489 fires when replacing a jar would drop a class that's still referenced by a Java UDR — per the official guidance.
- The named class present in the old jar but not in the new jar, and referenced by a Java UDR, per the official guidance — the direct, only cause.
Solutions / Resolution
- Drop the Java UDR before replacing the jar, per the official guidance.
- Or add the named class to the new jar, per the official guidance.
Examples
N/A
No specific triggering statement is documented; the named class varies.
Diagnostic Checks
- Check the system catalog for UDRs referencing the named class, and either drop them or add the class to the replacement jar.
Related Errors / Related Topics
- -9488 — "Invalid jar removal. All dependent UDRs not dropped." The same class of jar-dependency error, for removing a jar rather than replacing it.
A UDR still references a class missing from the replacement jar — drop the UDR or add the class to the new jar.