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: [java.lang.ExceptionInInitializerError]---pls help me
PostPosted: Fri Jun 15, 2007 3:24 am 
Newbie

Joined: Wed Jun 06, 2007 2:22 am
Posts: 1
Location: Bangalore
hi guys,

i'm facing this issue from past 15 days can anyone give me the solution..

actually i'm putting war file into some domain provider....

the application is working fine locally and when i'm trying put the war file onto the domain..its giving the following error..

and i can access the database remotely from my system bue couldnot work the same when it was in domain... i hav put all the jar files as well...

for the first when i trying to accesss it will give the following exception...
===============================================
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.ExceptionInInitializerError
com.echrome.gps.services.util.HibernateUtil.<clinit>(HibernateUtil.java:43)
com.echrome.gps.services.controller.UserInfoController.viewAddress(UserInfoController.java:94)
com.echrome.gps.services.servlets.TestServlet.doGet(TestServlet.java:21)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.4 logs.
===============================================

if refresh th epage again it will gve the following error


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoClassDefFoundError
com.echrome.gps.services.controller.UserInfoController.viewAddress(UserInfoController.java:94)
com.echrome.gps.services.servlets.TestServlet.doGet(TestServlet.java:21)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.4 logs.

===============================================

pls can anybody tel the solution......i hope u'l do it soon,

thanks,
Raghu




Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 15, 2007 6:30 am 
Expert
Expert

Joined: Tue Nov 23, 2004 7:00 pm
Posts: 570
Location: mostly Frankfurt Germany
Have you seen that a class is not found. Seems that you missed to provide some class files or jars.

java.lang.NoClassDefFoundError
com.echrome.gps.services.controller.UserInfoController.viewAddress(UserInfoController.java:94)

_________________
Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de


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.