-
1. Re: What's wrong with jboss3.2.1?
jonlee May 29, 2003 6:47 AM (in response to yjyang)If you are using Postgresql as the back-end database, it means there is an incompatibility between the back-end database and the JDBC driver. I can't remember which way it went but it is either that the new drivers don't match the old back-end interface or vice-versa. I think the newer drivers are incompatible with the older Postgresql interface, hence doesn't support the isolevel option in the connection establishment.
-
2. Re: What's wrong with jboss3.2.1?
yjyang May 29, 2003 9:26 PM (in response to yjyang)Thanks.
But why the driver has not any errors when i use the jboss3.0.6?
And can you give me an example for configuration?
Thanks. -
3. Re: What's wrong with jboss3.2.1?
jonlee May 30, 2003 5:27 AM (in response to yjyang)I think the pools are more exacting in the connection process to better handle events such as the database or network connection bouncing - and the isolevels were not introduced until the either 7.2 or 7.3. In any event, we use Postgresql 7.3 in Cygwin and Linux with pg73jdbc3.jar without any issues.
The postgres-ds.xml in docs/jca/examples is an operational definition. I give an ECperf 1.1 definition below.
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: postgres-ds.xml,v 1.1 2002/07/22 22:57:24 d_jencks Exp $ -->
<!-- ==================================================================== -->
<!-- Datasource config for Postgres -->
<!-- ==================================================================== -->
<local-tx-datasource>
<jndi-name>CorpDataSource</jndi-name>
<connection-url>jdbc:postgresql://localhost:5432/ecperf</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>x</user-name>
y
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
</local-tx-datasource> -
4. Re: What's wrong with jboss3.2.1?
yjyang Jun 1, 2003 9:30 PM (in response to yjyang)Thanks jonlee.
I have understood what you said.
Thanks.