-
1. Re: begin-conversation starting 4 conversations
diegocoronel Jan 12, 2008 8:30 AM (in response to diegocoronel)- Seam 2.0.1.RC1
- Jboss 4.2.2
- Java 1.6_02
- Windows XP -
2. Re: begin-conversation starting 4 conversations
matt.drees Jan 12, 2008 10:30 AM (in response to diegocoronel)How do you know 4 conversations are created? I don't think that can happen in a single request.
-
3. Re: begin-conversation starting 4 conversations
diegocoronel Jan 12, 2008 1:52 PM (in response to diegocoronel)i can see on \xx\debug.seam, i know its really weird, but in this case its creating 4 conversations, and if i use more than one
<begin-conversation join="true" flush-mode="manual"/>
it is creating 4 conversations for each begin-conversation in my xml, sample:<?xml version="1.0" encoding="UTF-8"?> <page xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://jboss.com/products/seam/taglib" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd" view-id="/face/seguranca/aprovar_usuario/pesquisar_usuario.seam" login-required="false"> <begin-conversation join="true" flush-mode="manual"/> <navigation> <rule if-outcome="aprovar"> <begin-conversation join="true" flush-mode="manual"/> <redirect view-id="/face/seguranca/aprovar_usuario/aprovar.seam"/> </rule> </navigation> </page>
this is creating 8 conversations.
one more thing: im using war and my seam jars are in /deploy. -
4. Re: begin-conversation starting 4 conversations
pmuir Jan 13, 2008 10:38 AM (in response to diegocoronel)Why aren't your seam jars packaged inside your WEB-INF/lib?
-
5. Re: begin-conversation starting 4 conversations
diegocoronel Jan 13, 2008 11:21 AM (in response to diegocoronel)my entity bean is not loaded inside web-inf/lib, so i put it in deploy, and because that i need to use seam.jar in deploy too, drools,.... can my entity beans be inside web-inf/lib ?
-
6. Re: begin-conversation starting 4 conversations
diegocoronel Jan 14, 2008 8:06 AM (in response to diegocoronel)this problem can occurs because my seam jars are in deploy ?
-
7. Re: begin-conversation starting 4 conversations
nickarls Jan 14, 2008 8:28 AM (in response to diegocoronel)Entity beans implies EAR packaging. Try putting the libraries there (start with seam-gen ear packaging to get a sample)
-
8. Re: begin-conversation starting 4 conversations
pmuir Jan 14, 2008 8:51 AM (in response to diegocoronel)No you can use JPA with WAR style deployment. (see e.g. the JPA example). But if you are indeed using a EAR, then your entity beans and jboss-seam.jar need to be in the EAR as Nick says.