Can you try to replicate this problem with latest 2.1.4 snapshot ? I believe this problem is already fixed. You can get the snapshot from http://people.apache.org/builds/geronimo/server/binaries/2.1/20090109/
Thanks, Jarek On Fri, Jan 9, 2009 at 10:10 AM, fladimir <[email protected]> wrote: > > Using geronimo-jetty6-javaee5-2.1.3: > > I first created a MySQL datasource. I specified the username to be "root" > (since I don't care about my test MySQL instance so much. I don't have any > password set (for the same reason). > > However, connecting to the datasource failed, so I tried editing it. When I > edited the datasource, I saw that the username was empty (even if I had it > set). I edited the username and saved the datasource. Just to be sure, I > restarted Geronimo afterwards. Then I checked if the config.xml was correct > and saw the following lines inside the gbean definition: > > <attribute name="UserName">root</attribute> > <attribute name="UserName"/> > <attribute name="Password"/> > > So the UserName is there two times now. What could I have messed up? Is > there a known bug in editing a datasource? > -- > View this message in context: > http://www.nabble.com/Editing-a-datasource-creates-duplicate-UserName-entries-to-config.xml-tp21374098s134p21374098.html > Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. > >
