-
1. Re: persistence.xml : jar-file tag doesn't work with relativ
olvin Aug 31, 2007 5:03 PM (in response to olvin)Nobody else has the problem ?
Thanks,
Olivier -
2. Re: persistence.xml : jar-file tag doesn't work with relativ
olvin Sep 14, 2007 4:47 AM (in response to olvin)Somebody could reply to me ?
Thanks,
Olivier -
3. Re: persistence.xml : jar-file tag doesn't work with relativ
jpaumard Oct 12, 2007 5:46 AM (in response to olvin)I came across the same issue, it seems to be an old bug, since a Jira has been openned on it 2 years ago.
I could work around the problem by putting an absolute file name in the persistence.xml <jar-file> subelement. Just a temporary solution of course.
José -
4. Re: persistence.xml : jar-file tag doesn't work with relativ
olvin Oct 16, 2007 5:20 AM (in response to olvin)I read the source of the interpretation of the <jar-file> tag and I found a tip which works with JBoss 4.2.1 :
to put a relative path, put "../" only in the beginning of the path and next put "..\" as many as you need, so for me, it is :
<jar-file>../..\entities.jar</jar-file>
But I think that it will not work anymore with JBoss 5.0 but no problem with that, when it will be available, we will change the persistence.xml only for JBoss 5.0 and normally <jar-file>../../entities.jar</jar-file> will work with JBoss 5.0.
Olv -
5. Re: persistence.xml : jar-file tag doesn't work with relativ
llsilva.carlos Jul 27, 2011 9:51 AM (in response to olvin)Hello, I am with the same problem in JBOSS 5. Just worked putting the the path absolute (C:JBOSS_HOME/server/default/deploy)
Thanks
is or bug?