Hubertus Groepper wrote:

Hi Andreas,

Andreas Hartmann schrieb:

Hi Hubertus,

Hubertus Groepper schrieb:

[...]

Sorry, I actually can't access any of the admin options (Groups, IP
Ranges, Sessions,...), the error's the same.


there was a typo in the usecase-policies.xml, I fixed it.

You should now be able to access the "Usecases" tab in
the admin area. There you can set the permissions for the
other administration tasks.


Sorry, after svn up, build clean-all etc. I still can't access these pages, error's the same (The user 'lenya' is not authorized to access the page '/blog/authoring/feeds/all/index.html).

Should I file a bug for this?


I think so. After a build clean-all I receive the following error:

Message: The site configuration [lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!

Description: org.apache.cocoon.sitemap.PatternException: Cannot get variable 'document-url' in expression '{page-envelope:document-url}'

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

blog/authoring/feeds/all/index.html

cause

java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!

request-uri

/blog/authoring/feeds/all/index.html

full exception chain stacktrace

org.apache.cocoon.sitemap.PatternException: Cannot get variable 'document-url' 
in expression '{page-envelope:document-url}'
        at 
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:280)
        at 
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:209)
        at 
org.apache.cocoon.components.treeprocessor.variables.VariableResolver.buildParameters(VariableResolver.java:107)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.TransformNode.invoke(TransformNode.java:60)
        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:89)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:182)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:135)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler(ErrorHandlerHelper.java:108)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:100)
        at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at 
org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Getting attribute for name [document-url] failed: at org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule.getAttribute(PageEnvelopeModule.java:135)
        at 
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:272)
        ... 29 more
Caused by: java.lang.RuntimeException: org.apache.lenya.cms.site.SiteException: 
org.apache.lenya.cms.publication.DocumentBuildException: 
java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at 
org.apache.lenya.cms.publication.PageEnvelope.getDocument(PageEnvelope.java:294)
        at 
org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule.getAttribute(PageEnvelopeModule.java:89)
        ... 30 more
Caused by: org.apache.lenya.cms.site.SiteException: 
org.apache.lenya.cms.publication.DocumentBuildException: 
java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at org.apache.lenya.cms.site.SiteUtil.isDocument(SiteUtil.java:343)
        at 
org.apache.lenya.cms.publication.PageEnvelope.getDocument(PageEnvelope.java:290)
        ... 31 more
Caused by: org.apache.lenya.cms.publication.DocumentBuildException: 
java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at 
org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
        at $Proxy20.isDocument(Unknown Source)
        at org.apache.lenya.cms.site.SiteUtil.isDocument(SiteUtil.java:334)
        ... 32 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at org.apache.lenya.cms.publication.AreaImpl.getSite(AreaImpl.java:89)
        at 
org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:117)
        ... 39 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: The site 
configuration [lenya://lenya/pubs/blog/content/authoring/site.xml] does not 
exist!
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getCollectionUuid(SimpleSiteManager.java:126)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getKey(SimpleSiteManager.java:138)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getStore(SimpleSiteManager.java:99)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getSiteStructure(SimpleSiteManager.java:219)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
        at $Proxy35.getSiteStructure(Unknown Source)
        at org.apache.lenya.cms.publication.AreaImpl.getSite(AreaImpl.java:87)
        ... 40 more
Caused by: java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getCollectionUuid(SimpleSiteManager.java:116)
        ... 50 more

stacktrace

java.lang.RuntimeException: The site configuration 
[lenya://lenya/pubs/blog/content/authoring/site.xml] does not exist!
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getCollectionUuid(SimpleSiteManager.java:116)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getKey(SimpleSiteManager.java:138)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getStore(SimpleSiteManager.java:99)
        at 
org.apache.lenya.cms.site.simple.SimpleSiteManager.getSiteStructure(SimpleSiteManager.java:219)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
        at $Proxy35.getSiteStructure(Unknown Source)
        at org.apache.lenya.cms.publication.AreaImpl.getSite(AreaImpl.java:87)
        at 
org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
        at $Proxy20.isDocument(Unknown Source)
        at org.apache.lenya.cms.site.SiteUtil.isDocument(SiteUtil.java:334)
        at 
org.apache.lenya.cms.publication.PageEnvelope.getDocument(PageEnvelope.java:290)
        at 
org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule.getAttribute(PageEnvelopeModule.java:89)
        at 
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:272)
        at 
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:209)
        at 
org.apache.cocoon.components.treeprocessor.variables.VariableResolver.buildParameters(VariableResolver.java:107)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.TransformNode.invoke(TransformNode.java:60)
        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:89)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:182)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler(ErrorHandlerHelper.java:135)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler(ErrorHandlerHelper.java:108)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:100)
        at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
        at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at 
org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


cheers

Michi



hubertus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to