> > 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/.
After following Oscar's advice, you can also turn on the logs for Stripersist to see what's going on, if it still doesn't work. Set the logs to DEBUG in the log4j.properties file for org.stripesstuff.stripersist. Cheers, Freddy http://www.stripesbook.com ------------------------------------------------------------------------------ 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
