Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-266

seam-blog example on OpenShift error "Could not instantiate Seam component: org.jboss.seam.cache.cacheProvider"

    Details

    • Target Release:
    • Release Notes Docs Status:
      Not Required

      Description

      The blog example default inifinispan configuration tries to bind jgroups, which fails on OpenShift.

      The example readme file should probably contain instructions or pointers on how to change the default infinispan cache configuration, or
      the default configuration could possibly be changed to not use clustered cache by default, as the clustering feature is not used in the blog example anyway.

      java.net.BindException: Permission denied
      	java.net.PlainDatagramSocketImpl.bind0(Native Method)
      	java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:95)
      	java.net.DatagramSocket.bind(DatagramSocket.java:376)
      	java.net.MulticastSocket.<init>(MulticastSocket.java:172)
      	java.net.MulticastSocket.<init>(MulticastSocket.java:137)
      	org.jgroups.util.DefaultSocketFactory.createMulticastSocket(DefaultSocketFactory.java:70)
      	org.jgroups.util.Util.createMulticastSocket(Util.java:3482)
      	org.jgroups.protocols.UDP.createSockets(UDP.java:350)
      	org.jgroups.protocols.UDP.start(UDP.java:225)
      	org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:962)
      	org.jgroups.JChannel.startStack(JChannel.java:827)
      	org.jgroups.JChannel._preConnect(JChannel.java:525)
      	org.jgroups.JChannel.connect(JChannel.java:277)
      	org.jgroups.JChannel.connect(JChannel.java:268)
      	org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:207)
      	org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:198)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      	org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:886)
      	org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:657)
      	org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:646)
      	org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
      	org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:225)
      	org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:678)
      	org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
      	org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
      	org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:518)
      	org.jboss.seam.cache.InfinispanCacheProvider.create(InfinispanCacheProvider.java:75)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      	org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      	org.jboss.seam.Component.callComponentMethod(Component.java:2307)
      	org.jboss.seam.Component.callCreateMethod(Component.java:2230)
      	org.jboss.seam.Component.newInstance(Component.java:2190)
      	org.jboss.seam.Component.getInstance(Component.java:2028)
      	org.jboss.seam.Component.getInstance(Component.java:2007)
      	org.jboss.seam.Component.getInstance(Component.java:2001)
      	org.jboss.seam.Component.getInstance(Component.java:1996)
      	org.jboss.seam.cache.CacheProvider.instance(CacheProvider.java:167)
      	org.jboss.seam.ui.component.html.HtmlCache.getCacheProvider(HtmlCache.java:75)
      	org.jboss.seam.ui.renderkit.CacheRendererBase.doEncodeChildren(CacheRendererBase.java:40)
      	org.jboss.seam.ui.util.cdk.RendererBase.encodeChildren(RendererBase.java:92)
      	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      	com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:439)
      	com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
      	org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:188)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      	org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98)
      	org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      	org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                maschmid Marek Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: