Article:
  Wiring Your Web Application with Open Source Java
Subject:   Unable to locate config file
Date:   2004-09-28 02:09:55
From:   moyosaNED
Response to: Unable to locate config file

I changed it in
<prop key="hibernate.proxool.xml">proxool.xml</prop>
<prop key="hibernate.proxool.pool_alias">spring</prop>


And placed the proxool.xml in de classpath, but i don't know if this correct. But it works.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Unable to locate config file
    2004-09-28 03:19:22  meagle [View]

    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.

    Mark
    • Unable to locate config file
      2005-03-07 04:54:14  westini [View]

      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