> hi there !
> i tried to use the Conenction pool with the following
> ds = (DataSource)
> con = ds.getConnection();
> but always whe i make a lookup(aDSName) the JBOSS
> creates a ne ConnectionPool !
> is there something wrong with the connectionPooling
> in 2.4.7 ??
Yes, use 2.4.8 or later.
or is there an example available howtoUse
> PooledConnections ?
> i have tried the same in JBOSS 3.0 and after a few
> times getting a Connection the getConnection fails !
You didnt indicate if your code stops at the end of your snippet or contains
//do something, closing all result sets and statements in finally blocks in reverse order of opening them
I am having the same problem it looks like I get different connection every time I ask for one and yes I do conn.close() in the final.
I am on 3.0.2 version of jboss.
Is it documented anywhere? an example would be great!
Thanks in advance.
the problem is, i use Jboss+jetty ... and there is only 2.4.7 available !
i don't know if it is possible to change only the jboss directory in the jbossjetty version ?
3.02 comes with http server? What is the problem?