ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Subject:   Unable to locate config file
Date:   2005-03-07 04:54:14
From:   westini
Response to: Unable to locate config file

Hi


I'm getting the following exception when trying to deploy the wiring.ear file to Jboss:
********************************
Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: Unable to locate config file: C:\eclipse\workspace\WiringWeb\WebRoot\WEB-INF\proxool.xml
net.sf.hibernate.HibernateException: Unable to locate config file: C:\eclipse\workspace\WiringWeb\WebRoot\WEB-INF\proxool.xml
********************************


I have version 2.1.8 of hibernate and version 0.8.3 of proxool and I have added the proxool.xml file to the classpath. What could be wrong?


Br
Göran