Informix Error -9468: Cannot make UDR connection in non-UDR thread.
Cause and resolution
Cannot make UDR connection in non-UDR thread.
A UDR connection can be made only from the thread executing a Java UDR. Make sure the connection is not created on a child thread forked by the UDR.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9468 fires when a UDR (server-side) connection is attempted from a thread that isn't the one executing the Java UDR — per the official guidance.
- The connection created on a child thread forked by the UDR, rather than the UDR's own executing thread, per the official guidance — the direct, only cause; a UDR connection can be made only from the thread executing the Java UDR.
Solutions / Resolution
- Make sure the connection isn't created on a child thread forked by the UDR, per the official guidance — create it directly on the UDR's executing thread.
Examples
N/A
No specific triggering statement is documented beyond creating the connection on a forked child thread.
Diagnostic Checks
- Check the Java UDR's code for where the JDBC connection is opened, and move it onto the UDR's own executing thread if it's on a child thread.
Related Errors / Related Topics
- -9469 — "UDR connection failed." A related UDR-connection error, general/internal rather than tied to the specific wrong-thread cause.
A UDR connection was attempted from a forked child thread instead of the UDR's own thread — create the connection on the UDR's executing thread.