7 Replies Latest reply on May 1, 2007 4:03 PM by Rob Jellinghaus

    Blog example fails to load on Windows JDK 6

    Rob Jellinghaus Novice

      With a fresh install of Seam 1.2.1GA, on Windows JDK 1.6.0-b105, and a fresh build of the blog example under Tomcat, index.xhtml fails to load. The webapp starts up OK, but going to http://localhost:8080/jboss-seam-blog gives a "Page not found", and a JGroups-related exception in the log.

      I am about to file a JIRA issue; I'll post the link here once done.

      Rolling back to JDK 1.5 causes the problem to go away.

      This seriously destabilizes my Seam + GWT demo, which is built on the blog example. I may look into removing JGroups from the example, but a real fix would be wonderful.

      Here is my Java version:

      C:\perforce\iv4\integration>java -version
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build 1.6.0-b105)
      Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)


      Here is the relevant portion of the Tomcat log (complete log in JIRA):

      May 1, 2007 11:32:34 AM com.sun.facelets.FaceletViewHandler handleRenderException
      SEVERE: Error Rendering View[/index.xhtml]
      java.lang.RuntimeException: exception invoking: start
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:133)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
       at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
       at org.jboss.seam.Component.newInstance(Component.java:1746)
       at org.jboss.seam.Component.getInstance(Component.java:1643)
       at org.jboss.seam.Component.getInstance(Component.java:1622)
       at org.jboss.seam.Component.getInstance(Component.java:1599)
       at org.jboss.seam.Component.getInstance(Component.java:1594)
       at org.jboss.seam.core.PojoCache.instance(PojoCache.java:74)
       at org.jboss.seam.ui.UICache.getFromCache(UICache.java:100)
       at org.jboss.seam.ui.UICache.encodeChildren(UICache.java:55)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
       at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
       at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
       at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
       at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jgroups.ChannelException: failed loading class
       at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:92)
       at org.jgroups.conf.ClassConfigurator.getInstance(ClassConfigurator.java:112)
       at org.jgroups.stack.ProtocolStack.<init>(ProtocolStack.java:48)
       at org.jgroups.JChannel.<init>(JChannel.java:254)
       at org.jgroups.JChannel.<init>(JChannel.java:234)
       at org.jboss.cache.TreeCache._createService(TreeCache.java:1421)
       at org.jboss.cache.TreeCache.createService(TreeCache.java:1346)
       at org.jboss.seam.core.PojoCache.start(PojoCache.java:39)
       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:597)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
       ... 43 more
      Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Object;
       at org.jgroups.util.Util.loadClass(Util.java:1215)
       at org.jgroups.conf.ClassMap.getClassForMap(ClassMap.java:55)
       at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:74)
       ... 56 more
      


      Thanks for your attention,
      Rob