| |

VerySource

 Forgot password?
 Register
Search
View: 795|Reply: 4

Spring, hibernate configuration proxool problem

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-5 11:00:01
| Show all posts |Read mode
The configuration in applicationContext.xml is as follows:
<prop key = "hibernate.dialect"> net.sf.hibernate.dialect.Oracle9Dialect </ prop>
<prop key = "hibernate.show_sql"> true </ prop>
<prop key = "hibernate.cglib.use_reflection_optimizer"> true </ prop>
<prop key = "hibernate.proxool.xml"> proxool.xml </ prop>
<prop key = "hibernate.proxool.pool_alias"> testspring </ prop>
proxool.xml is as follows:
  <proxool>
    <alias> testspring </ alias>
    <driver-url> jdbc: oracle: thin: @ 192.168.0.100: 1521: test </ driver-url>
    <driver-class> oracle.jdbc.driver.OracleDriver </ driver-class>
    <driver-properties>
      <property name = "user" value = "test" />
      <property name = "password" value = "test" />
    </ driver-properties>
    <house-keeping-sleep-time> 90000 </ house-keeping-sleep-time>
    <proxool.simultaneous-build-throttle> 100 </proxool.simultaneous-build-throttle>
    <prototype-count> 10 </ prototype-count>
    <maximum-connection-count> 100 </ maximum-connection-count>
    <minimum-connection-count> 10 </ minimum-connection-count>
  </ proxool>

But web.xml always prompts when loading:
Configuring Proxool Provider using JAXPConfigurator: proxool.xml
[FATAL] 2007-01-11 20: 57: 58,100 method: net.sf.hibernate.connection.ProxoolConnectionProvider.configure (ProxoolConnectionProvider.java:126)
Proxool Provider unable to load JAXP configurator file: proxool.xml
org.logicalcobwebs.proxool.ProxoolException: Parsing failed.
Why can't I read and parse proxool.xml?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 18:45:01
| Show all posts
up
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 19:00:01
| Show all posts
Learn...
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 15:45:02
| Show all posts
Study~~~~~~~~~~·
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 16:00:01
| Show all posts
It may be short to parse the dependency package of xml
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list