Hi,
could you check if you get a warning before the exception
that MyFaces
and the integrated JSF 1.2 are loaded and there tell you
that this will
cause a collision?
I got similiar errors because of that. If so add following
lines into
your web.xml:
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL&
lt;/param-name>
<param-value>true</param-value>
</context-param>
If not just ignore my message. Futher info you can find at
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCD
DL
Regards,
Michael
Kelvin James schrieb:
> Hi
>
> I am getting the following exception when trying to
deploy MyFaces
> Components in JBOSS 4.2
>
> java.lang.IllegalStateException: Application was not
properly
> initialized at startup, could not fin
> Factory: javax.faces.context.FacesContextFactory
> at javax.faces.FactoryFinder.getFactory
(FactoryFinder.java:256)
> at
javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1161)
> at
org.apache.catalina.core.StandardWrapper.load
> (StandardWrapper.java:981)
>
> Regards,
>
> Kelvin James
>
>
>
>
>
|