Women in Technology

Hear us Roar



Article:
  Wiring Your Web Application with Open Source Java
Subject:   Unable to locate config file
Date:   2004-09-28 01:52:29
From:   moyosaNED
I just changed the path to my proxool.xml


<prop key="hibernate.proxool.xml">D:/test2/WEB-INF/proxool.xml</prop>
<prop key="hibernate.proxool.pool_alias">spring</prop>


When i place the path in a browser, it show the proxool.xml. What is the problem.


And thanx Mark it was jta.jar, oops

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Unable to locate config file
    2004-09-28 02:09:55  moyosaNED [View]

    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.
    • 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