Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beer4all shopping cart example

 
Maxime Duval
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is an shopping cart example using struts named beer4all (you can find it here : http://sourceforge.net/projects/struts .

I cant seem to make it work. It use a Hypersonic DB. I place the beer4all.data, beer4all.script and beer4all.properties files under C:\hsqldb\data and I modify my repository.xml file to "C:\hsqldb\data\beer4all" .

I start my database using this command: runserver -database beer4all -port 8887 .

Everytime I start the beer4all application (on Tomcat 5.5) I get this error when I try to login:

javax.servlet.ServletException: org.odmg.QueryException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:507)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:448)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Anyone around here made it work and coulp help me?

Maxime
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic