You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Christian Kreutz <sc...@gmx.de> on 2003/06/13 11:20:21 UTC

Policies

Hello List,

I have Lenya on our server but unfortunately 
I still don't know how to access
the pages from the Internet.
I always get the status failed even
though I used the right password.
I checked the public.acml and
the policies-sitemap.xmap but I 
can't get it to work.
My Pub is directed 
by a proxy directly to the pubs/my-pub
directory. 
Now I want to get rid of the login for
public and the authoring to work with
a sample identity.

Thanks for help.

Greetings
Christian

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


AW: Policies

Posted by Christian Kreutz <sc...@gmx.de>.

> -----Ursprungliche Nachricht-----
> Von: Michael Wechner [mailto:michael.wechner@wyona.org]
> Gesendet: Freitag, 13. Juni 2003 15:08
> An: Lenya Users List
> Betreff: Re: Policies
>
>
> Christian Kreutz wrote:
> > Hello List,
> >
> > I have Lenya on our server but unfortunately
> > I still don't know how to access
> > the pages from the Internet.
> > I always get the status failed even
> > though I used the right password.
> > I checked the public.acml and
> > the policies-sitemap.xmap but I
> > can't get it to work.
> > My Pub is directed
> > by a proxy directly to the pubs/my-pub
> > directory.
>
> Do you mean http://foobar.com --> http://foobar.com:8080/lenya/my-pub/
>
> ?
>
> > Now I want to get rid of the login for
> > public and the authoring to work with
> > a sample identity.
>
> Take a look at the log files: webapps/lenya/WEB-INF/logs/*
>
> the authorizer should tell you what policiy is being taken and if it
> returns true or false.
>


I have the following Error in Sitemap.log and Access.log.
And I still don't know what to change?
Greetings
Christian


ERROR   (2003-06-13) 17:48.31:238   [sitemap.action.pml-authorizer]
(/lenya/computerworld/authoring/)
HttpProcessor[8080][1]/PMLAuthorizerAction: .authorize(): No policy could be
retrieved (java.io.FileNotFoundException:
http://127.0.0.1:80/lenya/computerworld/policies/authoring/.acml). Access
denied (return false).
ERROR   (2003-06-13) 17:48.41:515   [sitemap.action.iml-authenticator]
(/lenya/computerworld/do-login)
HttpProcessor[8080][1]/IMLAuthenticatorAction: .authenticate():
java.io.FileNotFoundException:
http://127.0.0.1:80/lenya/computerworld/passwd/lenya.iml
ERROR   (2003-06-13) 17:48.41:515   [sitemap.action.iml-authenticator]
(/lenya/computerworld/do-login)
HttpProcessor[8080][1]/AbstractAuthenticatorAction: Authentication failed
ERROR   (2003-06-13) 17:48.53:648   [sitemap.action.pml-authorizer]
(/lenya/computerworld/index.html)
HttpProcessor[8080][1]/PMLAuthorizerAction: .authorize(): No policy could be
retrieved (java.io.FileNotFoundException:
http://127.0.0.1:80/lenya/computerworld/policies/index.html.acml). Access
denied (return false).
ERROR   (2003-06-13) 17:49.00:466   [sitemap.action.iml-authenticator]
(/lenya/computerworld/do-login)
HttpProcessor[8080][1]/IMLAuthenticatorAction: .authenticate():
java.io.FileNotFoundException:
http://127.0.0.1:80/lenya/computerworld/passwd/lenya.iml
ERROR   (2003-06-13) 17:49.00:467   [sitemap.action.iml-authenticator]
(/lenya/computerworld/do-login)
HttpProcessor[8080][1]/AbstractAuthenticatorAction: Authentication failed



ACCESS.LOG

ERROR   (2003-06-13) 17:48.20:613   [access] (/lenya/)
HttpProcessor[8080][1]/CocoonServlet: Internal Cocoon Problem
java.io.IOException: The stream has been closed
	at
org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:238)
	at
org.apache.cocoon.environment.AbstractEnvironment.commitResponse(AbstractEnv
ironment.java:486)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:651)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1139)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1040)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151
)
	at java.lang.Thread.run(Thread.java:534)
ERROR   (2003-06-13) 17:48.20:636   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Cocoon got an Exception while trying to close
stream.
java.io.IOException: The stream has been closed
	at
org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:238)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1217)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1040)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151
)
	at java.lang.Thread.run(Thread.java:534)

> HTH
>
> Michael
>
>
> >
> > Thanks for help.
> >
> > Greetings
> > Christian
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >
> >
>
>
> --
> Michael Wechner
> Wyona Ltd.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com              http://cocoon.apache.org/lenya/
> michael.wechner@wyona.com                        michi@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>


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


Re: Policies

Posted by Michael Wechner <mi...@wyona.org>.
Christian Kreutz wrote:
> Hello List,
> 
> I have Lenya on our server but unfortunately 
> I still don't know how to access
> the pages from the Internet.
> I always get the status failed even
> though I used the right password.
> I checked the public.acml and
> the policies-sitemap.xmap but I 
> can't get it to work.
> My Pub is directed 
> by a proxy directly to the pubs/my-pub
> directory. 

Do you mean http://foobar.com --> http://foobar.com:8080/lenya/my-pub/

?

> Now I want to get rid of the login for
> public and the authoring to work with
> a sample identity.

Take a look at the log files: webapps/lenya/WEB-INF/logs/*

the authorizer should tell you what policiy is being taken and if it 
returns true or false.

HTH

Michael


> 
> Thanks for help.
> 
> Greetings
> Christian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


-- 
Michael Wechner
Wyona Ltd.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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