Bug 155391
Summary: | jmxri.jar and jmx.jar symlinks not pointing to the right places | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gary A. McGee <clscience> | ||||||||
Component: | tomcat5 | Assignee: | Gary Benson <gbenson> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | rawhide | CC: | fnasser, green | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i686 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2005-04-22 12:40:52 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: | |||||||||||
Attachments: |
|
Description
Gary A. McGee
2005-04-19 21:20:43 UTC
Created attachment 113378 [details]
Tomcat5 Log
I'm able to reproduce this. It looks like the jmxri alternatives are messed up. # ls -l /usr/share/java/jxmri.jar lrwxrwxrwx 1 root root 23 Mar 11 16:46 /usr/share/java/jxmri.jar -> /etc/alternatives/jmxri but # ls -l /etc/alternatives/jmxri ls: /etc/alternatives/jmxri: No such file or directory The alternative should exist, and should refer to /usr/share/java/mx4j/mx4j-jmx.jar It seems to be a problem on Fedora only. Here is what I see on my RHEL machine: # ls -l /etc/alternatives/jmxri lrwxrwxrwx 1 root root 33 Mar 17 10:48 /etc/alternatives/jmxri -> /usr/share/java/mx4j/mx4j-jmx.jar I will reassign it to Gary. This is wierd, I have totally the opposite to Anthony: $ ls -l /usr/share/java/jxmri.jar ls: /usr/share/java/jxmri.jar: No such file or directory $ ls -l /etc/alternatives/jmxri lrwxrwxrwx 1 root root 33 Apr 21 12:05 /etc/alternatives/jmxri -> /usr/share/java/mx4j/mx4j-jmx.jar The second is odd too, since it ought to be pointing at mx4j.jar in Fedora. Should be fixed in mx4j-2.1.0-1jpp_3fc Actually, that's totally not the problem at all. Looks like something changed in Tomcat, but it wasn't tracked properly in the JPackage rpm. I'm reverting the mx4j changes and trying to build a fix into the tomcat5 package instead. Ok, I finally got to the bottom of it, and fixed it in tomcat5-5.0.30-2jpp_3fc. I don't quite understand how it worked before, but then there's a lot of things I don't understand ;) Gary, Can you attach the diff of the tomcat5 spec file changes to this bug please? Thanks cvs di -rtomcat5-5_0_30-2jpp_{2,3}fc Gary, you did not change the build-jar-repository commands that are also using jmxri. Although alternatives will make they point to the right thing in Fedora I think wou should change those accordingly to mx4j-jmx for documentation purposes at least. Regards, Fernando Humm, mx4j-jmx should suffice for the 'jmx.jar' property. The mx4j.jar has additionally only an MBean server. Does tomcat need it? Yeah, the thing that was breaking here is that mx4j-jmx does not suffice for the 'jmx.jar' property. I did wonder whether to change the build-jar-repository commands but I decided not to. In retrospect it seems better to change them too, for completeness. The ultimate solution would probably be to introduce an extra alternative, jmx, to go alongside jmxri, but that's something to discuss when I start upstreaming the Fedora patches to JPackage. Tomcat5 seems to start up now. I will attach the log files for reference. Created attachment 113594 [details]
/var/log/tomcat5/catalina.out
Created attachment 113595 [details]
/var/log/tomcat5/localhost_log.2005-04-24.txt
|