On Sat, 31 Jan 2009, Oscar Westra van Holthe - Kind wrote:

:On 30-01-2009 at 19:31, Aurangzeb M. Agha wrote:
:> I've been going through Freddy's book and in Ch. 12 (sec. 1), I'm trying 
:> to get the application to persist data to HSQLDB.
:> 
:> Here's what I've done:
:[...]
:> - I've included persistance.xml in my res/META-INF folder
:
:Either that's a typo in your post, or in your filename: there should be no
:'a' in the name, but an 'e' instead: persistence.xml
:
:Also, it depends on the container where it expects the file. Spec says that
:it should go where you put it, but my Tomcat app. I fitted for EJB3 needs it
:in WEB-INF/classes/META-INF/ or in a .jar file in WEB-INF/lib/.

It was a typo in my post.  The file-name was correct in my project.

I checked this and apparently Eclipse is smart enough to take the 
res/META-INF and put a copy of it in WEB-INF/classes.  The "derived" files 
live there".

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to