Subject | RE: [Firebird-Java] Re: Failure to delist resource |
---|---|
Author | David Wade |
Post date | 2004-08-25T21:53:13Z |
I did say "appears", and it appears I didn't peer enough when peering
for track-connection-by-tx.
Just one other point if you are to pursue this further. The "failure
to delist" happens on the first EJB invocation when using hibernate and
the HAR deployer rather than after 20 minutes. This might save time
tracking down the problem.
David Wade
NZ
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: Wednesday, 25 August 2004 10:10 p.m.
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Failure to delist resource
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>jdbc/firebirdDS</jndi-name>
<xa-transaction/>
<track-connection-by-tx/>
<adapter-display-name>Firebird Database
Connector</adapter-display-name>
<config-property name="Database"
type="java.lang.String">localhost:C:/database/firebirdDS.gdb</config-pro
pert
y>
<user-name>sysdba</user-name>
<password>masterkey</password>
<min-pool-size>0</min-pool-size>
<check-valid-connection-sql>SELECT CAST(1 as INTEGER) FROM
rdb$database</check-valid-connection-sql>
</tx-connection-factory>
</connection-factories>
For more details see the DTD in the docs directory of JBoss.
Roman
Yahoo! Groups Links
for track-connection-by-tx.
Just one other point if you are to pursue this further. The "failure
to delist" happens on the first EJB invocation when using hibernate and
the HAR deployer rather than after 20 minutes. This might save time
tracking down the problem.
David Wade
NZ
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: Wednesday, 25 August 2004 10:10 p.m.
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Failure to delist resource
> How would I set this property in the firebird-DS.xml ?Example:
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>jdbc/firebirdDS</jndi-name>
<xa-transaction/>
<track-connection-by-tx/>
<adapter-display-name>Firebird Database
Connector</adapter-display-name>
<config-property name="Database"
type="java.lang.String">localhost:C:/database/firebirdDS.gdb</config-pro
pert
y>
<user-name>sysdba</user-name>
<password>masterkey</password>
<min-pool-size>0</min-pool-size>
<check-valid-connection-sql>SELECT CAST(1 as INTEGER) FROM
rdb$database</check-valid-connection-sql>
</tx-connection-factory>
</connection-factories>
For more details see the DTD in the docs directory of JBoss.
Roman
Yahoo! Groups Links