users@glassfish.java.net

RE: Problem with sun:page in v2m3

From: Romanowski, Tim <tim.romanowski_at_lmco.com>
Date: Mon, 18 Dec 2006 20:25:47 -0500

I'm having the same problem with the 12/16 daily build of NB 6.0 as well
as the last release of NB 5.5.

-----Original Message-----
From: Greg Ederer [mailto:greg_at_ergonosis.com]
Sent: Sunday, December 17, 2006 5:56 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Problem with sun:page in v2m3

Hi Anissa,

I have been using NB 5.5. I will try the most recent 5.5.1 daily, and
report back.

Thanks!

Greg

Anissa Lam wrote:
>
> Hi Greg,
>
> This is probably related to the new Admin Console that goes out from
> build 28.
> I was told that when user is using Netbeans 5.5.1 to start the
> application server, the stack trace that you mentioned appeared.
> However, the app server starts up fine, and user can also launch the
> Admin Console from Netbeans without any problem. There appears no
> further issue besides the stack dump. We are looking into this issue,

> this maybe related to timing. The problem is that the log format is

> not the standard format and doesn't provide any timestamp information
> in helping to see if there is any threading issue involved.
> Will it be possible for you to work around the problem by starting the

> appserver yourself instead of starting it through Netbeans, this may
> avoid the problem you are seeing.
>
> Were you able to deploy your app successfully ? If so, were you
> able to run your app after deployment ?
>
> thanks
> Anissa.
>
>
> Greg Ederer wrote:
>> Hi,
>>
>> I posted a message about this last week that did not elicit any
>> response. I don't mean to be a nuisance, but, I'm really stuck. I
>> am using GlassFish v2 m3 in conjunction with NetBeans 5.5 on Mac OS
>> X. My application works just fine under b27 and prior releases.
>> But, when I deploy into m3, I get the following stack trace:
>>
>> executePhase(RESTORE_VIEW
>> 1,com.sun.faces.context.FacesContextImpl_at_45c2a3) threw exception
>> java.lang.IllegalArgumentException: ComponentType 'sun:page' not
>> defined!
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.createLayoutCompone
nt(TemplateReader.java:311)
>>
>> at
>>
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginCompone
nt(BaseProcessingContext.java:58)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateRea
der.java:270)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinitio
n(TemplateReader.java:156)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader
.java:114)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.ge
tLayoutDefinition(TemplateLayoutDefinitionManager.java:167)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition
(LayoutDefinitionManager.java:123)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutVi
ewRoot.java:230)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHand
ler.java:142)
>>
>> at
>>
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:2
01)
>>
>> 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.exec
ute(PartialTraversalLifecycle.java:79)
>>
>> at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:398)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispa
tcher.java:839)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:687)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:528)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:461)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:353)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(F
ormAuthenticator.java:401)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAut
henticator.java:225)
>>
>> at
>>
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapte
r.java:1078)
>>
>> at
>>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:631)
>>
>> at
>>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
>>
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> at
>>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:250)
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:618)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNon
Blocked(DefaultProcessorTask.java:549)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:790)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:326)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:248)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:199)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
>> at
>>
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThre
adImpl.java:103)
>>
>> ApplicationDispatcher[] PWC1231: Servlet.service() for servlet
>> FacesServlet threw exception
>> java.lang.IllegalArgumentException: ComponentType 'sun:page' not
>> defined!
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.createLayoutCompone
nt(TemplateReader.java:311)
>>
>> at
>>
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginCompone
nt(BaseProcessingContext.java:58)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateRea
der.java:270)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinitio
n(TemplateReader.java:156)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader
.java:114)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.ge
tLayoutDefinition(TemplateLayoutDefinitionManager.java:167)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition
(LayoutDefinitionManager.java:123)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutVi
ewRoot.java:230)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHand
ler.java:142)
>>
>> at
>>
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:2
01)
>>
>> 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.exec
ute(PartialTraversalLifecycle.java:79)
>>
>> at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:398)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispa
tcher.java:839)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:687)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:528)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:461)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:353)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(F
ormAuthenticator.java:401)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAut
henticator.java:225)
>>
>> at
>>
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapte
r.java:1078)
>>
>> at
>>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:631)
>>
>> at
>>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
>>
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> at
>>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:250)
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:618)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNon
Blocked(DefaultProcessorTask.java:549)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:790)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:326)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:248)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:199)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
>> at
>>
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThre
adImpl.java:103)
>>
>> Unexpected error forwarding to login page
>> javax.servlet.ServletException: ComponentType 'sun:page' not defined!
>> at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:398)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispa
tcher.java:839)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:687)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:528)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:461)
>>
>> at
>>
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:353)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(F
ormAuthenticator.java:401)
>>
>> at
>>
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAut
henticator.java:225)
>>
>> at
>>
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapte
r.java:1078)
>>
>> at
>>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:631)
>>
>> at
>>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:577)
>>
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> 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:5
56)
>>
>> at
>>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1032)
>> at
>>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:250)
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:618)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNon
Blocked(DefaultProcessorTask.java:549)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:790)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:326)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:248)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:199)
>>
>> at
>>
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
>> at
>>
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThre
adImpl.java:103)
>>
>> Caused by: java.lang.IllegalArgumentException: ComponentType
>> 'sun:page' not defined!
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.createLayoutCompone
nt(TemplateReader.java:311)
>>
>> at
>>
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginCompone
nt(BaseProcessingContext.java:58)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateRea
der.java:270)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinitio
n(TemplateReader.java:156)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader
.java:114)
>>
>> at
>>
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.ge
tLayoutDefinition(TemplateLayoutDefinitionManager.java:167)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition
(LayoutDefinitionManager.java:123)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutVi
ewRoot.java:230)
>>
>> at
>>
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHand
ler.java:142)
>>
>> at
>>
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:2
01)
>>
>> 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.exec
ute(PartialTraversalLifecycle.java:79)
>>
>> at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>> ... 29 more
>>
>> My guess is that I have a missing JAR. But, I don't know which one.

>> Does anyone know where the component type 'sun:page' is defined?
>>
>> Any suggestions greatly appreciated.
>>
>> Thanks!
>>
>> Greg
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>


-- 
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| greg_at_ergonosis.com
| 360.774.6848
|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net