0 Replies Latest reply on Mar 20, 2008 4:18 AM by dion.dodgen

    IBM JVM6 LRUCacheFactory hang

    dion.dodgen Newbie

      Hi,

      Policy dictates the use of IBM JVM6. We are running richfaces with seam and the jvm is hanging with a concurrency issue when ajax4jsf filter gets initialized.

      Any help, suggestions or insight in this regard would be greatly appreciated.


      The two threads main and ContainerBackgroundProcessor[StandardEngine[jboss.web]]
      are the cause.

      Thread: main

      Owns Monitor Lock on java/util/HashMap@9881C8A8/9881C8B4

      at java/util/concurrent/ConcurrentHashMap$HashIterator.hasNext(ConcurrentHashMap.java:1113(Compiled Code))
      at org/apache/catalina/util/Enumerator.hasMoreElements(Enumerator.java:156(Compiled Code))
      at org/ajax4jsf/cache/ServletContextInitMap$1.size(ServletContextInitMap.java:72(Compiled Code))
      at java/util/AbstractMap.size(Bytecode PC:6) at java/util/AbstractMap.isEmpty(Bytecode PC:1)
      at java/util/AbstractMap.toString(Bytecode PC:1) at java/lang/String.valueOf(String.java:1511(Compiled Code))
      at java/lang/StringBuffer.append(StringBuffer.java:187(Compiled Code)) at org/ajax4jsf/cache/LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:44)
      at org/ajax4jsf/resource/InternetResourceService.init(InternetResourceService.java:110) at org/ajax4jsf/webapp/BaseFilter.init(BaseFilter.java:148)
      at org/jboss/seam/web/Ajax4jsfFilter.init(Ajax4jsfFilter.java:86) at org/jboss/seam/servlet/SeamFilter.init(SeamFilter.java:97)



      Thread: ContainerBackgroundProcessor[StandardEngine[jboss.web]]

      Waiting for Monitor Lock on java/util/HashMap@9881C8A8/9881C8B4

      at org/apache/catalina/core/ContainerBase.findChildren(ContainerBase.java:858)
      at org/apache/catalina/core/ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1606)
      at org/apache/catalina/core/ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1609)
      at org/apache/catalina/core/ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1589)
      at java/lang/Thread.run(Thread.java:735)


      Cheers,
      Dion