-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: plz help me how to resolv this problem
PostPosted: Thu Dec 16, 2010 3:24 am 
Newbie

Joined: Thu Dec 16, 2010 3:12 am
Posts: 1
D:\hibernate1>java client
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.1rc1
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: hibernate.cfg.xml
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Configuration getConfigurationInputSt
ream
INFO: Configuration resource: hibernate.cfg.xml
Dec 16, 2010 12:21:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: product.hbm.xml
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassComm
onValues
INFO: Mapping class: product -> product
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Dec 16, 2010 12:21:43 PM org.hibernate.connection.DriverManagerConnectionProvide
r configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Dec 16, 2010 12:21:43 PM org.hibernate.connection.DriverManagerConnectionProvide
r configure
INFO: Hibernate connection pool size: 10
Dec 16, 2010 12:21:43 PM org.hibernate.connection.DriverManagerConnectionProvide
r configure
INFO: autocommit mode: false
Dec 16, 2010 12:21:43 PM org.hibernate.connection.DriverManagerConnectionProvide
r configure
INFO: using driver: sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:siva
Dec 16, 2010 12:21:43 PM org.hibernate.connection.DriverManagerConnectionProvide
r configure
INFO: connection properties: {user=system, password=****}
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: Oracle, version: 00.00.0000 Oracle Database 10g Express Edition Rel
ease 10.2.0.1.0 - Product
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: JDBC-ODBC Bridge (msorcl32.dll), version: 2.0001 (02.575.1117
)
Dec 16, 2010 12:21:43 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.Oracle9Dialect
Dec 16, 2010 12:21:43 PM org.hibernate.transaction.TransactionFactoryFactory bui
ldTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
Dec 16, 2010 12:21:43 PM org.hibernate.transaction.TransactionManagerLookupFacto
ry getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-wr
ite or transactional second-level cache is not recommended)
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: null
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory createQueryTranslator
Factory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Dec 16, 2010 12:21:43 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Dec 16, 2010 12:21:43 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: net.sf.ehcache.hiberna te.EhCacheProvider
Exception in thread "main" org.hibernate.HibernateException: could not instantia
te CacheProvider: net.sf.ehcache.hiberna te.EhCacheProvider
at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory
.java:330)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
219)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1803
)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1124)
at client.main(clint.java:9)
Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hiberna te.EhCachePr
ovider
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)

at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory
.java:327)
... 4 more


Top
 Profile  
 
 Post subject: Re: plz help me how to resolv this problem
PostPosted: Thu Dec 16, 2010 6:40 am 
Newbie

Joined: Wed Dec 15, 2010 8:24 am
Posts: 4
ehcache-1.2.3.jar needs to be in class path.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.