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
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
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
3 matches
Mail list logo