users@glassfish.java.net

Re: Do Woodstock components work with V2?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Thu, 22 Mar 2007 15:32:10 -0800

Hi Romanowski,
I have filed an issue against Woodstock component regarding this,
https://woodstock.dev.java.net/issues/show_bug.cgi?id=18
It is marked fixed.

Assuming the context root is example, you have to use the following url
to access it.

http://localhost:8080/example/faces/index.jsp


You may want to open it again if it isn't.

thanks
Anissa.

Romanowski, Tim wrote:
>
> Has anyone here tried the Woodstock components with newer builds of
> Glassfish? I’m running V2 B37, and I unable to deploy neither the 4.01
> nor 4.02 builds that are currently available from the project’s
> website [1]. I get the exception below: Needless to say, if I can’t
> deploy the war, then the likelihood of me getting the components
> integrated into my app are slim as well. Any suggestions would be
> greatly appreciated? From what I see at the project’s website, there
> is zero documentation, and not much mailing list activity.
>
> *type* Exception report
>
> *message*
>
> *description*The server encountered an internal error () that
> prevented it from fulfilling this request.
>
> *exception*
>
> org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot find FacesContext
>
> *root cause*
>
> java.lang.RuntimeException: Cannot find FacesContext
>
> And in my server logs…
>
> Log Level
>
> SEVERE
>
> Logger
>
> javax.enterprise.system.container.web
>
> Name-Value Pairs
>
> _ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=cf49ded9-2060-40fa-9df2-614c0c8b2cea;
>
> Record Number
>
> 15
>
> Message ID
>
> StandardWrapperValve[jsp]
>
> Complete Message
>
> PWC1406: Servlet.service() for servlet jsp threw exception
> java.lang.RuntimeException: Cannot find FacesContext at
> javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1763)
> at
> javax.faces.webapp.UIComponentClassicTagBase.isIncluded(UIComponentClassicTagBase.java:1647)
> at
> javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1575)
> at org.apache.jsp.index_jsp._jspx_meth_f_view_0(index_jsp.java from
> :132) at org.apache.jsp.index_jsp._jspService(index_jsp.java from
> :107) at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:818) at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:818) at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
> 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:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
> 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:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(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.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
>
> [1] https://woodstock.dev.java.net
>