1 Reply Latest reply on Nov 19, 2008 5:11 AM by Daniel Bevenius

    Problem when reploying ESB

    Jurgen Van Bouchaute Newbie

      JBOSS ESB 4.4.GA

      In my ESB service at one of the action classes,
      I rely on a java app/component that is using Spring / Hibernate.

      This works all fine, until I want to redeploy the .esb file on the running server.
      Then an error is thrown when the hibenate session factory bean is instantiated ..
      It relates to the use of EhCache as second level cache provider for Hibernate :

      ERROR [GlobalFactory] Error creating bean with name 'SettingsSessionFactory' defined in class path resource [spring-busent-hibernate.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from null. Initial cause was null

      I googled around and it seems that isolated classloading is the answer.

      However I don't know how to accomplish this for the ESB server and how to scope isolation to the .esb deployment file.

      Right now, we have to take the entire ESB server down to make a redeploy.

      Thx.

      Jurgen.