tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arup Vidyerthy" <like_don...@yahoo.co.uk>
Subject RE: pointing to a folder outside tomcat webapps
Date Wed, 28 Sep 2005 10:27:25 GMT
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: gdilem@libero.it [mailto:gdilem@libero.it] 
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" like_donuts@yahoo.co.uk
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: gdilem@libero.it [mailto:gdilem@libero.it]  > 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" like_donuts@yahoo.co.uk
> 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: gdilem@libero.it [mailto:gdilem@libero.it]
> > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 	
> > 	
> > 		
> > ___________________________________________________________
> > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with 
> > voicemail http://uk.messenger.yahoo.com
> > 
> > --------------------------------------------------------------------
> > - 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
> 
> 
> 	
> 	
> 		
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with 
> voicemail http://uk.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> 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

Mime
View raw message