Sorry,  anwser to the 1st question , the fact is the session is closed is
because by default there is a 30 minute time out somewhere in xml doc's
either tld or struts-config i'll have 2 take a look as im digesting all this
at work and at home but there is definately a time out period.

Hope this helps as it will mean i made my 1st contrubtion (makes a change )
Cheers newbie (chuck).



hunkpapa wrote:

> Hi,
> I've some new questions
> to GenericDataSource.
> I put this in the struts-config.xml
>   <data-sources>
>     <data-source
>        autoCommit="false"
>       description="Example Data Source Configuration"
>       driverClass="sun.jdbc.odbc.JdbcOdbcDriver"
>          maxCount="4"
>          minCount="2"
>          password=""
>               url="jdbc:odbc:TEST"
>              user="sa"
>     />
>   </data-sources>
>
> I works well.
> Here my questiions:
> - How does struts manage the connections, if the session is closed cause
> the user is gone ? Does it close automatic ?
> - How can I  share a "pool" of open connections between all of the
> application's current users. ?

--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at [EMAIL PROTECTED]) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.


Reply via email to