dev@jsftemplating.java.net

ComponentType not found

From: Priti Tiwary <Priti.Tiwary_at_Sun.COM>
Date: Fri, 08 Sep 2006 16:43:13 -0700

Hi ,
I am getting following exception on trying to launch admin-jsf application.
somehow my UIComponentFactory.map (in jsftemplating project) had few
entries once and after ant clean all, i double checked and it does
not.ant clean all (in glassfish's admin-gui directory) is not
refreshing the new map file. . I have tried all the previous suggestions
made in this alias about getting a clean build and nothing have helped.

[#|2006-09-08T16:20:48.398-0700|SEVERE|sun-appserver-ee9.1|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=httpWorkerThread-8080-0;_RequestID=0fce5c54-ae6e-40c7-8ab5-adac547734ab;|StandardWrapperValve[FacesServlet]:
PWC1406: Servlet.service() for servlet FacesServlet threw exception
java.lang.IllegalArgumentException: ComponentType 'sun:page' not defined!
        at
com.sun.jsftemplating.layout.template.TemplateReader.createLayoutComponent(TemplateReader.java:309)
        at
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:58)
        at
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:268)
        at
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinition(TemplateReader.java:156)
        at
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader.java:114)
        at
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:163)
        at
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:208)
        at
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutViewRoot.java:227)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:128)
        at
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java: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(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:789)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:328)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
        at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)


Priti

-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Priti Tiwary          		M/S SCA16-2425
Sun Microsystems, Inc.		4160 Network Circle
Voice: +1 408 276 5559          Santa Clara, CA 95054      
Cell: +1 510 396 4431           United States