Hi,
I try to integrate Axis2 (1.5) to Seam (2.0 / 2.1) in an EAR project. After I add Axis2 fascets, the app could not be deployed. (I get a deployment exception).
The interesting part of the stack trace is the following:
Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable. at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.ajax4jsf.event.AjaxPhaseListener.<clinit>(AjaxPhaseListener.java:57) ... 146 more
I copy the axis2 jars to the lib, Axis2 works perfectly in a WAR project. The Log4JLogger in the build path.
Does anyone has the same problem?
Thanks.
The solution is the same as Axis1. The generated commons-logging jar must be removed, but the httpcore-4.0.jar must be added.