hello,
have you checked that your myfaces & sandbox are of same version?
i think if you are using myfaces-20050101 jars you should pick also
sandbox-20050101 jars
HTH
marco
On 11/10/05, Bruno Aranda <[EMAIL PROTECTED]> wrote:
Does the sandbox.war work for you?
Bruno
2005/11/10, Francesco Consumi < [EMAIL PROTECTED]>:
> Hi all,
>
> If I try to include sandbox.jar in my project, when I launch it I obtain:
> exception
>
> javax.servlet.ServletException:
> org.apache.myfaces.webapp.webxml.WebXml.init must be called before!
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter (MonitorFilter.java:362)
>
> root cause
>
> java.lang.IllegalStateException:
> org.apache.myfaces.webapp.webxml.WebXml.init must be called before!
> org.apache.myfaces.webapp.webxml.WebXml.getWebXml (WebXml.java:123)
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.getServletMapping(JspViewHandlerImpl.java:346)
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java :199)
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter (MonitorFilter.java:362)
>
>
> Obviously, in my web.xml file is included the listener:
> <listener>
>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener </listener-class>
> </listener>
>
>
> suggestion ?
>
> I need sandbox in order to use <s:convertDateTime> instead of the <f:>
> one, because of famous date shifting.....
>
>
> thanks to all.
>
>
> --
> Francesco Consumi
> Ufficio Sistemi informativi
> Istituto degli Innocenti
> Piazza SS.Annunziata, 12
> 50122 Firenze
> consumi at istitutodeglinnocenti.it
> Tel. +39 055 2037320
> ICQ# 12516133
>
>
>

