dev@jsftemplating.java.net

Re: JSFTemplating: Handler exception when my changes did not include any handler

From: Priti Tiwary <Priti.Tiwary_at_Sun.COM>
Date: Thu, 24 Aug 2006 13:27:04 -0700

Hi Anissa,
I tried all this and it did not help, still getting the same error. Just
wandering what triggered the map file to lose sync, so that i can avoid
doing that later.
priti


Anissa Lam wrote:
> Hi Priti,
> This normally means that the handler map file is not in sync.
> If you are using the dev env, try to do 'ant dev-rebuild' at
> admin-jsf directory.
> If not, then go to admin-gui directory, and do a 'maven clean build'
> After that, redeploy the war.
> Hope this help.
>
> Anissa.
>
> Priti Tiwary wrote:
>> Hi,
>> I started seeing the follwoing exception after i deployed war file
>> with my changes. to get rid of it, i undid all my changes but i still
>> am getting this exception.
>>
>> None of my changes involved changing/introducing any handlers.
>>
>> [#|2006-08-24T10:51:29.031-0800|SEVERE|sun-appserver-ee9.1|javax.enterprise.syst
>>
>> em.container.web|_ThreadID=16;_ThreadName=httpWorkerThread-8080-0;_RequestID=734
>>
>> 247d0-20eb-41b1-8514-67ab0aa35fa3;|StandardWrapperValve[FacesServlet]:
>> PWC1406:
>> Servlet.service() for servlet FacesServlet threw exception
>> com.sun.jsftemplating.layout.SyntaxException: Handler
>> 'filterSystemApps' in even
>> t 'filterTree' is not declared! Ensure the '_at_Handler' annotation has
>> been defin
>> ed on the handler Java method, that it has been compiled with the
>> annotation pro
>> cessing tool, and that the resulting
>> 'META-INF/jsftemplating/Handler.map' is loc
>> ated in your classpath (you may need to do a clean build).
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader$EventParserComma
>> nd.process(TemplateReader.java:964)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpec
>> ial(BaseProcessingContext.java:122)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader$LayoutComponentC
>> ontext.beginSpecial(TemplateReader.java:925)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:262)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComp
>> onent(BaseProcessingContext.java:82)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.process(Template
>> Reader.java:268)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefini
>> tion(TemplateReader.java:156)
>> at
>> com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateRea
>> der.java:114)
>> at
>> com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager
>> .getLayoutDefinition(TemplateLayoutDefinitionManager.java:163)
>> at
>> com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinit
>> ion(LayoutDefinitionManager.java:208)
>> at
>> com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(Layou
>> tViewRoot.java:227)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewH
>> andler.java:128)
>> at
>> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav
>> a:180)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
>>
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.servletService(Applic
>> ationFilterChain.java:397)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.java:278)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
>> ava:586)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a:556)
>> at
>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
>> ContextValve.java:246)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> alve.java:185)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
>> ava:586)
>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> ava:182)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
>> ava:586)
>> at
>> com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipe
>> line.java:120)
>> at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> ve.java:137)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
>> ava:586)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a:556)
>> at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
>>
>> at
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:23
>> 1)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeA
>> dapter(DefaultProcessorTask.java:619)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
>> NonBlocked(DefaultProcessorTask.java:550)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
>> (DefaultProcessorTask.java:780)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProce
>> ssorTask(DefaultReadTask.java:326)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(Defau
>> ltReadTask.java:251)
>> at
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(Defau
>> ltReadTask.java:205)
>> at
>> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
>> 52)
>> at
>> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerT
>> hreadImpl.java:103)
>> |#]
>>
>>
>>
>> Priti
>