Re: Problem with Connection Pool in Action-Classes

2006-02-14 Thread starki78
ject : Re: Problem with Connection Pool in Action-Classes > starki78 wrote: > > It seems that the action is not absolutely thread safe. > > Can this be? > > > Actions should never* have instance variables. You should not have a > connection stored as an instance varia

Re: Problem with Connection Pool in Action-Classes

2006-02-14 Thread Dave Newton
starki78 wrote: > It seems that the action is not absolutely thread safe. > Can this be? > Actions should never* have instance variables. You should not have a connection stored as an instance variable; it should be retrieved within a method to a method-local variable. If this is what you are do

Problem with Connection Pool in Action-Classes

2006-02-14 Thread starki78
Hi, we have a connection-member variable in our super-action that is opened and closed there by the connection-pool. (it's always clossed within the finally block) Now then we call the sub-classes very often in a short period it seems the connection isn't been given back!!! It seems that the action