Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Install specific tomcat version through apt-get  RSS feed

 
gigi proietti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Tim Holloway
Bartender
Posts: 18605
68
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
christian Daniel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
Bartender
Posts: 18605
68
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!