Bug 735460
Summary: | java.lang.ClassNotFoundException: com.mchange.v2.log.MLog | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Tomas Lestach <tlestach> |
Component: | Server | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
Status: | CLOSED WONTFIX | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.5 | CC: | java-sig-commits, jpazdziora, jvcelak, mat.booth, sochotni |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-23 13:18:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 723481, 732350 |
Description
Tomas Lestach
2011-09-02 17:38:01 UTC
Do you have mchange-commons installed? I'm experiencing the same problem. (In reply to comment #1) > Do you have mchange-commons installed? Yes, I do. (In reply to comment #0) > Description of problem: > 1) > Seems that replacing the /usr/share/java/c3p0.jar > with > http://mirrors.ibiblio.org/pub/mirrors/maven2/c3p0/c3p0/0.9.0.2/c3p0-0.9.0.2.jar > resolves the problem This ugly solution works for me as well. mchange-commons is no longer bundled in c3p0. This should be addressed in spacewalk-java. Following change fixed that for me: ln -s /usr/share/java/mchange-commons.jar /var/lib/tomcat6/webapps/rhn/WEB-INF/lib We have the fix/workaround in Spacewalk, bug 732350. Seeing Fedora will not put mchange-commons back to c3p0, let's just WONTFIX this one. And what about the packaging problem? (I would expect /usr/share/java/c3p0.jar to be a symlink to /usr/share/java/c3p0-0.9.0.2.jar.) (In reply to comment #5) > And what about the packaging problem? > > (I would expect /usr/share/java/c3p0.jar to be a symlink to > /usr/share/java/c3p0-0.9.0.2.jar.) No, actually Java packaging guidelines[1] currently state that /usr/share/java/c3p0.jar is correct path for this jar. Versioned jars were abolished some time ago. They were not serving any machine purpose, because anyone who needs the jar should use unversioned version anyway. Otherwise an update of said jar could break his application. If you want to know what version is the jar you can just do: $ rpm -qf /usr/share/java/c3p0.jar [1] https://fedoraproject.org/wiki/Packaging:Java#JAR_file_installation All right. Stanislav, thank you for explanation. |