[fedora-java] Solution to the jmxri/mx4j problem in tomcat5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's a solution to jmx problem in rawhide.   I hope somebody
(gbenson?) can apply it and rebuild the RPMs.

Thanks!

AG


-------- Forwarded Message --------
From: Anthony Green <green@xxxxxxxxxx>
To: Discussion about JPackage project <jpackage-discuss@xxxxxxxx>
Subject: Re: [JPackage-discuss] [Fwd: mx4j (Was: [fedora-java] tomcat5)]
Date: Fri, 11 Mar 2005 16:13:28 -0800
On Fri, 2005-03-11 at 10:43 -0500, Fernando Nasser wrote:
> The javamail package already has a 'javamail-monolithic' subpackage with 
> such a jar file and we are about to do the same for classpathx-mail.
> 
> Following the trend we should have a 'mx4j-monolithic' subpackage.

Actually, it turns out that this jar (or something close to it) already
exists.  The only problem is that the spec file is using "mx4j-jmx.jar"
for the alternative instead of just "mx4j.jar".

Somebody just needs to apply this patch and rebuild.  tomcat5 also needs
to be rebuilt, since it actually copies the jmxri alternative jar file
into itself as part of the build procedure.

AG


*** mx4j.spec~  2005-03-07 01:56:29.000000000 -0800
--- mx4j.spec   2005-03-11 15:36:58.000000000 -0800
***************
*** 209,219 ****
  rm -f %{_javadir}/%{name}.jar

  %post
! /usr/sbin/update-alternatives --install %{_javadir}/jmxri.jar jmxri %{_javadir}/%{name}/%{name}-jmx.jar 0

  %postun
  if [ "$1" = "0" ]; then
!       /usr/sbin/update-alternatives --remove jmxri %{_javadir}/%{name}/%{name}-jmx.jar
  fi


--- 209,219 ----
  rm -f %{_javadir}/%{name}.jar

  %post
! /usr/sbin/update-alternatives --install %{_javadir}/jmxri.jar jmxri %{_javadir}/%{name}/%{name}.jar 0

  %postun
  if [ "$1" = "0" ]; then
!       /usr/sbin/update-alternatives --remove jmxri %{_javadir}/%{name}/%{name}.jar
  fi




AG




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux