[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase DataSource, Connection Already closed

2004-06-07 Thread loubyansky
What is done the transaction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837801#3837801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837801 --- This SF.Net ema

[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase DataSource, Connection Already closed

2004-06-07 Thread ophis
I have this line and another which which is for a new connection and the addition of either does not seem to be resolving the problem i a having. I will try to change View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837743#3837743 Reply to the post : http://w

[JBoss-user] [Persistence & CMP/JBoss] - Re: Sybase DataSource, Connection Already closed

2004-06-07 Thread posselt
Hi, Add the following line to your sybase-ds.xml: select 1 If the sybase is down, all connections in the pool are invalid. The pool doesn't check them before handing them out and you get this Exception. With the above property, the pool executes a "select 1" any time a Connection is returned