Looks like the handlerMap is missing in the build.
Try doing this:
cd v3/admingui; mvn
clean install;
then
either go to v3/distribution and build and start your usual process
again,
or
copy the respective admingui/*/target/console-*plugin.jar to the
modules directory
copy v3/admingui/war/target/admingui.war to lib/install/application/
rm -rf lib/install/application/__admingui
The key point is, do NOT just do mvn install in admingui directory.
It has to be mvn clean install for the jsftemplating handler map files
to be generated correctly.
thanks
Anissa.
Jitendra Kotamraju wrote:
When I open
admin console from the browser (http://localhost:4848), I see the
following. I believe my workspace is up-to-date. How to fix this ?
thanks,
Jitu
SEVERE: StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service()
for servlet FacesServlet threw exception
com.sun.jsftemplating.layout.SyntaxException: Handler
'initProductInfoAttributes' in event 'initPage' is not declared!
Ensure the '@Handler' annotation has been defined on the handler Java
method, that it has been compiled with the annotation processing tool,
and that the resulting 'META-INF/jsftemplating/Handler.map' is located
in your classpath (you may need to do a clean build).
at
com.sun.jsftemplating.layout.template.EventParserCommand.readHandler(EventParserCommand.java:225)
at
com.sun.jsftemplating.layout.template.EventParserCommand.process(EventParserCommand.java:158)
at
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpecial(BaseProcessingContext.java:104)
at
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
at
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinition(TemplateReader.java:178)
at
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader.java:135)
at
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:194)
at
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:151)
at
com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:257)
at
com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:228)
at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:201)
at
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:256)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1506)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:346)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:216)
at
com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:216)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:291)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:351)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:250)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:202)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net