This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Hibernate Intializer Error in Web application  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I Am new to this group. Hope get some response for below issue.

I have created one web applications using struts and hibernate Frameworks which is used to insert datas into the database. Getting following error message on performing some action in my page. Error message as

exception

javax.servlet.ServletException: Filter execution threw an exception

root cause

java.lang.ExceptionInInitializerError
src.contact.util.HibernateUtil.<clinit>(HibernateUtil.java:34)

At the same time, I dont any errors in Glass Fish Server.

Please help me out from this issue.

Thanks & Regards,
Sheikh
error-message.JPG
[Thumbnail for error-message.JPG]
Error Screenshot
 
Sheikkadar Mohamedsahib
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need quick response on this issue
 
Bartender
Posts: 9550
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sheikkadar Mohamedsahib wrote:Need quick response on this issue



Welcome to the JavaRanch.
We ask that you be patient. We are all volunteers helping people in our free time.
As for your problem, I have no idea. Your best bet is to catch and log the exception where it occurs. Exceptions can be nested, so it's a good idea to get the exception's cause and print it out (and it's cause...). It would also be wise to make sure you can connect to the database with the same credentials you are using in your Hibernate configuration (i.e. outside the server) and you can connect without Hibernate (i.e. inside the server, directly using JDBC).
 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!