On 6/30/06, Adam Brod <[EMAIL PROTECTED]> wrote:
I had to put my directory structure like this: [mywebapp]\WEB-INF\classes\META-INF\persistence.xml It didn't work when I put it in a top-level META-INF directory.
It also works if the persistence.xml file is in the META-INF directory of a jar file in WEB-INF/lib ... the key is that it has to be visible to the webapp class loader. HTH,
Adam Brod Product Development Team
Craig PS: By the way, NetBeans 5.5 takes care of all the grunt work like this for you :-).