| Article: |
Wiring Your Web Application with Open Source Java | |
| Subject: | Unable to locate config file | |
| Date: | 2004-09-28 03:19:22 | |
| From: | meagle | |
|
Response to: Unable to locate config file
|
||
|
This is correct because proxool.xml is found on the classpath. You must be using Hibernate 2.1.6 which operates this way with Proxool. This is better than older versions that required the full path to the Proxool config file.
|
||
Showing messages 1 through 1 of 1.
-
Unable to locate config file
2005-03-07 04:54:14 westini [View]



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