Informix Error -9486: Invalid URL.
Cause and resolution
Invalid URL.
Check the syntax of the URL for the jar.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9486 fires when the URL given for a jar's source is syntactically invalid — per the official guidance.
- A malformed URL passed to
install_jar()or a related procedure, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the syntax of the URL for the jar, per the official guidance.
Examples
An invalid jar source URL
EXECUTE PROCEDURE install_jar('path/to/myjar.jar', 'MyJar', 0);
-- -9486: missing the file: scheme prefix
Corrected
EXECUTE PROCEDURE install_jar('file:/path/to/myjar.jar', 'MyJar', 0);
Diagnostic Checks
- Check the jar source URL's syntax, including the scheme prefix, and correct it.
Related Errors / Related Topics
- -9484 — "Invalid jar name." A related jar-installation validity error, on the jar's name rather than its source URL.
The jar's source URL was syntactically invalid — check its scheme prefix and syntax.