myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <we...@gmx.at>
Subject Re: DojoConfig Error?
Date Wed, 18 Oct 2006 19:44:51 GMT
Glad we all could help,
btw... you should stay at state saving server anyway,
if you can,

for various reasons, more performance generally,
less page bloat.

The back button is not a real problem because server side
state saving can keep a state history.


Anne-Julia schrieb:
> I think I found out:
> 
> web.xml => I switched from client to server, no it works, yippee.
> 
> cheers
> aj
> 
>     <context-param>
>         <description>
>             State saving method: "client" or "server" (= default)
>             See JSF Specification 2.5.2
>         </description>
>         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>         <param-value>server</param-value>
>     </context-param>
> 
> 2006/10/18, Anne-Julia <annejulia@googlemail.com 
> <mailto:annejulia@googlemail.com>>:
> 
>     Thanks for the fast answer. I "upgraded" tomahawk an myfaces-core
>     both to the 1.5 SNAPSHOT according to this:
>     http://wiki.apache.org/myfaces/CompatibilityMatrix
>     <http://wiki.apache.org/myfaces/CompatibilityMatrix>
> 
>     Now I have a different thing here with Serialisation (I think).
> 
>     Here goes the errorlog:
> 
>     INFO: Installing web application at context path /pack_i from URL
>     file:C:\Tomcat5028\webapps\pack_i
>     422  [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Reading standard config
>     org/apache/myfaces/resource/standard-faces-config.xml
>     781  [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Reading config
>     jar:file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/tomahawk-
>     1.1.5-SNAPSHOT.jar!/META-INF/faces-config.xml
>     906  [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Reading config
>     jar:file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/tomahawk-sandbox-1.1.5-SNAPSHOT.jar!/META-INF/faces-config.xml
> 
>     1000 [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Reading config /WEB-INF/faces-config.xml
>     1110 [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Starting up MyFaces-package : myfaces-api in version :
>     1.1.5-SNAPSHOT from path :
>     file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/myfaces-api-1.1.5-SNAPSHOT.jar
>     1110 [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Starting up MyFaces-package : myfaces-impl in version :
>     1.1.5-SNAPSHOT from path :
>     file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/myfaces-impl-1.1.5-SNAPSHOT.jar
>     1110 [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Starting up MyFaces-package : tomahawk-sandbox in version :
>     1.1.5-SNAPSHOT from path :
>     file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/tomahawk-sandbox-1.1.5-SNAPSHOT.jar
>     1110 [main] INFO  org.apache.myfaces.config.FacesConfigurator  -
>     Starting up MyFaces-package : tomahawk in version : 1.1.5-SNAPSHOT
>     from path :
>     file:/C:/Tomcat5028/webapps/pack_i/WEB-INF/lib/tomahawk-1.1.5-SNAPSHOT.jar
>     1328 [main] WARN  org.apache.myfaces.shared_impl.util.LocaleUtils  -
>     Locale name in faces-config.xml null or empty, setting locale to
>     default locale : de_DE
>     3500 [main] INFO 
>     org.apache.myfaces.webapp.StartupServletContextListener  -
>     ServletContext 'C:\Tomcat5028\webapps\pack_i\' initialized.
>     3500 [main] INFO 
>     org.apache.myfaces.webapp.StartupServletContextListener  -
>     Serialization provider : class
>     org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
> 
>     ...
> 
>     21188 [http-8080-Processor25] INFO 
>     org.apache.myfaces.shared_impl.config.MyfacesConfig  - Starting up
>     Tomahawk on the MyFaces-JSF-Implementation
>     22141 [http-8080-Processor25] INFO 
>     org.apache.myfaces.shared_tomahawk.config.MyfacesConfig  - Starting
>     up Tomahawk on the MyFaces-JSF-Implementation
>     37656 [http-8080-Processor24] ERROR
>     org.apache.myfaces.application.jsp.JspStateManagerImpl   - No
>     serialized component state found in client request!
>     79235 [http-8080-Processor23] ERROR
>     org.apache.myfaces.application.jsp.JspStateManagerImpl  - No
>     serialized component state found in client request!
>     4144906 [http-8080-Processor24] ERROR
>     org.apache.myfaces.application.jsp.JspStateManagerImpl  - No
>     serialized component state found in client request!
> 
>     The last 3 rows are from me trying to call a new page.
> 
> 
> 
>     2006/10/18, Werner Punz <werpu@gmx.at <mailto:werpu@gmx.at>>:
> 
>         Ok sorry about this confusion, the problem is not tiles related,
>         but
>         what happens here is that you mix the latest sandbox with an older
>         tomahawk version.
> 
>         Dojo has been recently moved into the core tomahawk libraries
>         (there was
>         an announcement regarding this in both the devs list and in here)
> 
>         The affected class now resides in the tomahawk Trunk, so if you
>         use as
>         for now sandbox snapshots
>         make sure you move tomahawk upwards as well.
> 
>         I am sorry for this hard cut, but there is no really sane way to
>         give a
>         smoother transition on this issue.
> 
>         But you can at least expect from now on, that the interfaces of
>         things
>         which have been cleared into Tomahawk will remain relatively stable
>         and are tested to a good degree.
> 
> 
>         What will happen in the immediate future is, that the next stable
>         tomahawk release still will be without dojo (the fork has been
>         done before)
> 
>         The one after that will be the dojo release and will hopefully
>         have a
>         lot of components from the sandbox moved into the stable
>         tomahawk build.
> 
> 
> 
>         Werner
> 
> 
>         Anne-Julia schrieb:
>         >  It seems I have a problem with Tiles and the DojoConfig, but I
>         don't
>         >  know where to fix it.
>         >
>         >  The Errorlog:
>         >
>         >  1164468 [http-8080-Processor23] ERROR
>         >  org.apache.struts.taglib.tiles.InsertTag  - ServletException in
>         >  '/jsp/editPack.jsp': org/apache/myfaces/custom/dojo/DojoConfig
>         >  javax.servlet.ServletException:
>         org/apache/myfaces/custom/dojo/DojoConfig
>         >     at
>         >
>         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
>         >     at
>         org.apache.jasper.runtime.PageContextImpl.handlePageException
>         >  (PageContextImpl.java:758)
>         >     at
>         >
>         org.apache.jsp.jsp.editEntstandenekosten_jsp._jspService(editEntstandenekosten_jsp.java:133)
>         >     at
>         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java :94)
>         >     at javax.servlet.http.HttpServlet.service
>         (HttpServlet.java:802)
>         >     at
>         >
>         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>         >     at
>         >  org.apache.jasper.servlet.JspServlet.serviceJspFile
>         (JspServlet.java:292)
>         >     at org.apache.jasper.servlet.JspServlet.service
>         (JspServlet.java:236)
>         >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>         (ApplicationFilterChain.java:237)
>         >     at org.apache.catalina.core.ApplicationFilterChain.doFilter
>         >  (ApplicationFilterChain.java:157)
>         >     at
>         >  org.apache.catalina.core.ApplicationDispatcher.invoke
>         (ApplicationDispatcher.java:704)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java
>         >  :590)
>         >     at
>         >  org.apache.catalina.core.ApplicationDispatcher.include
>         (ApplicationDispatcher.java:510)
>         >     at
>         >
>         org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>         >     at org.apache.jasper.runtime.PageContextImpl.include
>         >  (PageContextImpl.java :581)
>         >     at
>         >
>         org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101)
>         >     at
>         org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137)
>         >     at org.apache.struts.taglib.tiles.InsertTag.doInclude
>         >  (InsertTag.java:758)
>         >     at
>         >
>         org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890)
>         >     at
>         org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
> 
>         >     at
>         org.apache.jsp.template.template_jsp._jspx_meth_tiles_insert_2
>         >  (template_jsp.java:289)
>         >     at
>         >
>         org.apache.jsp.template.template_jsp._jspx_meth_f_subview_2(template_jsp.java:267)
>         >     at
>         >
>         org.apache.jsp.template.template_jsp._jspx_meth_f_view_0(template_jsp.java:152)
>         >     at org.apache.jsp.template.template_jsp._jspService
>         >  (template_jsp.java:76)
>         >     at org.apache.jasper.runtime.HttpJspBase.service
>         (HttpJspBase.java:94)
>         >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         >     at org.apache.jasper.servlet.JspServletWrapper.service
>         >  (JspServletWrapper.java:324)
>         >     at
>         >
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>         >     at
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>         >     at javax.servlet.http.HttpServlet.service (HttpServlet.java
>         :802)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
> 
>         >  :157)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java
>         :474)
>         >     at org.apache.catalina.core.ApplicationDispatcher.doForward
>         >  (ApplicationDispatcher.java:409)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java
>         :312)
>         >     at
>         >
>         org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java
>         >  :416)
>         >     at
>         >
>         org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch
>         (JspTilesViewHandlerImpl.java:233)
>         >     at
>         >
>         org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java
>         >  :219)
>         >     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:237)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         >     at
>         >
>         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java
>         >  :144)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
>         :157)
>         >     at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:118)
>         >     at
>         >
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>         >     at org.apache.catalina.core.ApplicationFilterChain.doFilter
>         >  (ApplicationFilterChain.java:157)
>         >     at
>         >
>         org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         >     at
>         >  org.apache.catalina.core.StandardValveContext.invokeNext
>         (StandardValveContext.java:104)
>         >
>         >     at
>         >
>         org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         >     at
>         >  org.apache.catalina.core.StandardContextValve.invokeInternal
>         (StandardContextValve.java:198)
>         >     at org.apache.catalina.core.StandardContextValve.invoke
>         >  (StandardContextValve.java:152)
>         >     at
>         >  org.apache.catalina.core.StandardValveContext.invokeNext(
>         StandardValveContext.java :104)
>         >     at
>         >
>         org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         >     at
>         >
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         >     at
>         >
>         org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         >     at org.apache.catalina.valves.ErrorReportValve.invoke
>         >  (ErrorReportValve.java:118)
>         >     at
>         >  org.apache.catalina.core.StandardValveContext.invokeNext
>         (StandardValveContext.java:102)
>         >     at
>         >
>         org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         >     at
>         >
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>         :109)
>         >     at
>         >
>         org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         >     at org.apache.catalina.core.StandardPipeline.invoke
>         >  (StandardPipeline.java:520)
>         >     at
>         org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         >     at
>         >
>         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         >     at org.apache.coyote.http11.Http11Processor.process
>         >  (Http11Processor.java:799)
>         >     at
>         >
>         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>         >     at
>         >  org.apache.tomcat.util.net.TcpWorkerThread.runIt
>         (PoolTcpEndpoint.java :577)
>         >     at
>         >
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         >     at java.lang.Thread.run(Thread.java:534)
>         >
>         >  What I did:
>         >  in the jsp I inserted:
>         >  <s:inputSuggestAjax
>         >                              id="suggestNumber"
>         >
>         >  suggestedItemsMethod="#{curPack.getNumberSuggestList}"
>         >                              style="width:100px;"
>         >                            
>         value="#{aoBean.curAntrag.curPack.number}" />
>         >
>         >  I used the following JARs:
>         >  myfaces-api-1.1.4.jar
>         >  myfaces-impl-1.1.4.jar
>         >  tomahawk-1.1.3.jar
>         >  tomahawk-sandbox-1.1.5-SNAPSHOT.jar
>         >  and a bunch that was included in the myfaces-bin folder.
>         >
>         >  What I didn't find was the Class
>         >  org/apache/myfaces/custom/dojo/DojoConfig (DojoConfig), so
>         maybe it is
>         >  not there?
>         >
>         >  Please help!
>         >
>         >  Cheers
>         >  AJ
>         >
> 
> 
> 


Mime
View raw message