Solved

Would like to upgrade to Tomcat 7 on CentOS

Posted on 2011-02-13
2
1,705 Views
Last Modified: 2012-05-11
I have a CentOS 5.5 instance with both tomcat 5 and tomcat 6 installed. I want to upgrade to tomcat 7 and I'm wondering if I should remove the 2 previous tomcat instances before installing the new version. The thing is, I just did a test and when I uninstalled tomcat 5, the package manager also removed my openoffice installation. The tomcat 5 instance came with the base centOS install and I later installed tomcat 6 (without realizing that 5 was already on there).

So I'm just looking for suggestions as to the best way to proceed.
0
Comment
Question by:opike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
Monis Monther earned 250 total points
ID: 34884320
It depends on how you installed the package. if from source then usually it went under /usr/local or what ever PATH parameter you chose in the config.

The base installation usually puts binaries under /usr/sbin and configs undet /etc and some things under /var/lib

Anyway have you tried using the Jpackage repo and installing doing a YUM upgrade I think this would upgrade what you have.
0
 
LVL 1

Assisted Solution

by:haroldpga
haroldpga earned 250 total points
ID: 34887986
Since the Tomcat which comes with CentOS is version 5, then you must have installed version 6 from the sources.  

Personally, I would remove both versions 5 and 6 before trying to install version 7 from source.  You can use yum to remove version 5, monitoring the process to put back anything which gets un-installed by mistake (in this case, it appears that open office is in that category.)  

If you still have the source tree for Tomcat6, you can try "make uninstall".  If this doesn't work, then you probably will have to just delete all of the tomcat files before proceeding with the install of Tomcat7.

The Jpackage repository is a good idea, but the latest version of Tomcat they have is 6.

Hope this helps
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question