Hi
I have 2 maches in sitemap:
<map:match pattern="mach1">
<map:act type="sunRise-loggedIn"> <!-- check authentication -->
<map:parameter name="handler" value="Einformatyka"/>
<map:act type="sunRise-auth"> <!-- Access to sunrise
context -->
<map:parameter name="handler" value="Einformatyka"/>
<map:transform type="sunShine"/>
<map:generate src="get-data.xml"/>
</map:act>
</map:act>
<map:serialize/>
</map:match>
<map:match pattern="mach2">
<map:generate src="cocoon://mach1"/>
<map:serialize/>
</map:match>
get-data.xml contains: <sunshine:getxml context="sunRise"
path="/authentication/ID"/> to retrieve user Id from sunrise context.
When i'm logged in and call "mach1" from browser everything goes fine and i
receive insted of <sunshine:getxml context="sunRise"
path="/authentication/ID"/> current user ID.
But when i call "mach2" from browser this error is caused
Cocoon 2 - Internal server error
----------------------------------------------------------------------------
----
type fatal
message Failed to execute pipeline.
description org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: java.lang.IllegalArgumentException:
sunShine.streamContextFragment: Context 'sunRise' not found.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
Why it is so ? Why when mach2 is called from mach1 this exception throws.
This same error get I when i try to call mach 1 from browser but without
<map:act type="sunRise-auth"> action.
any ideas ?
Bye
Bartek
***************r-e-k-l-a-m-a**************
Chcesz oszczedzic na kosztach obslugi bankowej ?
mBIZNES - konto dla firm
http://epieniadze.onet.pl/mbiznes
---------------------------------------------------------------------
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]>