• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Install specific tomcat version through apt-get  RSS feed

 
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
 
Bartender
Posts: 20763
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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.
 
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: 20763
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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.
 
Crusading Chameleon likes the size of this ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!