3 Replies Latest reply on Jul 17, 2009 10:19 AM by Brian Stansberry

    Random clustering error on jboss 5.1 (seam apps in war deplo

    John Ament Master

      I have a couple of seam apps that we're trying to migrate from tomcat deployments to jboss deployments. WAR makes the most sense in my opinion still, since the main thing we're using is hibernate's caching.

      In general, everything works ok, but I see this in the logs.

      2009-07-16 10:22:27,853 WARN [org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.CacheListener] (Incoming-13,172.17.11.16:33287) Possible concurrency problem: Replicated version id 100 is less than or equal to in-memory version for session KU99koDyou45fJcau9qcHA__

      And every once in a while I'll get the generic error in seam/jsf about something went wrong.

      The stack traces look typically like:

      2009-07-16 10:00:26,538 WARN [org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.CacheListener] (Incoming-11,172.17.11.16:33287) Possible concurrency problem: Replicated version id 3 is less than or equal to in-memory version for session KU99koDyou45fJcau9qcHA__
      2009-07-16 10:00:28,073 ERROR [facelets.viewhandler] (http-172.17.11.16-8380-7) Error Rendering View[/viewShipment.xhtml]
      com.sun.facelets.tag.TagAttributeException: /viewShipment.xhtml @28,238 timeZone="#{storeBean.currentStore.timeZone}" /viewShipment.xhtml @28,238 timeZone="#{storeBean.currentStore.timeZone}": Error reading 'currentStore' on type com.coat.web.wm.intransit.reports.CurrentStoreBean_$$_javassist_1
      at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
      at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:166)
      at com.sun.facelets.tag.jsf.core.ConvertDateTimeHandler.setAttributes(ConvertDateTimeHandler.java:107)
      at com.sun.facelets.tag.jsf.ConvertHandler.apply(ConvertHandler.java:116)
      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)
      at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337)
      at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307)
      at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
      at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
      at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
      at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
      at org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98)
      at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      Any ideas?