Jenkins Running on Websphere 8.5 causes plugin class load errors

杀马特。学长 韩版系。学妹 提交于 2020-01-04 20:28:25

问题


I am running Jenkins (1.552) on WebSphere 8.5 with Java 7 on RedHat Linux. I loaded the Artifactory plugin into Jenkins, but when I hit test connection, I receive the following error:

org.apache.commons.logging.LogConfigurationException: 

org.apache.commons.logging.LogConfigurationException: Class 

org.apache.commons.logging.impl.Jdk14Logger does not implement Log

After looking around, it appears that the Artifactory plugin was not compiled with the pluginFirstClassLoader option. It appears due to this that the WebSphere JARs are being loaded first which contain a different version of the commons-logging JAR. I am seeing this as well with some other plugins.

Does anyone know of a way (without recompiling the plugins) to have the plugin JARs loaded before the WebSphere JARs? I do have the classpath for the application in WebSphere set to be Parent Last.

来源:https://stackoverflow.com/questions/22378330/jenkins-running-on-websphere-8-5-causes-plugin-class-load-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!