[
https://issues.apache.org/jira/browse/AXIS2-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542121
]
Charitha Kankanamge commented on AXIS2-3274:
--------------------------------------------
Hi Pierre,
I couldn't reproduce this error with Websphere6.1/Axis21.3 on Winxp. I tried by
deploying a service but did not get LogConfiguration exception. The only
additional step i did was, set the application class loader first while
deploying axis2.war. If you still experience this issue, please provide us
detailed steps to reproduce the problem with the necessary services archives
etc..
thanks
Charitha
> 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
> Assignee: Charitha Kankanamge
> 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]