dev@glassfish.java.net

exception when starting from NetBeans....

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Thu, 04 Jan 2007 17:48:45 -0800

I get the following stack trace when I start GF V2 from inside NetBeans...

NetBeans uses asadmin start-domain to do the start up.

Once the server starts, NetBeans uses the http connector to get info
about the server environment to populate the Runtime explorer...

I have confirmed that 'asadmin start-domain' doesn't generate this
stack... so it has to be the calls over the http connector that trigger
this...

I am trying to figure out which one... but haven't been very successful.

Has anybody seen something like this?

Can anybody think of a link between the http connector and the admin gui
[assumption] that would cause this?

As an aside: what does this exception mean? What would Cay Horstmann say?

Thanks,
vbk


[#|2007-01-04T17:24:31.201-0800|WARNING|sun-appserver-ee9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=12;_ThreadName=http
WorkerThread-4848-0;_RequestID=15f3e19f-cb4b-40bc-8942-abb7c5f697f9;|executePhase(RESTORE_VIEW
1,com.sun.faces.context.FacesContextImpl_at_862d13
) threw exception
com.sun.jsftemplating.layout.SyntaxException: Handler
'setResourceBundle' in event 'beforeCreate' is not declared! Ensure the
'_at_Handler' anno
tation has been defined on the handler Java method, that it has been
compiled with the annotation processing tool, and that the resulting 'MET
A-INF/jsftemplating/Handler.map' is located in your classpath (you may
need to do a clean build).
        at
com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.readHandler(TemplateReader.java:842)
        at
com.sun.jsftemplating.layout.template.TemplateReader$EventParserCommand.process(TemplateReader.java:784)
        at
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginSpecial(BaseProcessingContext.java:121)
        at
com.sun.jsftemplating.layout.template.TemplateReader$LayoutComponentContext.beginSpecial(TemplateReader.java:725)
        at
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:264)
        at
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:81)
        at
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:270)
        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:167)
        at
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:123)
        at
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutViewRoot.java:230)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:142)
        at
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:201)
        at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
        at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
        at
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:79)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
        at
com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:203)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
        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:186)
        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:1067)
        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:1067)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:252)
        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:790)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
        at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
|#]