I cannot help you but when I use a pipeline like your <map:match pattern="auth.xml" > and want to aggreagte its output by a map:aggregate and map:part src="cocoon://auth.xml", I get an infinite loop. Maybe issues are linked... Anyway I have unfortunately other projects for now...
Babs ----- Original Message ----- From: "Johann Romefort" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 18, 2002 4:41 PM Subject: problem with session transformer together with cocoon:/ pseudo protocol > Hi, > > I m getting some troubles working with cocoon:/ pseudo protocol and > the session Transformer. > > Basically I have one pipeline that call another using the cocoon:/ protocal. > In this second pipeline I perform a session transformation to get back > the profile of the current user with the tag: > > <session:getxml context="authentication" path="/authentication/data"/> > > Here is a snapeshot of the simplified buggy sitemap: > > <map:match pattern="**.xml"> > <map:act type="auth-protect"> > <map:parameter name="handler" value="demohandler"/> > > <map:match pattern="*-list-form.xml"> > <map:generate src="cocoon:/auth.xml"/> > <map:serialize type="html"/> > </map:match> > > <map:match pattern="auth.xml" > > <map:generate src="sunrise/user-resource.xml"/> > <map:transform type="session" /> > <map:serialize type="xml"/> > </map:match> > > </map:act> > </map:match> > > Caused by: java.lang.NullPointerException > at > org.apache.cocoon.webapps.authentication.context.SessionContextImpl.(Session > ContextImpl.java:111) > at > org.apache.cocoon.webapps.authentication.context.SessionContextProviderImpl. > getSessionContext(SessionContextProviderImpl.java:97) > at > org.apache.cocoon.webapps.session.components.SessionManager.getReservedConte > xt(SessionManager.java:315) > at > org.apache.cocoon.webapps.session.components.SessionManager.getContext(Sessi > onManager.java:958) > > > It seems that this problem is the same that the one discussed in > http://www.mail-archive.com/cocoon-users@;xml.apache.org/msg16912.html > > > Any help welcome! > > Johann Romefort > > > > --------------------------------------------------------------------- > 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]> > > ___________________________________________________________________ > Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo ! > Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w --------------------------------------------------------------------- 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]>