Informix Error -9484: Invalid jar name.
Cause and resolution
Invalid jar name.
If the jar name specifies the database and/or username, make sure that these names match the database and user in the environment in which the jar is being installed.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9484 fires when a jar name is invalid for the environment it's being installed into — per the official guidance.
- A jar name specifying a database and/or username that doesn't match the environment the jar is being installed in, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make sure any database/username named in the jar name matches the database and user in the installation environment, per the official guidance.
Examples
A jar name with a mismatched database
EXECUTE PROCEDURE install_jar('file:/path/to/myjar.jar', 'otherdb:MyJar', 0);
-- -9484 if the current database isn't otherdb
Corrected
EXECUTE PROCEDURE install_jar('file:/path/to/myjar.jar', 'MyJar', 0);
Diagnostic Checks
- Check the jar name for an embedded database/username, and match it to the current installation environment, or remove it.
Related Errors / Related Topics
- -9485 — "Attempt to install an existing jar: (%s)." A related jar-installation error, on name collision rather than name validity.
- -9486 — "Invalid URL." A related jar-installation error, on the source URL's syntax rather than the jar name.
The jar name's embedded database/username didn't match the installation environment — correct or remove it.