Subject: DataSource con.close() question
From: "David Bolsover" <[EMAIL PROTECTED]>
 ===
Hi

I have a datasource defined in the struts-config.xml file.

The datasource connects to the source database fine.

Enrty in struts-config.xml:

<data-source key="Centura">
<set-property property="autoCommit" value="true" />
<set-property property="description" value="Visual Manufacturing Data
tables" />
<set-property property="driverClass"
value="com.centurasoft.java.sqlbase.SqlbaseDriver" />
<set-property property="maxCount" value="2" />
<set-property property="minCount" value="0" />
<set-property property="password" value="xxxxxx" />
<set-property property="url" value="jdbc:sqlbase://999.999.999.999:9999/dbx"
/>
<set-property property="user" value="xxxxxx" />
</data-source>

The problem is this - even though minCount" value="0", the webapp is
maintaining a connection to the database despite very carful use of suitable
calls to con.close().  - This is causing the db admin some probems.

What is going on - shouldn't struts drop the connection?

Any ideas?

David

[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to