-
1. Re: seam 3 remoting and conversation scope
brvuga Jul 6, 2012 3:39 AM (in response to brvuga)Now i see that on the first reqeust i always get this warrning in my logs:
org.jboss.seam.conversation.spi.SeamConversationContextFactory create
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?
-
2. Re: seam 3 remoting and conversation scope
lightguard Jul 9, 2012 12:43 PM (in response to brvuga)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.
-
3. Re: seam 3 remoting and conversation scope
brvuga Jul 9, 2012 2:10 PM (in response to lightguard)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.
-
4. Re: seam 3 remoting and conversation scope
lightguard Jul 9, 2012 2:12 PM (in response to brvuga)Certainly possible. Honestly, if you're using tomcat, why not look into TomEE?
-
5. Re: seam 3 remoting and conversation scope
brvuga Jul 10, 2012 3:34 AM (in response to lightguard)Does this mean that servlet containers are not supported by seam 3 any more?
-
6. Re: seam 3 remoting and conversation scope
brvuga Jul 15, 2012 4:33 PM (in response to brvuga)I will interpret the silence of seam guys as YES, and I think most of the readers will agree with me.
-
7. Re: seam 3 remoting and conversation scope
lightguard Jul 16, 2012 12:47 PM (in response to brvuga)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.