Thank you for your answer.
Yes, I am effectively trying to do my deployment from eclispse (sorry if I haven't said it before).
So ok, I understand that I can use the add-ressource command manually but if you said that eclipse does it too, I don't understand where is the problem and so why my ressources aren't registered in glassfish (and they aren't, I can see this in the admin console).
I don't exactly know what I could say more. I use ganymede, with the plugin for glassfish. My application contains twice an sun-resources.xml and a persistence.xml.
Eventually do you know how I can verify that the add-ressource command is used?
Or have you got an idea for me?
(sorry for the bad english, and thanks in advance for your help)
[Message sent by forum member 'rageice' (rageice)]
http://forums.java.net/jive/thread.jspa?messageID=302594