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/.


Oscar

-- 
   ,-_  Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
  /() )
 (__ (  The haves and the have-nots can often be traced back to the
=/  ()  dids and the did-nots.

------------------------------------------------------------------------------
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