users@woodstock.java.net

Re: JSF phase cycle errors on server log with Woodstock and Firefox

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Mon, 03 Mar 2008 11:00:37 -0500

Woodstock does not use Shale. (We don't need it to load JavaScript, so
there is no need for us to create another dependency.) We distribute the
following JSF Extensions jars with Woodstock:

    jsf-extensions-common-0.1.jar
    jsf-extensions-dynamic-faces-0.1.jar

However, we do not distribute the Shale jar:

    shale-remoting-1.1.0-swdp-b.jar

If you're using the <jsf:scripts> tag of JSF Extensions, the Shale jar
is required to load DynamicFaces. However, upgrading Shale is more of a
question for the users_at_jsf-extensions.dev.java.net alias.

Dan

autozoom wrote:
> What I did is to replace the file shale-remoting.jar of dynamic faces
> embedded in NB 6 with the one coming from the shale distribution, so
> updating from 1.0.3 to 1.0.4 which fixes the bug
>
> When is the latest shale version going to be embedded into woodstock?
>
>
> autozoom wrote:
>
>> I read the article, but I still get this error.
>> Yes I use an italian locale and everything works fine in an english
>> environment.
>> Is there a workaround I must put in place to make things work?
>>
>>
>> Ryan Lubke wrote:
>>
>>> Looks like http://issues.apache.org/struts/browse/SHALE-270
>>>
>>> autozoom wrote:
>>>
>>>> I am having these errors on the JBoss log using Woodstock enabled pages
>>>> and
>>>> Firefox:
>>>>
>>>> 2008-02-28 17:53:51,624 WARN
>>>> [javax.enterprise.resource.webcontainer.jsf.lifecycle]
>>>> phase(RESTORE_VIEW
>>>> 1,com.sun.faces.context.FacesContextImpl_at_5e2e0d) threw exception:
>>>> java.lang.IllegalArgumentException: gio, 28 feb 2008 16:53:46 GMT gio,
>>>> 28
>>>> feb 2008 16:53:46 GMT
>>>> org.apache.catalina.connector.Request.getDateHeader(Request.java:1833)
>>>> org.apache.catalina.connector.RequestFacade.getDateHeader(RequestFacade.java:632)
>>>> org.apache.shale.remoting.impl.AbstractResourceProcessor.ifModifiedSince(AbstractResourceProcessor.java:349)
>>>> org.apache.shale.remoting.impl.AbstractResourceProcessor.process(AbstractResourceProcessor.java:101)
>>>> org.apache.shale.remoting.faces.RemotingPhaseListener.afterPhase(RemotingPhaseListener.java:102)
>>>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
>>>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
>>>> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
>>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
>>>> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>>>> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>>> java.lang.Thread.run(Thread.java:619)
>>>>
>>>> everything works fine with Internet Explorer though
>>>>
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>>
>>>
>>>
>>>
>>
>
>