Re: [appfuse-user] CommunicationsException

2008-07-29 Thread jonl
The exception had to do with MySql (or was the applications DB pool?) not releasing/refreshing stale connections. This led to MySql using the maximum allowable connections, eventually leading the app to throw an exception when it needed another connection. It was a while back. Can't remember the

Re: [appfuse-user] CommunicationsException

2008-07-29 Thread java_user_
Thanks Jon! That fixed the problem. After some trial and error, it appears that "validationQuery" was the specific dataSource property that fixed the CommunicationsException problem. I was seeing an AbandonedObjectPool error when I had removeAbandoned set to true. Was that the MySQL pooling ex

Re: [appfuse-user] CommunicationsException

2008-07-29 Thread jonl
Hi, I encountered something similar and approached it by tweaking the datasource bean: SELECT 1 I've only experienced it with MySql, never

Re: [appfuse-user] CommunicationsException

2008-07-22 Thread J. David Mendoza
Try using the latest and see if that fixes the problem... you can change the version in the pom later (if it works) 2008/7/22 java_user_ <[EMAIL PROTECTED]>: > > I am using the JARs that came with appfuse 2.0.1 > > mysql-connector-java-5.0.5.jar > > > > J. David Mendoza R. wrote: > > > > Are you

Re: [appfuse-user] CommunicationsException

2008-07-22 Thread java_user_
I am using the JARs that came with appfuse 2.0.1 mysql-connector-java-5.0.5.jar J. David Mendoza R. wrote: > > Are you using the latest mysql jdbc jar? > > 2008/7/21 java_user_ <[EMAIL PROTECTED]>: > >> >> Has anyone figured out what is causing the CommunicationsException after >> 8+ >> hou

Re: [appfuse-user] CommunicationsException

2008-07-21 Thread J. David Mendoza
Are you using the latest mysql jdbc jar? 2008/7/21 java_user_ <[EMAIL PROTECTED]>: > > Has anyone figured out what is causing the CommunicationsException after 8+ > hours on idle time? > It is a stale connection and adding "autoReconnect=true" in the JDBC URL > has > not fixed the issue. > > Ther

[appfuse-user] CommunicationsException

2008-07-21 Thread java_user_
Has anyone figured out what is causing the CommunicationsException after 8+ hours on idle time? It is a stale connection and adding "autoReconnect=true" in the JDBC URL has not fixed the issue. There appears to be a few threads on the forum discussing the issue but I have not seen a final resolut