Re: Sunrise getting context - problem

2003-01-27 Thread Martin Dulisch
Hi Bartosz,

which version of Cocoon are you running? It should run in 2.0.4. Older
versions had a problem with calling a protected pipeline from an
unprotected.

In your 'match1' pipeline you have the transform before the generate.
I think this should be in a different order.

Martin

- Original Message -
From: "Bartosz Matuszczak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 7:18 PM
Subject: Sunrise getting context - problem


> Hi
> I have 2 maches in sitemap:
>
> 
>
> 
>
>
> 
> 
>
>
>
>   
>
>   
>
>  
>   
>
> get-data.xml  contains:  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   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
>   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]>
>


-
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]>




Sunrise getting context - problem

2003-01-25 Thread Bartosz Matuszczak
Hi
I have 2 maches in sitemap:


   

   
   


   
   
   
  

  
   
 
  

get-data.xml  contains:   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   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
  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. 

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