Fedora Linux Support Community & Resources Center
  #1  
Old 16th July 2013, 10:19 PM
volbollo Offline
Registered User
 
Join Date: Jul 2010
Posts: 18
linuxfirefox
Uninstall TOTALLY tomcat

Hi everyone,

I'm on f18 and I'm working on JEE and web application.
I installed eclipse kepler (JEE version) and tomcat 6 from repository.
Everything was right until the server stopped by its self and I haven't been able to start it any more...
So I tried by installing tomcat 7 both "by hand" (meaning uncompressing the tar file and moving it on /usr/share) and by command line
Code:
rpm -i tomcat-7.0.40-1.fc18.noarch.rpm
but nothing...I'm still not able to start my service

So I looked around to find a solution..
There is who says it's an environment variable problem (I tried setting JRE_HOME in the .bashrc file but nothing changed), someone else that's a port problem...in the meantime I got a "collection" of exceptions launching it from eclipse and insults from the terminal..

I found this
Code:
$ rpm -qa | grep tomcat
tomcat6-jsp-2.1-api-6.0.35-5.fc18.noarch
tomcat-servlet-3.0-api-7.0.40-1.fc18.noarch
tomcat-lib-7.0.40-1.fc18.noarch
tomcat6-lib-6.0.35-5.fc18.noarch
tomcat6-el-2.1-api-6.0.35-5.fc18.noarch
tomcat-jsp-2.2-api-7.0.40-1.fc18.noarch
tomcat-el-2.2-api-7.0.40-1.fc18.noarch
tomcat6-servlet-2.5-api-6.0.35-5.fc18.noarch
but some of them are dependencies of kepler so I cannot remove it with yum.

If I knew where that pkgs are installed I could remove it by hand and but I don't...

I just would like to remove all pkgs that can generate conflict and proceed with a new, proper installation...
If it is possible I will install tomcat7 but no problem if it is tomcat6.

Does anybody can help me?
or better does anybody can explain me how it works in order to choose the tomcat I like and possibly install both???

Last edited by volbollo; 12th August 2013 at 10:05 PM.
Reply With Quote
  #2  
Old 11th August 2013, 07:26 PM
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,858
linuxchrome
Re: Uninstall TOTALLY tomcat

In my experience, I can tell you:

1) Never ever install Eclipse from Fedora repositories. Is much better to go to Eclipse site and download the tarrball or the .zip file, uncompress it where you want and use it. If you get the JavaEE file, Tomcat comes with it (I think), all i a folder and no external files or package dependencies. That is nice when you want to test another Eclipse version. You can use several Eclipse versions without problems.

2) If you are going to do a JavaEE application, I think Netbeans is way better and more intuitive. Consider use it.

3) I think if you can stay with Eclipse, save whatever you save in the workspace directory, remove all rpms with yum, download and unpack Eclipse, run it and point to the workspace directory.

4) If you don want to do any of 1-3, download Tomcat from apache site, unpack it (its one directory containing all). Try to add it as a server using Eclipse and the change the server in your project properties. I don't know if that is possible in the Fedora Eclipse package but you can try.

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #3  
Old 12th August 2013, 10:04 PM
volbollo Offline
Registered User
 
Join Date: Jul 2010
Posts: 18
linuxfirefox
Re: Uninstall TOTALLY tomcat

First of all thank for replying...

for Java SE applications I've never had problems with the eclipse repository version but,
I totally agree with you, it isn't the case for the Java EE version.

So I did the same as you, I removed eclipse with yum and I reinstalled kepler, this time the downloaded version.

I still had problem with tomcat (unfortunately it doesn't came with eclipse) even with a local installation in my home...I tried jboss to see if there was some improvement and this time I got no problem

Anyway I solved the problem this way:

I set every environment variables I needed both in the .bashrc and the /etc/profile file.

Now, by sense, I would have said it were enough setting them in /etc/profile...if I've well understood, that is
the proper file where to set permanent configuration instead of .bashrc that is related to session configurations......there is something wrong in my reasoning and I don't know what.

I hope somebody can explain me why the need of both configurations

For the time being, thank for your help
Reply With Quote
  #4  
Old 14th August 2013, 04:01 AM
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,858
linuxsafari
Re: Uninstall TOTALLY tomcat

/etc/profile is for all users

I think the best option to you is to use .bash_profile file located in your home directory. That will be the default setting for the user.

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #5  
Old 17th August 2013, 04:19 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,902
linuxfirefox
Re: Uninstall TOTALLY tomcat

Another advantage of Netbeans (version 7.3.1) is that it comes with Tomcat 7.0.34 and 7.0.41 already rolled into it and Glassfish Server (the Oracle one) and Jetty
Reply With Quote
  #6  
Old 28th August 2013, 08:35 PM
volbollo Offline
Registered User
 
Join Date: Jul 2010
Posts: 18
linuxfirefox
Re: Uninstall TOTALLY tomcat

Ok, I'll think about it in the near future...
In the meantime thanks everybody for tips and collaboration
Reply With Quote
Reply

Tags
tomcat, totally, uninstall

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat weird tomcat automount error rotts Servers & Networking 7 18th June 2008 02:21 PM
That was totally epic. forkbomb Linux Chat 7 10th January 2008 04:36 PM
Totally new to this. S3xyNaniGoat Servers & Networking 10 2nd April 2005 02:18 PM


Current GMT-time: 10:38 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat