Solved

Would like to upgrade to Tomcat 7 on CentOS

Posted on 2011-02-13
2
1,696 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
2 Comments
 
LVL 14

Accepted Solution

by:
small_student 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now