>
> Hi Mario
>
> yes, I'm using RichFaces 3.1.0. There is actually no real problem with the 
> application (it works fine), but there is always this error in the log...
>   
Ah ... got it. You have to configure the DelegatingVariableResolver in
your faces-config.xml to make the variable lookup of beans configured in
spring work correctly. Some bits missing in our documentation it seems.

With:
    <application>
       
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>

your exception is gone.

Thanks for providing your application! That made it easy to figure out
what was wrong.
Ciao,
Mario

> I sent you my application as an attachment.
>
> Regards
>
> Michael
>
>
> -----Ursprüngliche Nachricht-----
> Von: Mario Ivankovits [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 17. März 2008 11:42
> An: MyFaces Discussion
> Betreff: Re: [Orchestra] Question to myFaces Orchestra configuration
> (Error on each request)
>
>
> Hi Michael!
>   
>> > ERROR 2008-03-17 08:24:35,110 [http-8000-Processor25] 
>> > org.ajax4jsf.resource.ResourceLifecycle: Exception in PhaseListener, 
>> > render view : beforePhase
>> > java.lang.IllegalArgumentException: No AccessScopeManager found. Probably 
>> > you forgot to add <import 
>> > resource="classpath*:/META-INF/spring-orchestra-init.xml" /> to your 
>> > spring configuration.
>> >         at 
>> > org.apache.myfaces.orchestra.conversation.AccessScopeManager.getInstance(AccessScopeManager.java:97)
>> >         at 
>> > org.apache.myfaces.orchestra.conversation.jsf.AccessScopePhaseListener.beforePhase(AccessScopePhaseListener.java:91)
>> >         at 
>> > org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:165)
>> >   
>>     
> Is see nothing bad. You are using RichFaces? Which version?
>
> Hmmm .... for me, it seems like a Spring setup problem when it comes to
> resource delivery with ajax4jsf, but have not clue what that can be.
>
> Is it possible for you to provide a simple webapp setup with a
> hello-world example where we easily can debug the problem? Else I have
> to setup such a project first and this might take a day or two - and
> probably I might not be able to reproduce that bug then  :-( 
>
> Thanks!
> Ciao,
> Mario
>   

Reply via email to