The TCFSearchPath variable is always relative to the webroot of the taf you
are running. Unless there is a way to change that. So there should be no
need for <@webroot>. I changed my setting to:

TCFSEARCHPATH=<@appfilepath>;<@classfilepath>;/Tango2000/tcf/;/tcfs/;/appfil
es/tcfs/;

All paths that start with "/" are relative to the webroot. If I want to
instantiate an object instance and the tcf is in a different place, just add
this before you create the instance:

<@assign local$TCFSEARCHPATH "/ThePath/ToYourTCF/">

And for this one instance, tango will look in this path.

Hope this helps.

-- 

Robert Garcia
BigHead Technology
21053 Devonshire Suite 206
Chatsworth, Ca  91311
Phone 818.773.8162
Fax 818.773.8164
http://www.bighead.net/
[EMAIL PROTECTED]


> From: Jason Pamental <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 20 May 2002 22:46:23 -0400
> To: Multiple recipients of list witango-talk <[EMAIL PROTECTED]>
> Subject: Re: Witango-Talk:  Tcfsearchpath
> 
> Hmmm.... Objects.ini, eh? Examples, tips anyone?
> 
> I've tried a few settings in the t4server.ini file, but it does seem to add
> the @webroot no matter what. According to Phil and Andre what i've added
> (the absolute path) is supposed to work, but so far... Not so much.
> 
> Thanks Scott!
> 
> J
> 
> On 5/20/02 9:10 PM, "Scott Cadillac" <[EMAIL PROTECTED]>
> wrote:
> 
>> Hi Jason,
>> 
>> What does your TCFSEARCHPATH= line look like exactly in your t4server.ini
>> file?
>> 
>> Although it doesn't appear to actually say it in the documentation, the
>> TCFSEARCHPATH= does seam to prefix all the paths in this setting with the
>> value of <@WEBROOT> of the TAF that is calling the TCF - regardless of what
>> you enter.
>> 
>> I guess you are probably working with multiple site directories, but are
>> trying to get them to share the same TCFs? This could be challenging - short
>> of making multiple copies of your TCFs.
>> 
>> You could try entering multiple directory entries in the TCFSEARCHPATH=
>> setting, but this could impact performance to some degree because each
>> directory is searched in order until it finds the specified TCF.
>> 
>> Also, I've never used it - but maybe this where that objects.ini file comes
>> in handy??
>> 
>> For me, my solution for multiple sites was to use only one set of TAFs and
>> TCFs (and includes) in one directory and map all the Domains to them and of
>> course use Dynamic Datasource variables. In the end it makes my file
>> management much easier.
>> 
>> Hope I've given you some insight?? Good luck....
>> 
>> 
>> Scott Cadillac
>> http://xml-extra.net
>> [EMAIL PROTECTED]
>> 
>> VP, Research and Development
>> Plus International Corp.
>> 604-460-1843
>> [EMAIL PROTECTED]
>> http://www.plusinternational.com
>> 
>> Vancouver, BC, Canada
>> 
>> Does your company have an Enterprise Information Portal? Check out Salsa at
>> www.plusinternational.com/flash/salsa.htm
>> 
>> ----- Original Message -----
>> From: "Jason Pamental" <[EMAIL PROTECTED]>
>> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
>> Sent: Monday, May 20, 2002 11:33 AM
>> Subject: Witango-Talk: Tcfsearchpath
>> 
>> 
>>> Ok - been trying to sort this one out...
>>> 
>>> I have a directory of classfiles that I would like to make available to
>>> multiple sites...
>>> 
>>> t2k/win2k/iis
>>> 
>>> I've created a virtual directory in each site, and have added
>> '/classpaths/'
>>> to the 'tcfsearchpath' line in the ini file, but it seems that while the
>>> server resolves things by relative path correctly, it actually looks for
>> the
>>> file with an absolute path (d:\inetpub\wwwroot\site1\classfiles) - so the
>>> virtual directory is ignored.
>>> 
>>> Anyone have luck with this? What am I missing?
>>> 
>>> I've tried to add the actual directory path to the ini file as well
>>> (d:\inetpub\classfiles) but then it appends to the web directory the whole
>>> string (d:\inetpub\wwwroot\site1\d:\inetpub\classfiles)
>>> 
>>> Grrr.
>>> 
>>> Jason
>>> 
>>> --
>>> ____________________________________________________________________
>>> 
>>> Jason Pamental, President                   [EMAIL PROTECTED]
>>> 
>>> Bathysphere Digital Media Services, Inc.   http://bathyspheredms.com
>>> ____________________________________________________________________
>>> 
>>> Tel: 401.490.6830      Fax: 401.490.6831
>>> ________________________________________
>>> 
>>> ________________________________________________________________________
>>> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>>                 with unsubscribe witango-talk in the message body
>>> 
>> 
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>               with unsubscribe witango-talk in the message body
> 
> -- 
> ____________________________________________________________________
> 
> Jason Pamental, President                   [EMAIL PROTECTED]
> 
> Bathysphere Digital Media Services, Inc.   http://bathyspheredms.com
> ____________________________________________________________________
> 
> Tel: 401.490.6830      Fax: 401.490.6831
> ________________________________________
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>               with unsubscribe witango-talk in the message body
> 

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to