We have to migrate an application written with Seam 1.1.0.CR1 on
jboss-4.0.5.GA ( at this time MyFaces was the built-in JSF implementation) to Seam 2.0.0.GA on jboss-4.2.1.GA.
After a while, we have finally been able to port everything using default configuration (so SUN RI JSF 1.2 built-in JSF implementation).
Actually, we have created from scratch a Seam application using Seam generator and integrate piece by piece our old application.
Unfortunately, one of the third-party component we are using is fckeditor / fck-faces which is built-in on top of MyFaces :(
So reading several posts on the forum and reading blog on internet, we tried to enable MyFaces in our application.
We went through
but nothing helped us :(
We are totally blocked about this issue and we really need help.
Is there a place with a sample of EAR file using MyFaces in JBoss 4.2.1GA please ?
We would really need a sample of an application with MyFaces bundled in it.
we copied the lib myfaces-impl-1.1.5.jar and myfaces-api-1.1.5.jar ( and dependencies) in WEB-INF\lib but we got digester error :
ERROR [org.apache.commons.digester.Digester] Parse Error at line 2 column 14: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
I guess because our faces-config.xml has been created with Seam generator targeted for JSF 1.2
we does the same with myfaces-api-1.2.0.jar and myfaces-impl-1.2.0.jar
ERROR [org.apache.myfaces.webapp.DefaultFacesInitializer] Error initializing MyFaces: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.faces.application.ApplicationFactory
java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.faces.application.ApplicationFactory
I'm sure we missed some steps or configurations specifying that we use MyFaces in place of Sun RI.
This context parameter and the copy of the libraries can't be sufficient.
Please let us know what is missing.
a small sample of an EAR file using MyFaces in place of Sun RI would be extremely helpful.
or is there a guide as seam2migration.txt explaining what we shouldn't remove if we want to keep using MyFaces ?
There is no instructions for this scenario.
Thanks in avance