-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Petstore demo with Hibernate 3 problem
PostPosted: Wed Aug 24, 2005 2:45 am 
Newbie

Joined: Tue Oct 05, 2004 12:14 am
Posts: 8
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

i want to learn hibernate3, so i find this demo on hibernate.org.
i have installed it on tomcat 5.5.9, and i can open the welcome page of the application, but when i clicked any link, i got the error as below:

Code:
javax.servlet.ServletException: Servlet execution threw an exception
   org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)


root cause

java.lang.ExceptionInInitializerError
   petstore.tools.HibernateUtil.<clinit>(Unknown Source)
   java.lang.Class.forName0(Native Method)
   java.lang.Class.forName(Class.java:164)
   org.xmoon.node.BeanNode.getContextBean(Unknown Source)
   org.xmoon.node.BeanNode.getBean(Unknown Source)
   org.xmoon.node.BsfNode.evalService(Unknown Source)
   org.xmoon.GenericStrutsAction.execute(Unknown Source)
   org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)


anyone has the experience of this application, please tell me how to use this applicaion. because i didn't find any document of it, i really don't know how to do next.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 04, 2005 1:05 pm 
Newbie

Joined: Wed Oct 08, 2003 6:19 am
Posts: 9
Have u used Tomcat Manager ?
Could you post a full catalina.out ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.