Hi all, Recently I have been trying to install and configure an OGSA server (www.globus.org) deployed over a Tomcat container. The problem I have is that it requires a lot of Tomcat customization: additional connectors in the server.conf, additional jars in the common/lib, common/endorsed and server/lib directories, conf/web.xml modifications, and so.
In order to keep track of these changes, I decided to use a shared Tomcat installation, and do all the dirty business in a separated Tomcat instance, pointing CATALINA_BASE to it. Doing this I noticed that there was no place for putting my common/lib and server/lib jars. Digging in the source code, I found that CATALINA_BASE is not used at all when building the common and catalina class loaders. I think such a feature would be interesting not only for me, but for anyone who wants (or needs) to use custom valves, realms, etc, and so I have attached a patch to make it possible. The patch makes Tomcat to detect if catalina.base is defined to a value different from catalina.home, and if so, it adds the same directories to the class paths of the internal classloaders. Using this patch, I can create a common/lib and a server/lib on my separated Tomcat instance, and they are added to the correct classpath on startup. This is my first patch for Tomcat, so any comments or suggestions will be welcome :-) ---------------------------------------------------------------------------- ---- GRIDSYSTEMS Rodrigo Ruiz Aguayo Parc Bit - Son Espanyol R & D 07120 Palma de Mallorca [EMAIL PROTECTED] Baleares - Espa�a Tel:+34-971435085 www.gridsystems.com Fax:+34-971435082
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
