Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi
Currently, i am trying to open a JDBC connection to Informix thru different
threads. To open 1 JDBC connection via a thread is fine, but when i spawn out
another thread and that thread tries to open another JDBC connection, i will
encounter an exception (see below).
I am using IUS 9.12 with the JDBC drivers supplied by Informix. Is there any
way i can do multiple connections to IUS ? Pls cc: all replies to
pellias@acm.org
informix.api.jdbc.JDBCException: XIX000:-27000:Cannot support
multiple connections over shared memory.
at
informix.api.jdbc.JDBCConnection.<init>(JDBCConnection.java:33)
at informix.api.jdbc.JDBCDriver.connect(JDBCDriver.java:92)
at java.sql.DriverManager.getConnection(DriverManager.java:91)
at java.sql.DriverManager.getConnection(DriverManager.java:149)
at
UserfileManager.GetDatabaseConnection(UserfileManager.java:40)
at tryconnection.<init>(tryconnection.java:41)
at tryconnection.<init>(tryconnection.java:27)
at tryconnection.main(tryconnection.java:55)
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.