10 Replies Latest reply on Jan 3, 2007 6:27 AM by Andrei Zykov

    Seam + Tobago

    Julian Klappenbach Newbie

      Has anyone tried to combine these libraries? I'm just putting together a prototype utilizing these two solutions, but I thought I might submit here to see if that's possible, a good idea, or even encouraged.

      Thanks in advance,

      Julian Klappenbach

        • 1. Re: Seam + Tobago
          hdslkf hklsdg Apprentice

          This thread might be older, but since I tried it out, had no success and finally had a conversation with the Tobago developers, I wanted to bump this.

          Tobago needs STATE_SAVING_METHOD: server.
          Seam needs STATE_SAVING_METHOD: client (especially for conversation scope I think).

          So it seems that both libraries cannot work together (yet).

          • 2. Re: Seam + Tobago
            Thomas Heute Master

            You can use server side with Seam but then you will probably need to increase the JSF "number of view in session"

            • 3. Re: Seam + Tobago
              hdslkf hklsdg Apprentice

              I tried it, but then every click lead to a redisplay of the current view.

              And in addition to that I had version troubles... i.e. I tried several combinations of Facelets and JSF (including CVS) versions but I always had miscellaneous exceptions.

              It seems like Seam + Tobago cannot be used together in a productive environment. If someone made it anyhow, PLEASE POST HOW ;). I think Tobago is really nice, and it's a pity if one can't use it :'(.

              • 4. Re: Seam + Tobago
                Gavin King Master

                My understanding is that the only reason Seam prefers client-side state saving is due to a bug in MyFaces.

                • 5. Re: Seam + Tobago
                  Stephane DUCAS Newbie

                  Is that bug still present in myfaces 1.1.3???


                  THANKS

                  (I also would like to make tobago and seam work together)

                  • 6. Re: Seam + Tobago
                    Stephane DUCAS Newbie

                    Personally I can put client or server side state saving my webapp always crash at the first request with that trace (here it's server side state saving):

                    11:18:21,578 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase
                    java.lang.NullPointerException
                    at org.jboss.seam.contexts.PageContext.getAttributeMap(PageContext.java:99)
                    at org.jboss.seam.contexts.PageContext.(PageContext.java:39)
                    at org.jboss.seam.contexts.Lifecycle.resumePage(Lifecycle.java:680)
                    at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:40)
                    at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:66)
                    at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at com.shtechnologie.shtbma.auth.CheckLoggedInFilter.doFilter(CheckLoggedInFilter.java:36)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    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:213)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    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:869)
                    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    at java.lang.Thread.run(Thread.java:595)
                    11:18:21,578 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase
                    java.lang.NullPointerException
                    at org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener.afterPhase(AutoScrollPhaseListener.java:52)
                    at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at com.shtechnologie.shtbma.auth.CheckLoggedInFilter.doFilter(CheckLoggedInFilter.java:36)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    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:213)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    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:869)
                    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    at java.lang.Thread.run(Thread.java:595)
                    11:18:21,625 INFO [SeamExceptionFilter] killing transaction
                    11:18:21,625 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
                    javax.servlet.ServletException: org/apache/commons/collections/map/ReferenceMap
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at com.shtechnologie.shtbma.auth.CheckLoggedInFilter.doFilter(CheckLoggedInFilter.java:36)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    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:213)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    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:869)
                    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    at java.lang.Thread.run(Thread.java:595)
                    11:18:21,640 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
                    java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ReferenceMap
                    at org.apache.myfaces.application.jsp.JspStateManagerImpl$SerializedViewCollection.getOldSerializedViewsMap(JspStateManagerImpl.java:762)
                    at org.apache.myfaces.application.jsp.JspStateManagerImpl$SerializedViewCollection.get(JspStateManagerImpl.java:773)
                    at org.apache.myfaces.application.jsp.JspStateManagerImpl.getSerializedViewFromServletSession(JspStateManagerImpl.java:528)
                    at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:255)
                    at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283)
                    at org.jboss.seam.jsf.SeamStateManager.restoreView(SeamStateManager.java:41)
                    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
                    at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:64)
                    at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:321)
                    at org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:109)
                    at org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:108)
                    at org.apache.myfaces.tobago.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:166)
                    at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:321)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at com.shtechnologie.shtbma.auth.CheckLoggedInFilter.doFilter(CheckLoggedInFilter.java:36)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    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:213)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    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:869)
                    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                    at java.lang.Thread.run(Thread.java:595)



                    Any ideas???


                    THX

                    • 7. Re: Seam + Tobago
                      Stephane DUCAS Newbie

                      Sorry my last post is solved:

                      I didn't saw the ClassNotFoundException...

                      I can continue testing now..

                      I keep you all updated...

                      Regards

                      • 8. Re: Seam + Tobago
                        Gavin King Master

                         

                        "sducas" wrote:
                        Is that bug still present in myfaces 1.1.3???


                        If it works with client-side but not with server-side, then yes, it must be a bug at their end.

                        • 9. Re: Seam + Tobago
                          Bret Patterson Newbie

                          did you ever get this to work? I've been trying all night but haven't been able to get past the following exceptions:

                          2006-08-25 02:28:58,300 INFO [org.apache.myfaces.tobago.application.ViewHandlerImpl] Hiding ri base implemation: org.apache.myfaces.application.jsp.JspViewHandlerImpl@2b452b
                          2006-08-25 02:28:58,379 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext 'D:\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp29602myl.ear-contents\myl-exp.war\' initialized.
                          2006-08-25 02:28:58,379 INFO [org.apache.myfaces.tobago.webapp.TobagoServletContextListener] *** contextInitialized ***
                          2006-08-25 02:28:58,379 INFO [org.apache.myfaces.tobago.config.TobagoConfig] adding resourceDir = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,379 INFO [org.apache.myfaces.tobago.config.TobagoConfig] adding resourceDir = 'tobago'
                          2006-08-25 02:28:58,379 INFO [org.apache.myfaces.tobago.config.TobagoConfig] adding resourceDir = '/WEB-INF/'
                          2006-08-25 02:28:58,504 ERROR [org.apache.myfaces.tobago.context.ResourceLocator] ResourcePath empty! Please check the tobago-config.xml file! path='/inventory'
                          2006-08-25 02:28:58,519 ERROR [org.apache.myfaces.tobago.context.ResourceLocator] ResourcePath empty! Please check the tobago-config.xml file! path='/users/webpage'
                          2006-08-25 02:28:58,519 ERROR [org.apache.myfaces.tobago.context.ResourceLocator] ResourcePath empty! Please check the tobago-config.xml file! path='/homeinventory'
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ResourceLocator] Loading tobago-theme.xml
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ThemeParser] Found theme: 'richmond'
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ResourceLocator] themeUrl = 'jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-theme-richmond-1.0.7.jar!/META-INF/tobago-theme.xml'
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ThemeParser] Found theme: 'scarborough'
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ResourceLocator] themeUrl = 'jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-theme-scarborough-1.0.7.jar!/META-INF/tobago-theme.xml'
                          2006-08-25 02:28:58,582 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla_4_7/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,597 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago.properties.xml
                          2006-08-25 02:28:58,597 INFO [org.apache.myfaces.tobago.context.ResourceLocator] sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@8a6351
                          2006-08-25 02:28:58,613 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,613 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago_de.properties.xml
                          2006-08-25 02:28:58,613 INFO [org.apache.myfaces.tobago.context.ResourceLocator] sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@1355a47
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/opera/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ThemeParser] Found theme: 'speyside'
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] themeUrl = 'jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-theme-speyside-1.0.7.jar!/META-INF/tobago-theme.xml'
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,629 INFO [org.apache.myfaces.tobago.context.ResourceLocator] ** org/apache/myfaces/tobago/renderkit/html/speyside/msie/property/tobago-theme-config.properties
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.context.ThemeParser] Found theme: 'standard'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.context.ResourceLocator] themeUrl = 'jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-theme-standard-1.0.7.jar!/META-INF/tobago-theme.xml'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 INFO [org.apache.myfaces.tobago.config.TobagoConfig] resourceDirs already contains = 'org/apache/myfaces/tobago/renderkit'
                          2006-08-25 02:28:58,644 DEBUG [javax.faces.webapp.FacesServlet] init begin
                          2006-08-25 02:28:58,644 DEBUG [javax.faces.webapp.FacesServlet] init end
                          2006-08-25 02:28:58,691 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/jboss-4.0.4.GA/server/default/deploy/myl.ear
                          2006-08-25 02:29:05,113 DEBUG [javax.faces.webapp.FacesServlet] service begin
                          2006-08-25 02:29:05,191 INFO [org.apache.myfaces.tobago.context.ClientProperties] contentType='html' from header Accept='*/*'
                          2006-08-25 02:29:05,191 INFO [org.apache.myfaces.tobago.context.ClientProperties] userAgent='msie' from header User-Agent='msie'
                          2006-08-25 02:29:05,191 INFO [org.apache.myfaces.tobago.context.ClientProperties] debug-mode=false
                          2006-08-25 02:29:05,191 INFO [org.apache.myfaces.tobago.context.ClientProperties] theme='richmond' from requestParameter tobago.theme='null'
                          2006-08-25 02:29:05,238 INFO [org.jboss.seam.core.Pages] reading pages.xml
                          2006-08-25 02:29:05,691 DEBUG [javax.faces.webapp.FacesServlet] service end
                          2006-08-25 02:29:05,691 DEBUG [javax.faces.webapp.FacesServlet] service begin
                          2006-08-25 02:29:06,144 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
                          2006-08-25 02:29:06,175 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
                          2006-08-25 02:29:06,191 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
                          2006-08-25 02:29:06,207 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-facelets-1.0.7.jar!/META-INF/tobago-extension.taglib.xml
                          2006-08-25 02:29:06,207 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml
                          2006-08-25 02:29:06,222 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
                          2006-08-25 02:29:06,238 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
                          2006-08-25 02:29:06,254 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                          INFO: Added Library from: jar:file:/D:/jboss-4.0.4.GA/server/default/lib/tobago-facelets-1.0.7.jar!/META-INF/tobago.taglib.xml
                          2006-08-25 02:29:06,504 WARN [org.apache.myfaces.tobago.context.ResourceManagerImpl] patching renderer from javax.faces.FormRenderer
                          2006-08-25 02:29:06,504 WARN [org.apache.myfaces.tobago.context.ResourceManagerImpl] patching renderer to FormRenderer
                          2006-08-25 02:29:06,550 WARN [org.apache.myfaces.tobago.context.ResourceManagerImpl] patching renderer from javax.faces.SecretRenderer
                          2006-08-25 02:29:06,550 WARN [org.apache.myfaces.tobago.context.ResourceManagerImpl] patching renderer to SecretRenderer
                          2006-08-25 02:29:06,566 ERROR [org.apache.myfaces.tobago.context.ResourceManagerImpl] Path not found, and no fallback. Using empty string.
                          resourceDirs = '[org/apache/myfaces/tobago/renderkit, tobago, /WEB-INF/]' contentType = 'html' theme = 'richmond' browser = 'msie' subDir = 'tag' name = 'SecretRenderer' suffix = '' key = 'null'
                          2006-08-25 02:29:06,566 ERROR [org.apache.myfaces.tobago.context.ResourceManagerImpl] name = 'SecretRenderer' clientProperties = 'html/richmond/msie'
                          java.lang.NullPointerException
                           at org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(ResourceManagerImpl.java:392)
                           at org.apache.myfaces.tobago.renderkit.TobagoRenderKit.getRenderer(TobagoRenderKit.java:60)
                           at javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:527)
                           at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:304)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
                           at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
                           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
                           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                           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:213)
                           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                           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:869)
                           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                           at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                           at java.lang.Thread.run(Thread.java:595)
                          2006-08-25 02:29:06,566 ERROR [STDERR] Aug 25, 2006 2:29:06 AM com.sun.facelets.FaceletViewHandler handleRenderException
                          SEVERE: Error Rendering View[/index.xhtml]
                          java.lang.RuntimeException: SecretRenderer
                           at org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(ResourceManagerImpl.java:398)
                           at org.apache.myfaces.tobago.renderkit.TobagoRenderKit.getRenderer(TobagoRenderKit.java:60)
                           at javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:527)
                           at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:304)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                           at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
                           at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
                           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
                           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                           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:213)
                           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                           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:869)
                           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                           at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                           at java.lang.Thread.run(Thread.java:595)
                          Caused by: java.lang.NullPointerException
                           at org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(ResourceManagerImpl.java:392)
                           ... 28 more
                          2006-08-25 02:29:06,597 INFO [org.apache.myfaces.tobago.util.DebugPhaseListener] Total response time : 906 milliseconds
                          2006-08-25 02:29:06,597 DEBUG [javax.faces.webapp.FacesServlet] service end


                          • 10. Re: Seam + Tobago
                            Andrei Zykov Newbie

                            Tobago 1.0.8 + Joss 4.0.4 + Seam 1.0.1 kind of work.
                            Only server state saving can be used. How critical is this from Seam's perspective ?

                            What is not good is that Tobago does not work with Ajax4Jsf - simply enabling Ajax4Jsf filter crashes all Tobago pages. Apparently, this is because they both use their own renderkit.