Thanks again ! But I access to a blank page, without Exception raised...
----- Original Message ----- From: "Stephan Michels" <[EMAIL PROTECTED]> To: "cocoon-users" <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 4:14 PM Subject: Re: Using Slide with Cocoon 2 > > > On Thu, 31 Oct 2002, Olivier Billard wrote: > > > Many thanks for your response !! > > > > Here is my Exception : > > [ > > The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode > > notifies that java.lang.NullPointerException says: > > More precisely: > > java.lang.NullPointerException > > ] > > > > And the stack trace : > > > > [ > > java.lang.NullPointerException stacktrace > > java.lang.NullPointerException > > at org.apache.cocoon.xml.dom.DOMBuilder.getDocument(DOMBuilder.java:178) > > at org.apache.cocoon.components.source.SourceUtil.toDOM(SourceUtil.java:172) > > at > > org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au > > thenticate(AuthenticationManager.java:458) > > at > > org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction. > > java:130) > > at > > > Hmm, try to remove the attribute 'internal-only="true"' and > retrieve the page > /cocoon/samples/slide/authenticate?password=root&name=root > > It seems that you have a problem to get a the document > for authentication. > > Stephan. > > > > > ----- Original Message ----- > > From: "Stephan Michels" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>; "Olivier Billard" <[EMAIL PROTECTED]> > > Sent: Thursday, October 31, 2002 3:23 PM > > Subject: Re: Using Slide with Cocoon 2 > > > > > > > > > > On Thu, 31 Oct 2002, Olivier Billard wrote: > > > > > > > Hi all ! > > > > Hi Stephan ! > > > > > > > > I didn't manage to do the correction against the login error : > > > > I modified the sitemap.xmap in samples/slide, changing line 159 from > > > > <map:parameter name="destination" value="{request:resource}"/> > > > > to > > > > <map:parameter name="destination" > > value="{request-param:resource}"/> > > > > > > Hmm, this one have I missed, thanks. > > > > > > > I guess that is what you said to do on your precedent mail. > > > > But I still have the same exception... Is there any other file to change > > ? > > > > > > Which exception? > > > > > > > You don't seemed to commit your changes on CVS, or I may be wrong... > > > > > > Yes, the current revision of > > > xml-cocoon2/src/scratchpad/webapp/samples/slide/sitemap.xmap > > > is 1.18. > > > > > > > Did you rely on SlideRealm or with the default Tomcat user managment ? > > > > > > No, but I is also possible to use the SlideRealm to authentificate. > > > > > > Many thanks for testing, Stephan. > > > > > > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>