You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Scott Haug <sc...@corp.avogadro.com> on 2001/02/13 04:27:53 UTC

adding webappsDir attribute to ContextManager?

I'm brand new to this list, so forgive me if this has been dealt with
before.  I've searched the archives, and although this has been brought up
before ( http://mikal.org/interests/java/tomcat/archive/view?mesg=1003
<http://mikal.org/interests/java/tomcat/archive/view?mesg=1003> ), I don't
think it has been resolved.
 
I wanted to know the interest in adding an additional attribute to
ContextManager in server.xml to specify a webapps directory, in much the
same way that the work directory can be specified.  This would override the
default directory "${tomcat.home}/webapps" that would otherwise be assumed.
This would help significantly in my project.  I know it to be a feature in
at least one other servlet engines (the "war-dir" element in resin).
 
I am happy to do the work and submit a patch, but I wanted to guage the
receptiveness of the tomcat developer community to such a feature before
putting in the effort.  If no one has significant objections, I'll try to
get this done in the next day or so.  But if there is a better/more
canonical way to do this, I'd be happy to hear it.
 
I am using tomcat 3.2.  I haven't done any research to know if this is a
feature in tomcat 4.0.
 
Many thanks,
 
-Scott

Re: adding webappsDir attribute to ContextManager?

Posted by cm...@yahoo.com.
Hi Scott,

> I wanted to know the interest in adding an additional attribute to
> ContextManager in server.xml to specify a webapps directory, in much the
> same way that the work directory can be specified.  This would override the

For 3.3 - it's already customizable ( you can even specify multiple
directories ). It's not using the ContextManager attribute, but something
similar ( the auto-deploy is part of a module, you can specify the
directory as an attribute and you can include multiple instances )

For 3.2.2 - I don't think it's difficult to make it work, and I know the
plan is to keep it focused on bug fixes.

Costin