On 10/29/06, Thomas Walland <[EMAIL PROTECTED]> wrote:

I still have some troubles with shale. I found out that myfaces only
works, if i paste this to the web.xml:

<listener>
   <listener-class>
       org.apache.myfaces.webapp.StartupServletContextListener
   </listener-class>
</listener>


The fundamental issue here seems to be that your servlet container is not
automatically recognizing the need to load a startup listener that is
registered in a tag library descriptor (TLD) file, which is included in the
META-INF directory of a JAR in WEB-INF/lib.  Both MyFaces and the JSF RI
rely on this capability to initialize themselves -- and the error message
you are seeing implies that this initialization is not being performed.

That leads to the next question -- are you *sure* you are actually using
Tomcat 5.5?  The behavior you are describing is what I would expect to see
if you were using some Tomcat 4.x version, instead of 5.5, because that
version of Tomcat did not correctly implement this feature.

So, how are you starting the Tomcat instance you are trying to use?  In
particular, what is the value of CATALINA_HOME that is reported when you
start up Tomcat?

Craig

Reply via email to