tomee+ 1.5.1 : datasource creation failed with an empty UserName

2013-01-03 Thread Simon Renard
Hello, I've deployed a web application that uses a local derby database that does not have any authentication necessary. Since Tomee+ is defaulting the UserName to sa I registered the datasource like shown bellow. This used to work in 1.5.0 but is now failing in 1.5.1. Please see stack bellow.

Re: tomee+ 1.5.1 : datasource creation failed with an empty UserName

2013-01-03 Thread Howard W. Smith, Jr.
On Thu, Jan 3, 2013 at 9:08 AM, Simon Renard simon.ren...@3ds.com wrote: I've deployed a web application that uses a local derby database that does not have any authentication necessary. Am I missing something or is it a bug in 1.5.1 ? I've also tried to set UserName to '' or but it results

Re: tomee+ 1.5.1 : datasource creation failed with an empty UserName

2013-01-03 Thread Romain Manni-Bucau
Hi, that's a bug of 1.5.1 - https://issues.apache.org/jira/browse/TOMEE-697 it only affects tomcat-jdbc connection pooling (not commons-dbcp) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github:

Re: tomee+ 1.5.1 : datasource creation failed with an empty UserName

2013-01-03 Thread Simon Renard
Note that it's working when using the Apache Commons DBCP by using DataSourceCreator dbcp -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-1-5-1-datasource-creation-failed-with-an-empty-UserName-tp4660030p4660034.html Sent from the OpenEJB User mailing list archive

Re: tomee+ 1.5.1 : datasource creation failed with an empty UserName

2013-01-03 Thread Simon Renard
Ok thanks. BTW what are the consequences of using commons-dbcp rather that tomcat-jdbc ? -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-1-5-1-datasource-creation-failed-with-an-empty-UserName-tp4660030p4660038.html Sent from the OpenEJB User mailing list archive