In geronimo 2.1.7 and 2.2, derby authentication is enabled by default. So you have to input username and password: dbadmin/manager when create datasource.Otherwise there will be errors.

On Fri, Dec 17, 2010 at 1:15 PM, David Jencks <david_jencks@yahoo.com> wrote:
What you started out trying to do with derby ought to work.  Unfortunately I'm not likely to have time to investigate why it didn't.

david jencks

On Dec 16, 2010, at 4:40 PM, sim085 wrote:

>
> Hello again. I continued to play a little more with datasources and finally
> managed to create a datasource for PostgreSQL without a lot of problems. I
> then decided to try to use Derby but not embeded. I downloaded Derby and
> started the database. I then created the datasource using steps 1 to 4 of my
> first post. All worked fine :)
>
> Thanks again for the help. I think this is a problem with embeded derby
> although I read somewhere this is not meant to be used so maybe I should not
> have been creating a datasource for this.
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-Derby-Datasource-tp2100676p2101947.html
> Sent from the Users mailing list archive at Nabble.com.




--
viola