Hi Anissa,
I am sorry for unclear first stmt..
"had few entries once and after ant clean all, i double checked and it
does not. "
*it does not* here means now it does not have fewer entries but has all
the valid entries...
I had done ant clean all in jsftemplating project and then had done ant
dev-rebuild in the admin-jsf directory. Since i have hard coded the
exact path to the jsftemplating.jar file in the build.xml in admin-jsf
directory, should it not have picked up the new jsftemplating jar. It
did not for me this time... then what is the other option..
i had even tried copying the jar manually to the
adminGUI-JSF-war/WEB-INF//lib directory in the
publish/glassfish/lib/install/applications/admingui dir..
even then it did not work
Priti
Anissa Lam wrote:
> Priti Tiwary wrote:
>> 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.
> If you do the 'ant clean all' in the jsftemplating directory, i am
> sure it will rebuild everything under jsftemplating, including
> jsftemplating.jar and the UIComponentFactory.map, with the resulting
> jsftemplating.jar under the "dist" directory. You will need to
> copy this jar to admin-gui to use it.
>> ant clean all (in glassfish's admin-gui directory) is not refreshing
>> the new map file.
> "ant clean all" in the admin-gui directory is NOT going to touch or
> build jsftemplating for you. It will be using
> <AS>/lib/install/applications/admingui/adminGUI-JSF_war/WEB-INF/jsftemplating.jar
> to compile and build the
> <AS>/lib/install/applications/admingui/admin-jsf.war
> thanks
> Anissa.
>> . 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
>>
>>
>