[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jpackage-discuss
Subject:    Re: [JPackage-discuss] /usr/bin/rebuild-security-providers
From:       "Mark K. Mellis" <mkmlists () mellis ! com>
Date:       2008-06-14 20:48:04
Message-ID: 4E0C49E5-99C4-4429-AE29-52B8AE09F5B0 () mellis ! com
[Download RAW message or body]

Many thanks to Graham Leggett, DM Smith, and David Walluck for their  
helpful suggestions.

To refresh your collective memories, I am running RHEL 5.2 and I want  
to run the jpackage version of the bundled tomcat apps.

Here's what I am doing to work around the problem :

1) sudo yum install yum-priorities

I install yum-priorities ( http://linux.duke.edu/yum/download/yum- 
utils/ ) which I've built and stashed in a local repository. This  
allows me to prefer jpackage versions of java-related RPMs to RedHat's  
versions.

2) I add

	rpm_check_debug=False

to the tail end of /etc/yum.conf . This prevents a problem that I have  
been hitting where the new version of yum runs additional checks after  
it resolves its dependencies and erroneously thinks that the  
dependencies are not being satisfied correctly.

3) I stick this version of jpackage.repo in /ec/yum.repos.d/

[jpackage-generic-5]
name=JPackage (free), generic
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/5.0/generic/free/
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
priority=90
enabled=1

[jpackage-generic-nonfree-5]
name=JPackage (non-free), generic
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/5.0/generic/non-free/
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
priority=90
enabled=1

[jpackage-generic]
name=JPackage (free), generic
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/generic/free/
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
priority=90
enabled=1

[jpackage-rhel]
name=JPackage (free) for Red Hat Enterprise Linux $releasever
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/redhat-el-5.0/free/
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
priority=90
enabled=1

[jpackage-rhel-nonfree]
name=JPackage (non-free) for Red Hat Enterprise Linux $releasever
baseurl=ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/redhat-el-5.0/non-free/
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
priority=90
enabled=1

Note that I set the priority of these repositories to 90, which is  
lower than the default value of 100 which will be assigned to  
repositories that have no priority set, namely the system default  
repositories. This means that for normal invocations of yum, the  
jpackage repositories are preferred to the RedHat repositories.

4) sudo yum --disablerepo=jpackage* install jpackage-utils

This step installs the RedHat version of jpackage-utils to work around  
the problem that got us here in the first place.

5) sudo yum install jdk.x86_64 java-1.5.0-sun- 
compat-1.5.0.15-1jpp.x86_64

This picks up the Sun JDK and associated compat file from my local  
repo. Yes, I know the jpackage.org site says to not use the 64 bit  
version of the jdk but it works for me.

6) sudo yum install tomcat5-webapps tomcat5-admin-webapps mysql- 
connector-java

This step picks up the rest of the things I need to run my app. As a  
side effect, it replaces the RedHat version of jpackage-utils with the  
jpackage version. For some reason, that doesn't matter any more.

And it all seems to work now. No chickens were killed in the process  
of getting tomcat running on my RHEL system.

I'd be thrilled to hear any comments you might have about my process.

  ...Mark

Mark K. Mellis
http://www.mellis.com

_______________________________________________
JPackage-discuss mailing list
JPackage-discuss@zarb.org
https://www.zarb.org/mailman/listinfo/jpackage-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic