[rt-users] Mason Cannot resolve file to component

Behzad Mahini mahini at apple.com
Fri Nov 6 13:53:41 EST 2009


On Nov 6, 2009, at 10:50 AM, Jesse Vincent wrote:

>
>
>
> On Fri  6.Nov'09 at 10:44:31 -0800, Behzad Mahini wrote:
>> Just in case others will run into this issue, I have a workaround
>> solution.......After digging I realized this was an issue in how  
>> Mason
>> is being called by RT (i.e., RT's source code  "webmux.pl", as for
>> some odd reason Mason's Handler for my Prod. server is not getting
>> set  -- related line in webmux.pl is => $Handler =
>> RT::Interface::Web::Handler->new(RT->Config->Get('MasonParameters'));
>
> Out of curiosity, are the disk layouts on the two servers the same?  
> (Was
> one server set up with a symlink where the other had a real  
> directory?)

Disk layouts were similar, and no symlink was used.
-Behzad
>
>>
>>
>> The (temporary) workaround to address this issue for me, was to add
>> the following lines to my RT_SiteConfig.pm:
>>
>> Set($MasonComponentRoot, "/path_2_your_RT/share/html");
>> Set($MasonLocalComponentRoot, "/path_2_your_RT/local");
>> Set($MasonDataDir, "/path_2_your_RT/var/mason_data");
>> Set($MasonSessionDir, "/path_2_your_RT/var/session_data");
>>
>>
>> I believe this is a potential bug, as my RT_Config.pm &
>> RT_SIteConfig.pm for the 2 servers (prior to inclusion of the above 4
>> lines in my Prod. server) were exactly similar .
>>
>> -Behzad
>>




More information about the rt-users mailing list