Women in Technology

Hear us Roar



Article:
  Wiring Your Web Application with Open Source Java
Subject:   How to make Proxool Provider able to load JAXP configurator file
Date:   2004-09-16 06:53:41
From:   meagle
Response to: How to make Proxool Provider able to load JAXP configurator file

What version of Hibernate are you using? If you are using Hibernate 2.1.6 the proxool.xml file will be found in the classpath. Here is what the spring configuration should look like for the Hibernate configuration:


<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">net.sf.hibernate.dialect.DB2Dialect</prop>
<prop key="hibernate.proxool.xml">proxool.xml</prop>
<prop key="hibernate.proxool.pool_alias">spring</prop>
</props>
</property>


If you are using the hibernate jar that is in the samples you will need to specify the full path. Hope this helps. I am not sure if you altered anything from the original files. This seems to be the case base on the information you gave me.


Mark

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • How to make Proxool Provider able to load JAXP configurator file
    2006-12-28 15:37:11  cvu [View]

    Hi Mark,
    I know I am the last one to find this helpful article 'cause it has been here for more than 2 yrs!!!
    I set it in MyEclipse and OracleDatabase. I have a problem finding the proxool.xml. No matter how I tried :
    <prop key="hibernate.proxool.xml">proxool.xml</prop>
    or whole path:
    <prop key="hibernate.proxool.xml">C:/myWorking/workspace/WebRoot/WEB-INF/proxool.xml</prop>
    It doesn't work. I use hibernate3 and spring 2.0.1
    my tree like:
    WEB-INF\-applicationContext
    -hibernate.xml
    -Web.xml
    -proxool.xml
    I also change the mySQL dialect to
    org.hibernate.dialect.Oracle9Dialect
    and org.springframework.orm.hibernate.HibernateTransactionManager to
    org.springframework.orm.hibernate3.HibernateTransactionManager
    I don't see any problem except the location of
    proxool.xml
    Would you direct me for this problem.
    Thanks
    cvu
  • How to make Proxool Provider able to load JAXP configurator file
    2004-10-11 08:16:34  Makeurownrules [View]

    I have changed the above configuration,but I am still facing the same problem.I am Using Tomacat 5.0.25 and J2SDK 1.4.2_04.

    if i remove the hibernate property from the spring configuration file then its running fine.this time it will not use the connection pool :(...

    So Please tell me where can be the problem.

    Kapil