This content has been marked as final.
Show 6 replies
-
1. Re: Problem configuring ajax4jsf! Application does not initi
sergeysmirnov Mar 15, 2007 4:26 PM (in response to absolution_brazil)Just drop one jar is not enough. At least, it should be two jar files and a couple of records in the web.xml. Please, read the documentation.
-
2. Re: Problem configuring ajax4jsf! Application does not initi
holicy Apr 9, 2007 12:29 PM (in response to absolution_brazil)I got the same problem too!
My application server is Tomcat 6.0.10 with Sun JSF RI 1.2 (jsf-1.2_04-b10-p01).
Before adding Ajax4jsf functionality, it works fine.
I followed the steps in http://labs.jboss.com/file-access/default/members/jbossajax4jsf/freezone/docs/devguide/Installation.html,
copy two jar files into WEB-INF/lib and give some setup in WEB-INF/web.xml,
but "Error listenerStart ..." message occurred after deploying a simple ajax4jsf web application. -
3. Re: Problem configuring ajax4jsf! Application does not initi
sergeysmirnov Apr 9, 2007 12:32 PM (in response to absolution_brazil)See tomcat log for details
-
4. Re: Problem configuring ajax4jsf! Application does not initi
holicy Apr 9, 2007 12:55 PM (in response to absolution_brazil)"SergeySmirnov" wrote:
See tomcat log for details
In catalina.txt... 2007/4/10 ?? 12:38:52 org.apache.catalina.startup.HostConfig deployWAR ??: Deploying web application archive jsf-demo.war 2007/4/10 ?? 12:38:52 com.sun.faces.config.ConfigureListener contextInitialized ??: Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/jsf-demo' 2007/4/10 ?? 12:40:02 org.apache.catalina.startup.HostConfig deployWAR ??: Deploying web application archive a4j-demo.war 2007/4/10 ?? 12:40:03 com.sun.faces.config.ConfigureListener contextInitialized ??: Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/a4j-demo' 2007/4/10 ?? 12:40:03 org.apache.catalina.core.StandardContext start ???: Error listenerStart 2007/4/10 ?? 12:40:03 org.apache.catalina.core.StandardContext start ???: Context [/a4j-demo] startup failed due to previous errors ...
In localhost.txt... 2007/4/10 ?? 12:40:03 org.apache.catalina.core.StandardContext listenerStart ???: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.ajax4jsf.framework.renderer.AjaxPhaseListener.<clinit>(AjaxPhaseListener.java:59) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ... ...
-
5. Re: Problem configuring ajax4jsf! Application does not initi
sergeysmirnov Apr 9, 2007 1:04 PM (in response to absolution_brazil)so, you have commons-logging.jar missing. Add it to your library set.
-
6. Re: Problem configuring ajax4jsf! Application does not initi
holicy Apr 9, 2007 11:27 PM (in response to absolution_brazil)"SergeySmirnov" wrote:
so, you have commons-logging.jar missing. Add it to your library set.
Except commons-logging.jar,
I have to add other files such as
commons-digester.jar
commons-collections.jar
commons-beanutils.jar
After adding those jar files into WEB-INF/lib, it works.
Thanks you anyway!