Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7.

Our previous provider was Amazon and we ran on Amazon Linux who via their amzn-updates-Base repo made available a Tomcat 7 package which we were using. Our new provider Rackspace has us setup on RHEL 6.4. Apparently the RedHat EUS Server repos that we're using only have Tomcat 6 available. We also checked into the Rackspace IUS repo and Fedora's EPEL (Extra Packages for Linux) repo but neither appear to have a package for Tomcat 7.

We're well aware that Tomcat is Java and thus isn't dependant on a particular architecture, and that there are many "How to install Tomcat 7 on linux" tutorials online but they are just steps taken by some random engineer who then posted it to their blog. Going this route seems like a big step back from leveraging a maintained package that: 1) We know is setup correctly, securely and 2) We can receive updates via yum with.

Tomcat 7 has been out for 3 years now and in fact Tomcat 8 is now in beta. I'm quite surprised that none of the larger organizations like RedHat has picked up version 7. So, question to you all: how would you recommend that we (and other people in similar situations) proceed?

Options that we see are:

  1. Do a manual download, setup of startup scripts, user account, etc ourselves and check back at various intervals to see if there's any updates (security or otherwise). Concern here is whether we get this right or not.

  2. Use Tomcat 6 packages - doesn't appear to have huge changes in version 7 but we've not tested our product with this version and would prefer to not have to test our app in both app server version environments.

  3. Continue seeking a proper tomcat 7 package - seems that we're unlikely to find anything credible.

Update:
Another potential option that was pointed out is to build our own tomcat7 package. I found a GitHub project that could be a good starting point: https://github.com/bdwyertech/rpm-tomcat7

share|improve this question
    
another option is to package it yourself, not ideal but manageable. –  faker Mar 11 at 18:05
    
@faker good point, I will edit the question and add that as an option. I actually found a github project that we could potentially use as a starting point. –  Marplesoft Mar 11 at 18:33

2 Answers 2

up vote 0 down vote accepted

A supported version of Tomcat7 is available via the add-on entitlement for JBoss. Red Hat has stated that there will not be a Tomcat7 in the RHEL6 base channels.

https://access.redhat.com/site/solutions/128503

RHN login is required to view.

share|improve this answer
    
Could you quote the relevant information from that link? –  MichelZ Apr 16 at 13:44
    
I don't want to quote the not-publicly-accessible content from Redhat, but I'll confirm that the link explicitly states tomcat7 won't be available for RHEL6 outside of JBoss add-on entitlements. –  Joshua Miller Apr 16 at 16:12

EPEL testing does include Tomcat 7 : http://pkgs.org/centos-6/epel-testing-i386/tomcat-7.0.33-3.el6.noarch.rpm.html

share|improve this answer
    
Thanks for pointing that out. I wasn't aware of that. I guess this is another option. We'd just need to consider whether we trust the 'testing' repo. –  Marplesoft Mar 11 at 18:41
    
This will be a problem not only of trust but support... if you care about support that is. None of this is "officially" supported. Though perhaps the new RHEL "software collections" (still in beta) are a step in the right direction. Since using those you would be running an unsupported package but not modifying or interfering with any official packages or libraries. –  Chris Jones Mar 11 at 19:03
    
Yes very true about the testing repo. I agree RHEL software collections looks promising but doesn't include Tomcat. –  Marplesoft Mar 11 at 21:10
    
By now it is not in the testing repository anymore, it has been moved into the regular EPEL repository (name: tomcat). –  faker Oct 24 at 6:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.