I am new user to hibernate framework.  When I started Tomxcat and rum my
application, I received the following error messages:


root cause 
java.lang.ExceptionInInitializerError for " Configuration cfg = new
Configuration();"
        at
com.bsci.clinical.safety.bt.StudyManager.initHibernate(StudyManager.java:66)
                .
                .
        Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:555) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:289) at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:259) at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390) at
net.sf.hibernate.cfg.Configuration.(Configuration.java:86) 

I had configured Hibernate into Tomcat as following steps:
1) copy JDBC driver for oracle to Tomcat/common/lib
2) Added hibernate.jar to webapps/myapplication/WEB-INF/lib and
webapps/myapplication/WEB-INF/classes
3) added hibernate.properties to  webapps/myapplication/WEB-INF/classes


I will greatly appreciate it if anyone would help me out.

john


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to