[fedora-java] Solution to the jmxri/mx4j problem in tomcat5
Gary Benson
gbenson at redhat.com
Mon Mar 14 14:12:33 UTC 2005
I've built this into dist-fc4 (mx4j-2.1.0-1jpp_2fc and
tomcat5-5.0.30-1jpp_2fc). Let me know if it works, and I'll make
JPackage patches.
Cheers,
Gary
Anthony Green wrote:
> 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 at redhat.com>
> To: Discussion about JPackage project <jpackage-discuss at zarb.org>
> 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
More information about the fedora-devel-java-list
mailing list