Mario Ivankovits schrieb:
> Hi!
>>
>> I tried deleting the part regardless to persistence from spring
>> configuration (application-context.xml) but no success. I encountered
>> exceptions thrown by the Orchestra Conversation Interceptor.
>>
> Not configuring the persistence related advice (e.g the
> persistentContextConversationInterceptor) with the scope should be
> sufficient.
> section.
> What exceptions do you encounter?
For conversations *with* persistence support, you'll have something like
this in the spring config file:
<entry key="conversation.manual">
<bean
class="org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope">
<property name="timeout" value="30" />
<property name="advices">
<list>
<ref bean="persistentContextConversationInterceptor"/>
</list>
</property>
</bean>
</entry>
If you don't need persistence, just leave out the "advices" property. It
is the persistenceContextConversationInterceptor that does all the work
of binding a PersistenceContext to a conversation instance.
And in future, please ask questions on the user list. It's better for
*you* because there are lots of very competent people who subscribe to
the users list but not the dev list. And all developers subscribe to both.
Regards,
Simon