Now i see that on the first reqeust i always get this warrning in my logs:
WARNING: No matching SeamConversationContext for store type interface javax.servlet.http.HttpServletRequest, using NOOP instance!
Does that mean that remoting with conversations cannot work on tomcat 7, or am i using it in a wrong way?
It uses the session, so if you're not keeping a session around via a cookie or query param you're probably out of luck and would need to create your own scope.
Hello, thanks for your answer.
I am keeping a session. I've got the little test app attached to the original post. The test app is just a weld archetype for servlet containers which i got from the seam site, with updated dependancies and added seam remoting and stuff.
If my bean in that app is either request scoped or session scoped everything works fine. But ConversationScoped is not working because of the NoopInstance thingie.
I repeat its not working on Tomcat7. Maybe theres an issue with tomcat7.
Certainly possible. Honestly, if you're using tomcat, why not look into TomEE?
Does this mean that servlet containers are not supported by seam 3 any more?
I will interpret the silence of seam guys as YES, and I think most of the readers will agree with me.
Seam 3 has always targeted Java EE 6. If you can get things working in a servlet container, great, but it hasn't been anything we put major resources into.