Is anybody can tell me much about this error?
Thanks.
Hibernate version:
2.1.8
Full stack trace of any exception that occurs:
java.lang.ExceptionInInitializerError
at Insertion.main(Insertion.java:9)
Caused by: java.lang.RuntimeException: Problème de configuration : net.sf.ehcache.CacheException: Cannot configure CacheManager: Elément racine de document manquant..
at HibernateUtil.<clinit>(HibernateUtil.java:19)
... 1 more
Exception in thread "main"
Name and version of the database you are using:
SQL Server 2000
The generated SQL (show_sql=true):
09:51:15,623 INFO Environment:483 - Hibernate 2.1.8
09:51:15,633 INFO Environment:517 - loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver, hibernate.cglib.use_reflection_optimizer=true, hibernate.cache.provider_class=net.sf.hibernate.cache.EhCacheProvider, hibernate.cache.use_query_cache=true, hibernate.max_fetch_depth=1, hibernate.dialect=net.sf.hibernate.dialect.SQLServerDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.connection.username=rsk, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.url=jdbc:jtds:sqlserver://127.0.0.1/Perso, hibernate.show_sql=true, hibernate.connection.password=rsk, hibernate.jdbc.batch_versioned_data=true, hibernate.connection.pool_size=1}
09:51:15,633 INFO Environment:542 - using java.io streams to persist binary types
09:51:15,633 INFO Environment:543 - using CGLIB reflection optimizer
09:51:15,643 INFO Environment:572 - using JDK 1.4 java.sql.Timestamp handling
09:51:15,643 INFO Configuration:909 - configuring from resource: /hibernate.cfg.xml
09:51:15,643 INFO Configuration:881 - Configuration resource: /hibernate.cfg.xml
09:51:15,713 INFO Configuration:332 - Mapping resource: Identity.hbm.xml
09:51:15,773 INFO Binder:229 - Mapping class: Identity -> Perso
09:51:15,823 INFO Configuration:1067 - Configured SessionFactory: null
09:51:15,823 INFO Configuration:641 - processing one-to-many association mappings
09:51:15,833 INFO Configuration:650 - processing one-to-one association property references
09:51:15,833 INFO Configuration:675 - processing foreign key constraints
09:51:15,843 INFO Dialect:86 - Using dialect: net.sf.hibernate.dialect.SQLServerDialect
09:51:15,854 INFO SettingsFactory:70 - Maximim outer join fetch depth: 1
09:51:15,854 INFO SettingsFactory:74 - Use outer join fetching: true
09:51:15,854 INFO DriverManagerConnectionProvider:42 - Using Hibernate built-in connection pool (not for production use!)
09:51:15,854 INFO DriverManagerConnectionProvider:43 - Hibernate connection pool size: 1
09:51:15,864 INFO DriverManagerConnectionProvider:77 - using driver: net.sourceforge.jtds.jdbc.Driver at URL: jdbc:jtds:sqlserver://127.0.0.1/Perso
09:51:15,864 INFO DriverManagerConnectionProvider:78 - connection properties: {user=rsk, password=rsk}
09:51:15,864 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
09:51:16,004 INFO SettingsFactory:114 - Use scrollable result sets: true
09:51:16,004 INFO SettingsFactory:117 - Use JDBC3 getGeneratedKeys(): true
09:51:16,004 INFO SettingsFactory:120 - Optimize cache for minimal puts: false
09:51:16,004 INFO SettingsFactory:126 - echoing all SQL to stdout
09:51:16,004 INFO SettingsFactory:129 - Query language substitutions: {no='N', true=1, yes='Y', false=0}
09:51:16,004 INFO SettingsFactory:140 - cache provider: net.sf.hibernate.cache.EhCacheProvider
09:51:16,014 INFO SettingsFactory:152 - query cache factory: net.sf.hibernate.cache.StandardQueryCacheFactory
09:51:16,014 INFO Configuration:1130 - instantiating and configuring caches
|