6 Replies Latest reply on Jan 21, 2005 5:12 AM by tcherel

    Exception on hot re-deploy of EAR using JBossCache

    tcherel

      I have an ear application that is using JBossCache internally.
      The JBossCache jars are packaged as part of the EAR (i'd like it to be portable accross app server).
      When doing a "hot" redeploy of my EAR, I am getting the following exception.
      If I stop and restart JBoss, then everything works fine.
      It might be a long shot, but just in case anyone has an idea on what the problem might be.
      I am using JBossCache 1.02 with JBoss 3.2.3.

      Thanks.

      Thomas

      2005-01-11 00:21:24,059 INFO [org.jboss.cache.PropertyConfigurator] configure(): attribute size: 12
      
      2005-01-11 00:21:24,059 ERROR [org.jboss.cache.TreeCache] setEvictionPolicyClass(): failed creating instance of org.jboss.cache.eviction.LRUPolicy
      
      java.lang.NullPointerException
      
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:119)
      
       at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:169)
      
       at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:123)
      
       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      
       at org.jboss.cache.TreeCache.setEvictionPolicyClass(TreeCache.java:703)
      
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      
       at java.lang.reflect.Method.invoke(Method.java:324)
      
       at org.jboss.cache.PropertyConfigurator.configure(PropertyConfigurator.java:209)