Results 1 to 3 of 3

Thread: Context initialization failed- could not instantiate RegionFactory

  1. #1
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Angry Context initialization failed- could not instantiate RegionFactory

    Hi all,
    I've updated hibernate jar to hibernate 3.3.2. and now i'm getting following error.
    Code:
    12:31:08,031 ERROR ContextLoader,main:213 - Context initialization failed
    Error creating bean with name 'auditTrailSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
    can anyone help me , what is wrong with code for new hibernate version.
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


  2. #2
    Join Date
    Mar 2010
    Posts
    1

    Default Re: Context initialization failed- could not instantiate RegionFactory

    I was facing the similar error. In my case oscache.jar was missing in the classpath.

  3. #3

    Default

    OScahce ? what does that have to do with Ehcache? Isnt OSCache a different product alltogether?

    rohan123, if you can share the solution that will be great

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •