Iam not sure whether this wil help u or not. But this is some thing I know and want to share it.
If you want to have more than one contets (i.e run more than one web application from a single tomcat) u can create xml files for each contect and put them in <tomcatHome>/conf/ folder. Say if u have two contexts called WebApp1 and WebApp2, then u can create WebApp1.xml and WebApp2.xml and put them in /conf folder. These xml files will contain the <context> tags that we traditionally used to put in server.xml file hope this helps u some way Regards Srikanth Peddireddy On 9/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > my problem is that i do not want put anything of my application inside tomcat > configuration files... > Exists context.xml in META-INF that is specific for an application but I can > define there just one context. > I need more than one context. > Hot to do it? > > > ---------- Initial Header ----------- > > From : "Arup Vidyerthy" [EMAIL PROTECTED] > To : "Tomcat Users List" tomcat-user@jakarta.apache.org > Cc : > Date : Wed, 28 Sep 2005 11:27:25 +0100 > Subject : RE: pointing to a folder outside tomcat webapps > > > > > > > > > OK, > > > > You place the context.xml inside $tomcat_home/conf. Contents of that file is > > something like this: > > > > <!-- The contents of this file will be loaded for each web application --> > > <Context allowLinking="true"> > > <!-- Default set of monitored resources --> > > <WatchedResource>WEB-INF/web.xml</WatchedResource> > > <!-- Uncomment this to disable session persistence across Tomcat restarts > > --> > > <!--<Manager pathname="" />--> > > </Context> > > > > The allowLinking attribute defined this way allows all our application use > > symbolic links. > > > > Hope this helps. > > > > Arup > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 28 September 2005 11:22 > > To: tomcat-user > > Subject: RE: pointing to a folder outside tomcat webapps > > > > could u be more explicit please? > > I cannot understanding u > > ---------- Initial Header ----------- > > > > From : "Arup Vidyerthy" [EMAIL PROTECTED] > > To : "Tomcat Users List" tomcat-user@jakarta.apache.org > > Cc : > > Date : Wed, 28 Sep 2005 11:16:28 +0100 > > Subject : RE: pointing to a folder outside tomcat webapps > > > > > > > > > > > > > > > > > You can just place the a empty context xml in your $tomcat_home/conf > > > directory. That's what we do and it works across all contexts... > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 28 September > > > 2005 10:55 > > > To: tomcat-user > > > Subject: RE: pointing to a folder outside tomcat webapps > > > > > > I kwnow that. > > > I want to use the file META-INF/context.xml inside the application for > > > pointing to another resource. > > > I do not want use server.xml! > > > > > > ---------- Initial Header ----------- > > > > > > From : "Arup Vidyerthy" [EMAIL PROTECTED] > > > To : "Tomcat Users List" tomcat-user@jakarta.apache.org > > > Cc : > > > Date : Wed, 28 Sep 2005 10:47:25 +0100 > Subject : RE: pointing to a > > folder outside tomcat webapps > > > > > > > > > > > > > > > > > > > > Look up allowLinking = true in google. > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > Sent: 28 September 2005 10:42 > > > > To: tomcat-user > > > > Subject: pointing to a folder outside tomcat webapps > > > > > > > > I'd like pointing a foder outside webapps tomcat folder. > > > > I know that with > > > > <Context path="/myPath" docBase="c://myFolder" reloadable="true"/> > > > > in > > server.xml i can do it. > I'd like to use that tag in > > META-INF/context.xml....without using server.xml. > > > > But It allows just one context tag on context.xml. > > > > So any idea? > > > > Regards > > > > > > > > > > > > -------------------------------------------------------------------- > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > > voicemail http://uk.messenger.yahoo.com > > > > > > > > -------------------------------------------------------------------- > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > voicemail http://uk.messenger.yahoo.com > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]