1 Reply Latest reply on May 29, 2006 4:56 PM by Brian Stansberry

    Repeated NPEs using SFSBs

    Daniel Cardin Newbie

      I have done some tests on clustering stateful beans and came accross the following exception, repeated over and over, when I tried removing the tutorial.jar file from the farm directory.

      Incidently, I had beans online when I did this, and a message appared on the other clustered server saying it was unable to delete the jar from the farm directory.

      so first, the exception and then a question

      5:09:09,015 ERROR [STDERR] java.lang.NullPointerException
      5:09:09,093 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulEvictionPolicy.evict(StatefulEvictionPolicy.java:48)
      5:09:09,187 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.evictCacheNode(LRUAlgorithm.java:197)
      5:09:09,265 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:303)
      5:09:09,343 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.process(LRUAlgorithm.java:55)
      5:09:09,421 ERROR [STDERR] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:37)
      5:09:09,515 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
      5:09:09,593 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)

      The question is: What is the proper way to undeploy a jar accross a cluster using the farm directory.