-
1. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
jschimmoeller Dec 6, 2002 8:07 PM (in response to jschimmoeller)Problem solved.
IBM gave me a new JDBC driver 2.21 JC3 x1 that allows you to change the isolation level and lock mode via the DBURL.
Jim -
2. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
lafr Dec 7, 2002 8:35 AM (in response to jschimmoeller)I use the same Informix Server and JDBC-Driver.
But I did not find this in the documentation.
Can you show us an example how you can set this properties ? -
3. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
smorrell Jan 17, 2003 4:53 PM (in response to jschimmoeller)> Can you show us an example how you can set this
> properties ?
Contact IBM to get the version 2.21 JC3 x1 of the JDBC driver. Then use the IFX_LOCK_MODE_WAIT and/or IFX_ISOLATION_LEVEL property in the URL. Like this...
jdbc:informix-sqli://host:port/db:informixserver=value;IFX_LOCK_MODE_WAIT=30 -
4. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
micah_gideon Mar 13, 2003 12:06 PM (in response to jschimmoeller)This configuration parameter appears to be ignored, so I wrote a simple MBean to function as a startup class. It simply retrieves the MaxSize of your connection pool, retrieves that number of connections and sets their lock wait modes and then closes them. It is sub-optimal as it's effective usage requires you to set the connection pool's MaxSize equal to the MinSize.
Installation requires that you locate the attached .SAR in your deploy directory and the above mentioned MaxSize=MinSize modification in informix-service.xml.
I hope someone finds this useful. The attached .SAR includes the full source if you'd like to take a look - it's also a decent example of a JBoss MBean. -
5. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
micah_gideon Mar 13, 2003 12:11 PM (in response to jschimmoeller)This configuration parameter appears to be ignored, so I wrote a simple MBean to function as a startup class. It simply retrieves the MaxSize of your connection pool, retrieves that number of connections and sets their lock wait modes and then closes them. It is sub-optimal as it's effective usage requires you to set the connection pool's MaxSize equal to the MinSize.
Installation requires that you locate the attached .SAR in your deploy directory and the above mentioned MaxSize=MinSize modification in informix-service.xml.
I hope someone finds this useful. The attached .SAR includes the full source if you'd like to take a look - it's also a decent example of a JBoss MBean. -
6. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
micah_gideon Mar 13, 2003 12:12 PM (in response to jschimmoeller)This configuration parameter appears to be ignored, so I wrote a simple MBean to function as a startup class. It simply retrieves the MaxSize of your connection pool, retrieves that number of connections and sets their lock wait modes and then closes them. It is sub-optimal as it's effective usage requires you to set the connection pool's MaxSize equal to the MinSize.
Installation requires that you locate the attached .SAR in your deploy directory and the above mentioned MaxSize=MinSize modification in informix-service.xml.
I hope someone finds this useful. The attached .SAR includes the full source if you'd like to take a look - it's also a decent example of a JBoss MBean. -
7. Re: JBOSS 2.4.4 / Informix 7.31 cannot change Isolation Leve
micah_gideon Mar 13, 2003 6:43 PM (in response to jschimmoeller)i apologise for the multiple posting. i was recieving errors during posting and when i tried to check, my post did not show up.