[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] remove Tomcat Server from Raq4



At 04:30 PM 7/3/02 -0700, you wrote:

I installed Tomcat by signing up through the developer network on Sun and
installing from PKG file.  I now have a server that grinds to a halt once a
week.  The only way round it is to kill all the Java processes and restart
HTTP.

I am hoping that a reinstall - not with a PKG - will help this as I should
be able to enable it on a site by site basis.

Hope this is enough info as I really want to get round this.

Hi Andy,

You will *NOT* be able to just install over top. There are too many differences in file locations and the configs that point to them. Trust me, it will be much easier if you remove the pkg content first, then install from RPM.

There were a few lines introduced into your /etc/httpd/conf/httpd.conf file that kick the Tomcat engine off. Sorry, I'm trying all this from memory! You will have to comment out the lines: LoadModule and AddModule for the jk module. Go through the list of modules, look for jk and comment them out. Then, I think I searched for "jak" or "Jak" in the file. If you see this in a section outside of a <virtualhost> tag, comment out this section and determine where it makes the Tomcat engine calls to (Otherwise see below). Locate a base directory for the package. It was not spread-out all over the place. There was a simple, base directory to remove and that was that. FOR SAFETY SAKE, PLEASE MV THE DIR FIRST!

The version that I had installed did not alter the virtual hosts in the Apache /etc/httpd/conf/httpd.conf file. If your version has then you will have to restore all lines in each virtual host referring to the root dir of each host and comment out some other stuff there as well.

Do yourself a few BIG favors in re-installing:

a) make sure to set your base directory in /home !!!
b) RTFM
c) subscribe to the Tomcat Users list

It is a difficult package to install and even more difficult to tweak!

If you need some more help. Let me know! I have some docs I could send you for installation/config, but we should do that off-list. Please feel free to contact me off-list.

Thanks,
Glenn Parsons