You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Atishay Kumar <at...@gmail.com> on 2004/09/09 12:59:01 UTC

put applications in other than webapps and webapps simultaneously

hello,
  I am using tomcat 4.1.27 on a linux machine. by default we keep our
applications in webapps folder of tomcat home directory(say
tomcat-4.1.27/webapps). i want to keep my applications in some other
directory also alongwith webapps(say /home/web/application).

Now what editing in configuration files i need to do so that tomcat loads
application files from /home/web/application also along with webapps
directory.

i tried google search and also searched the mailing list but could not
find something helpful.

thanks
-- 
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
/****************************************************************************
 * Learn the rules as you would need them to break them properly *
 ****************************************************************************/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: put applications in other than webapps and webapps simultaneously

Posted by Arun Prasad R <fi...@gmail.com>.
hi

you have edit CATALINA_HOME/conf/server.xml

in that

<Context path="/YOUR_CONTEXT_PATH" docBase="APPLICATION_DIRECTORY"
debug="0" privileged="true">
</Context>
eg
<Context path="/mypath" docBase="/home/web/application" debug="0"
privileged="true">
</Context>

arun


On Thu, 9 Sep 2004 16:29:01 +0530, Atishay Kumar
<at...@gmail.com> wrote:
> hello,
>   I am using tomcat 4.1.27 on a linux machine. by default we keep our
> applications in webapps folder of tomcat home directory(say
> tomcat-4.1.27/webapps). i want to keep my applications in some other
> directory also alongwith webapps(say /home/web/application).
> 
> Now what editing in configuration files i need to do so that tomcat loads
> application files from /home/web/application also along with webapps
> directory.
> 
> i tried google search and also searched the mailing list but could not
> find something helpful.
> 
> thanks
> --
> :)
> Atishay Kumar
> Btech, SEM VII
> DA-IICT
> Gandhinagar - 382009
> India
> ph: +91 9825383948
> /****************************************************************************
>  * Learn the rules as you would need them to break them properly *
>  ****************************************************************************/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org