quality@glassfish.java.net

Re: b65: PWC1406: Ensure the '_at_Handler' annotation has been defined on the handler Java method

From: Christoph John <christoph.john_at_macd.com>
Date: Fri, 02 Oct 2009 10:05:52 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

just to clarify:
The MDB Settings do not show as a result of the Exception below. The pages for EJB Timers and EJB
Settings open successfully.

Regards,
Christoph

On 10/01/2009 04:02 PM, Christoph John wrote:
> Hi,
>
> on b65 I get the following Exception when I do the following in the admin console:
> I clicked on EJB Container -> MDB Settings. The pages for EJB Timers and EJB Settings open successfully.
>
> From the log file:
>
> [#|2009-10-01T15:57:25.767+0200|WARNING|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=33;_ThreadName=Thread-3;|StandardWrapperValve[FacesServlet]:
> PWC1406: Servlet.service() for servlet FacesServlet threw exception
> com.sun.jsftemplating.layout.SyntaxException: Handler 's' in event 'beforeCreate' is not declared!
> Ensure the '_at_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$LayoutComponentContext.beginSpecial(TemplateReader.java:839)
> at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
> at
> com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:79)
> at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:312)
> at
> com.sun.jsftemplating.layout.template.DefineParserCommand.process(DefineParserCommand.java:76)
> at
> com.sun.jsftemplating.layout.template.CompositionParserCommand$LayoutCompositionContext.beginSpecial(CompositionParserCommand.java:142)
> at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
> at
> com.sun.jsftemplating.layout.template.CompositionParserCommand.process(CompositionParserCommand.java:117)
> 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:253)
> 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:1522)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
> 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.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:211)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)
> at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
> 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 com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)
> at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)
> at java.lang.Thread.run(Thread.java:619)
> |#]
>
> Is this a known bug?
>
> Regards
> Christoph
>
>

- ---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: quality-help_at_glassfish.dev.java.net



- --
Christoph John
http://www.macd.com Tel.: +49 (0)241 44597-28
Macdonald Associates GmbH Geschäftsführer: George Macdonald
Oppenhoffallee 103, D-52066 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id DE813021663
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKxbRgMtne1i1i0z0RAr8OAJ94xszAoLlZ+4TmNfVegtZKugt00gCfSUxi
9Xe4W7BM2mKyN0shknPhn5E=
=OVPv
-----END PGP SIGNATURE-----