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 13:30:22 GMT
Using META-INF/context.xml, I don't think you can define other application.
I might be wrong though but I seriously doubt if you can define other
applications from another applications context.xml file.

-----Original Message-----
From: gdilem@libero.it [mailto:gdilem@libero.it] 
Sent: 28 September 2005 13:53
To: tomcat-user
Subject: RE: pointing to a folder outside tomcat webapps

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" like_donuts@yahoo.co.uk
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: 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
> 


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


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

---------------------------------------------------------------------
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