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

RE: [cobalt-developers] REPOST: How to modify configuration files ??



At 13.32 12/08/2002 +0200, you wrote:
Hi Michele:

I'm using cobalt version of tomcat. Could you explain me ways to do it in
both situations?

Thank you very much.

Ok. Any advice I give is not guaranteed to work.
You can add generic mount-points for mod_jk directly in the httpd.conf
Either globally (outside any virtual sites) or on a site per site basis. Trying to make changes to the mod_jk configuration files in the Tomcat directory won't work, as the Cobalt setup automatically overwrites them - which is a real pain. You might also want to look at a hack somebody posted to turn Java off by default on all virtual sites. With the Cobalt version of Tomcat you get a security manager loading into memory for every virtual site on the box, so Apache takes forever to restart. You also get quite a few error messages about 'webapps' as the directory was renamed to webapps.inactive (why?) Changing server.xml within the Cobalt setup is probably next to impossible,as it is automatically generated. The file server.xml.master might allow you to make modifications. I know I was able to do it, but it took me a long time to find the right combination.


Using a standard Tomcat installation is a lot better. There are a number of advanced features available to developers and administrators. If you search the archive you'll find that I had a lot of 'fun' setting it up on a RAQ4. If you want to set it up use the mod_jk.so that comes with the Cobalt version. If you haven't got it, most of us have a copy lying around somewhere. DO NOT try using mod_webapp Apart from the fact that it is still very beta it refuses to install on a lot of RAQs. I know that some people have managed to install it on a RAQ4i, though I don't understand how they managed to. If you need to set it up have a look at :http://www.galatea.com/flashguides/index There are a couple of things to watch out for if you have already used the Cobalt install.
mod_jk  - the Cobalt version uses ajp12  - Tomcat 4 uses ajp13
web.xml - the Cobalt version uses an old DTD and will not allow even simple 'hello world' jsp's to work properly


I hope some of that helps. If I've made any factual mistakes I apologise, but as I've 'hacked' my RAQ quite a lot over the last few months a lot of things work for me in a different way.



Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/