Ah, okay. I removed glassfish-resources.xml from WEB-INF and I load it
programatically:
{code}glassfish.getCommandRunner().run("add-resources", <path to
glassfish-resources.xml>);{/code}
And now it works.
So the behaviour is:
1) if glassfish.resource is in WEB-INF, the DS will be bound to
java:app/jdbc/myDS
2) if glassfish.resource is loaded via asadmin (command line or
programaticaly), the DS will be bound to jdbc/myDS
Is that correct?
Thanks for your help.
Vincent
--
[Message sent by forum member 'vincent_aumont']
View Post: http://forums.java.net/node/787436