Axis2 kernel logging on WAS 6.1
-------------------------------
Key: AXIS2-3274
URL: https://issues.apache.org/jira/browse/AXIS2-3274
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Affects Versions: 1.3
Environment: Axis2 1.3 under Websphere 6.1
Reporter: Pierre Casenove
Priority: Minor
When deploying Axis2 based application, websphere tries to instantiates
AxisServlet and throws following exception:
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4jFactory
at
org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609)
at
java.security.AccessController.doPrivileged(AccessController.java:193)
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:352)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at
org.apache.axis2.transport.http.AxisServlet.<clinit>(AxisServlet.java:79)
The root cause is explained here :
http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions?highlight=%28websphere%29
In order to get everything works, I had to modify axis2-kernel.jar to add a
commons-logging.properties containing:
priority=1
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
I tried to first put this file in my web app classpath but it didn't work.
The only solution was to put it in Axis2 Kernel jar.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]