According to the Informix JDBC doc, the Connection.setReadOnly() is part of the Unsupported methods.
But I don't use setReadOnly(). I just call ds.getConnection(), and it fails. I didn't ask it to be read-only...
please post more info
your JDBC & Jbos release, more detail on the error
how is the standardjbosscmp-jdbc.xml ?
I have the same problem, I've checked it up with JBoss 3.2.1 and it has worked without a problem, so it has to do with JBoss 3.2.2.
<connection-property name="INFORMIXSERVER">my server</connection-property>
<connection-property name="database">my database</connection-property>
Since I didn't specifiy readonly either, I guess JBossManagedConnectionPool does it somehow.
Now this is a real showstopper, Informix datasources are not usable now.
I'm working with Jboss 3.0.7 and JDBC 2.21 JC2
I do not face this problem.
I have also tried with Jboss 3.2.2 and JDBC 2.21 JC5, also it works fine..
That's interesting, we are using 2.20 JC1. The problems didn't exist before JBoss 3.2.2. I'll try to get the new version.
Hey that's cool! Have downloaded JDBC 2.21 JC5 and it works now with JBoss 3.2.2. Thanks!