• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Install specific tomcat version through apt-get

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to install on my Ubuntu 14.04 machine a specific version of Tomcat. The required one is the 6.0.0, and I want to install it using apt-get.

In the default PPAs that version is not available. Is there some PPA to add that provides that specific version?

I looked at these ones:

https://launchpad.net/tomcat6/+packages (older tomcat: 6.0.28)
https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=tomcat6 (older tomcat 6.0.45)


I need that specific version for testing a vulnerability and I need it from apt-get since the vulnerability is in the init.d script provided by Ubuntu or Debian installation.

Thanks
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Gigi!

OS package managers rarely give you a choice of what version of a product to install. At best, occasionally you'll get 2 major versions to chose from, such as Tomcat 7 and Tomcat 8.

That's because most packages are less forgiving of minor version variances than Java systems are and because the distro managers don't want to waste a lot of effort on similar-but-not-identical software.

The way to deal with that normally would be to download the Tomcat ZIP file straight from tomcat.apache.org and simply unzip it, but you're indicating a problem with an init script, which wouldn't be part of that download.

At best, you might be able to browse back generations of the Debian package sources in their archives (presumably git archives) and build one yourself.

Of course, Tomcat 6 releases before about 6.0.28 had some significant exploits in them, so no production system should be running them. For that matter, no actively-maintained system should still be running Tomcat 6 anyway - we're moving towards Tomcat 9 at the moment.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I am thinking is you can visit apache website and you can download old version after that you can install old version of tomcat

Eg
wget http://apache.hoxt.com/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz
tar xvzf apache-tomcat-6.0.14.tar.gz

Regards,
Christian


 
Tim Holloway
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A little late now. That problem was last year.

But the issue was with a Linux init script that was bundled with the '.deb" package. Tomcat itself doesn't come with OS-specific files except for the Windows service version. So tomcat.apache.org doesn't have what's needed here.
 
reply
    Bookmark Topic Watch Topic
  • New Topic