Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
Hi, I'm currently evaluating Tomcat JDBC Pool after reading all the good things Filip Hanik had to say about it! I was expecting it to be a drop in replacement for commons dbcp but after spending over a half day on this now I'm getting frustrated and am not closer to a solution. Using a mysql database against an innodb table, I'm getting java.lang.StackOverflowError when using tomcat jdbc pool; it just seems to continuously try to create connections even though my settings are initialSize=10 and minIdle=10 I've attached my spring http://old.nabble.com/file/p32044957/applicationContext-db.xml applicationContext-db.xml . Note that: - when using commons dbcp datasource, I can connect without issue - when I comment out the commons dbcp datasource and try to use tomcat.jdbc.pool.DataSource, I get a the StackOverflow exception - I'm using: - xp pro 32bit - java 6 1.6.0.24 to be precise - mysql 5.1.37 - Spring 2.5.6 sec1 - jdbc pool 1.1.0.1 My tomcat jdbc pool settings were taken from(just a slightly modified version) of http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html Would appreciate any feedback or suggestions...thanks! -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32044957.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
I've tried to move the thread, but am unable to. If you point me in the right direction I'd be happy to move it markt-2 wrote: > > On 12/07/2011 12:07, javaguy44 wrote: >> >> Hi, >> >> I'm currently evaluating Tomcat JDBC Pool after reading all the good >> things >> Filip Hanik had to say about it! >> >> I was expecting it to be a drop in replacement for commons dbcp but after >> spending over a half day on this now I'm getting frustrated and am not >> closer to a solution. >> >> Using a mysql database against an innodb table, I'm getting >> java.lang.StackOverflowError when using tomcat jdbc pool; it just seems >> to >> continuously try to create connections even though my settings are >> initialSize=10 and minIdle=10 >> >> I've attached my spring >> http://old.nabble.com/file/p32044957/applicationContext-db.xml >> applicationContext-db.xml . Note that: >> - when using commons dbcp datasource, I can connect without issue >> - when I comment out the commons dbcp datasource and try to use >> tomcat.jdbc.pool.DataSource, I get a the StackOverflow exception >> - I'm using: >>- xp pro 32bit >>- java 6 1.6.0.24 to be precise >>- mysql 5.1.37 >>- Spring 2.5.6 sec1 >>- jdbc pool 1.1.0.1 >> >> >> My tomcat jdbc pool settings were taken from(just a slightly modified >> version) of >> http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html >> >> Would appreciate any feedback or suggestions...thanks! > > This question belongs on the users list, not the dev list. > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32045429.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
RE: Tomcat JDBC Pool StackOverflow exception when running Spring Standalone
I personally like nabble -- but the move thread thing obviously doesn't work v well. I didn't think Hint: was polite -- but if you don't want people to use nabble, perhaps the link you provided should disclaim as such...? n828cl wrote: > >> From: javaguy44 [mailto:javagu...@yahoo.com] >> Subject: Re: Tomcat JDBC Pool StackOverflow exception when running Spring >> Standalone > >> I've tried to move the thread, but am unable to. If you point >> me in the right direction I'd be happy to move it > > http://tomcat.apache.org/lists.html#tomcat-users > > Hint: don't use nabble. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Tomcat-JDBC-Pool-StackOverflow-exception-when-running-Spring-Standalone-tp32044957p32046356.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org