Hello, How are you trying to use the sun jsf impl? For example are you including it in your WEB-INF/lib? If so then I don't expect that would work since Geronimo filters the jsf classes from a webapps classloader. This is a result of the JSF 1.2 specification 10.2.5 and 10.2.6 which says that webapps should not include the jsf classes in their archive. As we move forward I think it would be a great idea to make the jsf implementation pluggable, but this will probably be done by using Geronimo's plugin system instead of bundling the JSF jars in a webapp's archive due to this language in the specification and because of jsf implementation-specific functionality like resource injection for managed beans.

The jsf support in Geronimo 2.0-M4 is more complete so I think you'll have better luck with it. However, that version has not been officially released yet so you will need to build it from svn tag or look in the [EMAIL PROTECTED] archive for the announcement of M4 release candidate binaries.

Best wishes,
Paul


On Apr 23, 2007, at 7:52 AM, Arinté wrote:

I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running into
errors, is it even possible?  My current error is this:
javax.servlet.ServletException:
org/apache/commons/lang/builder/HashCodeBuilder
at javax.faces.webapp.FacesServlet.service (FacesServlet.java:152)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206)

Even though I have commons lang in my geronimo.xml. Also, when I export this project to just plain tomcat 6 it works without me adding the commons
lang jar file anywhere, meaning I don't think sun uses it, but somehow
myfaces is getting injected in here.

Any tips or guides on getting this working?  I am using Geronimo 2 M3.
Thanks




Reply via email to