List Info

Thread: Exception Deploying MyFaces in Jboss 4.2




Exception Deploying MyFaces in Jboss 4.2
user name
2007-10-05 01:25:26
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(StandardWrapper.java:1161)
     ;   at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:981)

Regards,

Kelvin James

 

 

Re: Exception Deploying MyFaces in Jboss 4.2
country flaguser name
Germany
2007-10-05 04:55:06
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
> 
>  
> 
>  
> 


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )