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
|
Showing messages 1 through 4 of 4.
-
How to make Proxool Provider able to load JAXP configurator file
2006-12-28 15:37:11
cvu
[View]
-
How to make Proxool Provider able to load JAXP configurator file
2004-10-11 08:16:34
Makeurownrules
[View]
-
How to make Proxool Provider able to load JAXP configurator file
2004-12-23 21:40:59
PaulH
[View]
-
How to make Proxool Provider able to load JAXP configurator file
2009-11-08 09:14:01
CarryOn
[View]
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