You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by gr...@cox.net on 2005/11/03 15:23:27 UTC

"Access is denied" errors

After upgrading to Head (r33054), I started receiving this error:

E:\Forrest\apache-forrest-head\forrest\main\webapp\. (Access is denied)

Previously I was using a version from about a month ago.   Are there any diagnostic logs that could help be pinpoint the failure?



Re: Pinned Menus

Posted by Moshe Yudkowsky <ms...@bl.com>.
> We always try and keep a working trunk, most of the Forrest devs use it 
> in production. However, it has not been fully tested and there can be 
> some suprises in there.

Thank you.

I can actually do 99% of what I want by leaving the "tab=" attribute out 
of the menu entries in site.xml. When that happens, the tab is not 
highlighted, but the menu remains up and the entry in the menu is 
highlighted. See <http://PebbleAndAvalanche.com> to see this in action 
-- at least, until I change it.

Sample entry:

<endorse label="Endorsements" href="endorsements/">
    <personal label="Endorsements" href="endorsements.html"/>
</endorse>

Note the lack of "tab=" in the opening line.

When I come up with a better solution, if I do, I will post it.

Thanks,
  Moshe

Re: Pinned Menus

Posted by Ross Gardler <rg...@apache.org>.
Moshe Yudkowsky wrote:
> Thorsten Scherler wrote:

...

>> If you need further help on that please subscribe to the dev list and
>> ask over there again.
> 
> 
> Just one question on this list: how stable is 0.8? I'd be willing to try 
> 0.8 if I didn't have to fiddle with the themes I create every week, and 
> if the generated web site was reliable.

Views are *optional*. They are becoming much more stable, but are not 
yet a part of core, not even in the 0.8-dev work (although this is 
likely to change fairly soon).

We always try and keep a working trunk, most of the Forrest devs use it 
in production. However, it has not been fully tested and there can be 
some suprises in there.

Ross

Re: Pinned Menus

Posted by Moshe Yudkowsky <ms...@bl.com>.
Thorsten Scherler wrote:

> You are using 0.7, right? If you want to change the behavior of the menu
> I am afraid you have to create your own skin and change the menu bit
> (site2xhtml.xsl).

Yes, I'm using 0.7.

Thanks for the answer: 0.7 doesn't support what I'm asking for, so I can 
stop searching for a bit to change in the various config files.

I can modify site2xhtml.xls; in fact my site2xmhtml.xls is already 
customized, and it's left over from version 0.5. I took out all the 
"style" information that was in 0.5 and made my own skin that operated 
solely out of CSS. (I suspect the file to actually modify is 
book2menu.xls, but as usual with XSL the rule that needs to be modified 
isn't immediately apparent. At least to me...)

> In the current head that would be really easy with themes (next
> generation skinning). 

> If you need further help on that please subscribe to the dev list and
> ask over there again.

Just one question on this list: how stable is 0.8? I'd be willing to try 
0.8 if I didn't have to fiddle with the themes I create every week, and 
if the generated web site was reliable.

Thanks!

Regards,
  Moshe


Re: Pinned Menus

Posted by Thorsten Scherler <th...@apache.org>.
El jue, 03-11-2005 a las 18:39 -0600, Moshe Yudkowsky escribió:
> I've looked through the documentation, and the FAQs, and Google... I'd 
> like to uses tabs.xml and site.xml to create a menu sidebar that's 
> persistent -- that is, even if I go to a subdirectory, the menu does not 
> lose higher-level items. The goal is to maintain the same overall view 
> of the site on all pages.
> 
> <http://www.PebbleAndAvalanche.com> the site I'm currently working on. 
> The tabs work as expected, and so does the menu; if I select an item I 
> get the correct highlights in the tab and the menu. However, the menu 
> changes depending on where I am in the directory hierarchy, and I'd like 
> to know if it's possible to avoid changning menus.
> 

You are using 0.7, right? If you want to change the behavior of the menu
I am afraid you have to create your own skin and change the menu bit
(site2xhtml.xsl).

In the current head that would be really easy with themes (next
generation skinning). 

If you need further help on that please subscribe to the dev list and
ask over there again.

Thanks

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Pinned Menus

Posted by Moshe Yudkowsky <ms...@bl.com>.
I've looked through the documentation, and the FAQs, and Google... I'd 
like to uses tabs.xml and site.xml to create a menu sidebar that's 
persistent -- that is, even if I go to a subdirectory, the menu does not 
lose higher-level items. The goal is to maintain the same overall view 
of the site on all pages.

<http://www.PebbleAndAvalanche.com> the site I'm currently working on. 
The tabs work as expected, and so does the menu; if I select an item I 
get the correct highlights in the tab and the menu. However, the menu 
changes depending on where I am in the directory hierarchy, and I'd like 
to know if it's possible to avoid changning menus.


Re: "Access is denied" errors

Posted by Thorsten Scherler <th...@apache.org>.
El jue, 03-11-2005 a las 09:23 -0500, greg.vaco@cox.net escribió:
> After upgrading to Head (r33054), I started receiving this error:
> 
> E:\Forrest\apache-forrest-head\forrest\main\webapp\. (Access is denied)
> 
> Previously I was using a version from about a month ago.   Are there any diagnostic logs that could help be pinpoint the failure?
> 
> 

Very weird error. Do you have access with your user to the above dir?

The log is in:
$projectRoot/build/webapp/WEB-INF/logs/*.log

On linux you would do something like:
tail -f build/webapp/WEB-INF/logs/*.log

HTH
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: "Access is denied" errors

Posted by Ross Gardler <rg...@apache.org>.
greg.vaco@cox.net wrote:
> After upgrading to Head (r33054), I started receiving this error:

IF you are using Head, please ask these questions on the dev list. Head 
is under constant development and we don't want to scare off users using 
the stable 0.7 release. Thanks.

To get you started (please respond with a new message on the dev list):

> 
> E:\Forrest\apache-forrest-head\forrest\main\webapp\. (Access is denied)
> 
> Previously I was using a version from about a month ago.   Are there any diagnostic logs that could help be pinpoint the failure?

This looks like a problem with the locationmap.

First, can you verify that things work if you do:

mkdir test
cd test
forrest seed
forrest site


Ross