users@glassfish.java.net

Re: Problem with persistence unit in EAR

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jun 2010 03:04:54 PDT

> Well I tried all the possible versions of glassfish with no success. However I solved the problem by modifing the "application.xml" file instead of having :
>
> <library-directory>/lib</library-directory>
>
>
>
> i have now :
>
> <library-directory>lib</library-directory>


What happens if you remove library-directory ?

I personally package with Maven so I don't need to know about these horrible XML files.
There are lots of JAR's included in my EAR, but no library-directory tag in application.xml







that did it for me ...
[Message sent by forum member 'rjdkolb']

http://forums.java.net/jive/thread.jspa?messageID=473503