Informix Error -9498: Incorrect path to JAR file specified: (<pathname>).
Cause and resolution
Incorrect path to JAR file specified: (<pathname>).
The pathname for the JAR file to be installed is incorrect.
Correct the path to the JAR file and retry.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9498 fires when the pathname given for a JAR file to be installed is incorrect — per the official guidance.
- An incorrect pathname for the JAR file, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the path to the JAR file and retry, per the official guidance.
Examples
An incorrect JAR path
EXECUTE PROCEDURE install_jar('file:/wrong/path/myjar.jar', 'MyJar', 0);
-- -9498 if the file doesn't exist at that path
Corrected
EXECUTE PROCEDURE install_jar('file:/correct/path/myjar.jar', 'MyJar', 0);
Diagnostic Checks
- Check that the JAR file actually exists at the given path, on the database server host, and correct the path if not.
Related Errors / Related Topics
- -9486 — "Invalid URL." A related jar-installation error, on the URL's syntax rather than the pathname being incorrect/nonexistent.
The path given for the JAR file to install was incorrect — correct it and retry.