[JBoss JIRA] (SEAMPERSIST-76) Forge: Build fails when adding seam-persistence-plugin
by Tobias Boehnert (Created) (JIRA)
Forge: Build fails when adding seam-persistence-plugin
------------------------------------------------------
Key: SEAMPERSIST-76
URL: https://issues.jboss.org/browse/SEAMPERSIST-76
Project: Seam Persistence
Issue Type: Bug
Environment: Win 7 64bit, JDK 1.6.0_29 32bit, Forge 1.0.0.Beta4
Reporter: Tobias Boehnert
When trying to install seam-persistence within a JBoss Forge project, build fails.
Already opened in Forge-Jira, but I was sent over here ;-)
https://issues.jboss.org/browse/FORGE-410
{quote}
[foo] Person.java $ forge install-plugin seam-persistence
Connecting to remote repository https://raw.github.com/forge/plugin-repository/master/repository.yaml... connected!
**INFO** Preparing to install plugin: seam-persistence
**INFO** Checking out plugin source files to [C:\/Users/Tobias/AppData/Local/Temp/forgetemp8058076038030878076/repo] via 'git'
**INFO** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin-seam-persistence 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.4.1:clean (default-clean) @ plugin-seam-persiste
nce —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @ plugin-seam-persistence —
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ plugin-seam-persistence —
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] cannot find symbol
symbol : method hasDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] cannot find symbol
symbol : method addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.125s
[INFO] Finished at: Sun Dec 18 23:01:14 CET 2011
[INFO] Final Memory: 8M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project plugin-seam-persistence: Compilation failure: Compilation failure:
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] cannot find symbol
[ERROR] symbol : method hasDependency(org.jboss.forge.project.dependencies.Depe
ndencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] cannot find symbol
[ERROR] symbol : method addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
**ERROR** [forge install-plugin] Build failed.
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3285) Seam Email session integration into jBPM
by Boretti Mathieu (JIRA)
Seam Email session integration into jBPM
----------------------------------------
Key: JBSEAM-3285
URL: https://jira.jboss.org/jira/browse/JBSEAM-3285
Project: Seam
Issue Type: Feature Request
Components: BPM
Affects Versions: 2.0.2.GA
Environment: N/A
Reporter: Boretti Mathieu
The goal is to use the MailSession from seam (provided by DataSource or not), when using jBPM task-node.
The idea is to provide a class that extend org.jbpm.mail.Mail and use the MailSession from Seam, instance of the MailSession from jBPM.
It is then possible to reference this class in the jbpm config file (<string name='jbpm.mail.class.name' value='XXXX' />
I wrote a small "example class", by copy-paste from jBPM (see below):
This implementation use the jBPM variable config jbpm.mail.ignoreError to throw, or not, an error in case of error in sending of email.
The MailSession is retrieved with
org.jboss.seam.mail.MailSession.instance();
package org.domain.HardWareStore.actions;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.StringTokenizer;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.seam.contexts.Context;
import org.jboss.seam.contexts.Lifecycle;
import org.jboss.seam.mail.MailSession;
import org.jbpm.JbpmConfiguration;
import org.jbpm.JbpmException;
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.jpdl.el.ELException;
import org.jbpm.jpdl.el.VariableResolver;
import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator;
import org.jbpm.mail.AddressResolver;
import org.jbpm.mail.Mail;
import org.jbpm.util.XmlUtil;
public class MailHandler extends Mail {
private static final long serialVersionUID = 1L;
String template = null;
String actors = null;
String to = null;
String bcc = null;
String bccActors = null;
String subject = null;
String text = null;
ExecutionContext executionContext = null;
public MailHandler() {
}
public MailHandler(String template, String actors, String to,
String subject, String text) {
this.template = template;
this.actors = actors;
this.to = to;
this.subject = subject;
this.text = text;
}
public MailHandler(String template, String actors, String to,
String bccActors, String bcc, String subject, String text) {
this.template = template;
this.actors = actors;
this.to = to;
this.bccActors = bccActors;
this.bcc = bcc;
this.subject = subject;
this.text = text;
}
public void execute(ExecutionContext executionContext) {
this.executionContext = executionContext;
send();
}
public List getRecipients() {
List recipients = new ArrayList();
if (actors != null) {
String evaluatedActors = evaluate(actors);
List tokenizedActors = tokenize(evaluatedActors);
if (tokenizedActors != null) {
recipients.addAll(resolveAddresses(tokenizedActors));
}
}
if (to != null) {
String resolvedTo = evaluate(to);
recipients.addAll(tokenize(resolvedTo));
}
return recipients;
}
public List getBccRecipients() {
List recipients = new ArrayList();
if (bccActors != null) {
String evaluatedActors = evaluate(bccActors);
List tokenizedActors = tokenize(evaluatedActors);
if (tokenizedActors != null) {
recipients.addAll(resolveAddresses(tokenizedActors));
}
}
if (bcc != null) {
String resolvedTo = evaluate(to);
recipients.addAll(tokenize(resolvedTo));
}
if (JbpmConfiguration.Configs.hasObject("jbpm.mail.bcc.address")) {
recipients.addAll(tokenize(JbpmConfiguration.Configs
.getString("jbpm.mail.bcc.address")));
}
return recipients;
}
public String getSubject() {
if (subject == null)
return null;
return evaluate(subject);
}
public String getText() {
if (text == null)
return null;
return evaluate(text);
}
public String getFromAddress() {
if (JbpmConfiguration.Configs.hasObject("jbpm.mail.from.address")) {
return JbpmConfiguration.Configs
.getString("jbpm.mail.from.address");
}
return "jbpm@noreply";
}
public void send() {
if (template != null) {
Properties properties = getMailTemplateProperties(template);
if (actors == null) {
actors = properties.getProperty("actors");
}
if (to == null) {
to = properties.getProperty("to");
}
if (subject == null) {
subject = properties.getProperty("subject");
}
if (text == null) {
text = properties.getProperty("text");
}
if (bcc == null) {
bcc = properties.getProperty("bcc");
}
if (bccActors == null) {
bccActors = properties.getProperty("bccActors");
}
}
send(getFromAddress(), getRecipients(), getBccRecipients(),
getSubject(), getText());
}
public static void send(String fromAddress, List recipients,
String subject, String text) {
send(fromAddress, recipients, null, subject, text);
}
public static void send(String fromAddress, List recipients,
List bccRecipients, String subject, String text) {
if ((recipients == null) || (recipients.isEmpty())) {
log.info("skipping mail because there are no recipients");
return;
}
log.info("sending email to '" + recipients + "' about '" + subject
+ "'");
log.info("BeginCall");
Context context = Lifecycle.beginMethod();
try {
log.info("GetSession");
Session session = MailSession.instance();
log.info("Create msg for "+session);
MimeMessage message = new MimeMessage(session);
if (fromAddress != null) {
message.setFrom(new InternetAddress(fromAddress));
}
Iterator iter = recipients.iterator();
while (iter.hasNext()) {
InternetAddress recipient = new InternetAddress((String) iter
.next());
message.addRecipient(Message.RecipientType.TO, recipient);
}
if (bccRecipients != null) {
iter = bccRecipients.iterator();
while (iter.hasNext()) {
InternetAddress recipient = new InternetAddress(
(String) iter.next());
message.addRecipient(Message.RecipientType.BCC, recipient);
}
}
if (subject != null) {
message.setSubject(subject);
}
if (text != null) {
message.setText(text);
}
message.setSentDate(new Date());
Transport.send(message);
} catch (Exception e) {
log.error("couldn't send email",e);
boolean ignore=false;
if (JbpmConfiguration.Configs.hasObject("jbpm.mail.ignoreError")) {
ignore=JbpmConfiguration.Configs.getBoolean("jbpm.mail.ignoreError");
}
if (!ignore) throw new JbpmException("couldn't send email", e);
} finally {
Lifecycle.endMethod(context);
}
}
protected List tokenize(String text) {
if (text == null) {
return null;
}
List list = new ArrayList();
StringTokenizer tokenizer = new StringTokenizer(text, ";:");
while (tokenizer.hasMoreTokens()) {
list.add(tokenizer.nextToken());
}
return list;
}
protected Collection resolveAddresses(List actorIds) {
List emailAddresses = new ArrayList();
Iterator iter = actorIds.iterator();
while (iter.hasNext()) {
String actorId = (String) iter.next();
AddressResolver addressResolver = (AddressResolver) JbpmConfiguration.Configs
.getObject("jbpm.mail.address.resolver");
Object resolvedAddresses = addressResolver.resolveAddress(actorId);
if (resolvedAddresses != null) {
if (resolvedAddresses instanceof String) {
emailAddresses.add((String) resolvedAddresses);
} else if (resolvedAddresses instanceof Collection) {
emailAddresses.addAll((Collection) resolvedAddresses);
} else if (resolvedAddresses instanceof String[]) {
emailAddresses.addAll(Arrays
.asList((String[]) resolvedAddresses));
} else {
throw new JbpmException(
"Address resolver '"
+ addressResolver
+ "' returned '"
+ resolvedAddresses.getClass().getName()
+ "' instead of a String, Collection or String-array: "
+ resolvedAddresses);
}
}
}
return emailAddresses;
}
static Map templates = null;
static Map templateVariables = null;
synchronized Properties getMailTemplateProperties(String templateName) {
if (templates == null) {
templates = new HashMap();
String mailTemplatesResource = JbpmConfiguration.Configs
.getString("resource.mail.templates");
org.w3c.dom.Element mailTemplatesElement = XmlUtil
.parseXmlResource(mailTemplatesResource)
.getDocumentElement();
List mailTemplateElements = XmlUtil.elements(mailTemplatesElement,
"mail-template");
Iterator iter = mailTemplateElements.iterator();
while (iter.hasNext()) {
org.w3c.dom.Element mailTemplateElement = (org.w3c.dom.Element) iter
.next();
Properties templateProperties = new Properties();
addTemplateProperty(mailTemplateElement, "actors",
templateProperties);
addTemplateProperty(mailTemplateElement, "to",
templateProperties);
addTemplateProperty(mailTemplateElement, "subject",
templateProperties);
addTemplateProperty(mailTemplateElement, "text",
templateProperties);
addTemplateProperty(mailTemplateElement, "bcc",
templateProperties);
addTemplateProperty(mailTemplateElement, "bccActors",
templateProperties);
templates.put(mailTemplateElement.getAttribute("name"),
templateProperties);
}
templateVariables = new HashMap();
List variableElements = XmlUtil.elements(mailTemplatesElement,
"variable");
iter = variableElements.iterator();
while (iter.hasNext()) {
org.w3c.dom.Element variableElement = (org.w3c.dom.Element) iter
.next();
templateVariables.put(variableElement.getAttribute("name"),
variableElement.getAttribute("value"));
}
}
return (Properties) templates.get(templateName);
}
void addTemplateProperty(org.w3c.dom.Element mailTemplateElement,
String property, Properties templateProperties) {
org.w3c.dom.Element element = XmlUtil.element(mailTemplateElement,
property);
if (element != null) {
templateProperties.put(property, XmlUtil.getContentText(element));
}
}
String evaluate(String expression) {
if (expression == null) {
return null;
}
VariableResolver variableResolver = JbpmExpressionEvaluator
.getUsedVariableResolver();
if (variableResolver != null) {
variableResolver = new MailVariableResolver(templateVariables,
variableResolver);
}
return (String) JbpmExpressionEvaluator.evaluate(expression,
executionContext, variableResolver, null);
}
class MailVariableResolver implements VariableResolver, Serializable {
private static final long serialVersionUID = 1L;
Map templateVariables = null;
VariableResolver variableResolver = null;
public MailVariableResolver(Map templateVariables,
VariableResolver variableResolver) {
this.templateVariables = templateVariables;
this.variableResolver = variableResolver;
}
public Object resolveVariable(String pName) throws ELException {
if ((templateVariables != null)
&& (templateVariables.containsKey(pName))) {
return templateVariables.get(pName);
}
return variableResolver.resolveVariable(pName);
}
}
private static Log log = LogFactory.getLog(Mail.class);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBSEAM-5048) blog example atom feed not working
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-5048:
-------------------------------------
Summary: blog example atom feed not working
Key: JBSEAM-5048
URL: https://issues.jboss.org/browse/JBSEAM-5048
Project: Seam 2
Issue Type: Bug
Components: Examples
Affects Versions: 2.3.0.Final
Environment: JBoss AS 7.1.3.Final
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.1.CR1
seam-blog example application atom feed displays facelet page source, instead of the atom feed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (JBSEAM-5055) only a single attachment is attached to a mail
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-5055:
-------------------------------------
Summary: only a single attachment is attached to a mail
Key: JBSEAM-5055
URL: https://issues.jboss.org/browse/JBSEAM-5055
Project: Seam 2
Issue Type: Bug
Components: Mail
Environment: 2.3.1-SNAPSHOT
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.1.CR1
Using Seam Mail to send a message with multiple attachments, results in a mail with only a single attachment.
This appears to be a recent regression, I cannot reproduce it with 2.3.0.Final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (JBSEAM-5045) Ajax error not calling ExceptionFilter
by Tiago Peruzzo (JIRA)
Tiago Peruzzo created JBSEAM-5045:
-------------------------------------
Summary: Ajax error not calling ExceptionFilter
Key: JBSEAM-5045
URL: https://issues.jboss.org/browse/JBSEAM-5045
Project: Seam 2
Issue Type: Bug
Affects Versions: 2.3.0.Final
Reporter: Tiago Peruzzo
Attachments: patch.zip
Now that JSF2 now has support for Ajax errors Ajax requests are being processed by the JSF and not being thrown exceptions to the Seam ExceptionFilter capture.
{code:xml}
<exception log="true" log-level="fatal">
<end-conversation before-redirect="true" root="true"/>
<redirect view-id="/error.xhtml">
<message severity="fatal">Unexpected error, please try again.</message>
</redirect>
</exception>
{code}
{code:xml}
<h:form>
<h:commandButton action="#{xxxx.xxxxx}" value="Submit"/>
<h:commandButton action="#{xxxx.xxxxx}" value="Ajax Submit">
<f:ajax />
</h:commandButton>
</h:form>
{code}
I even did a patch that still support the redirection to the error pages in AJAX requests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (JBSEAM-4976) numberguess example broken, Conversation not restored during numberGuess restore view
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-4976:
-------------------------------------
Summary: numberguess example broken, Conversation not restored during numberGuess restore view
Key: JBSEAM-4976
URL: https://issues.jboss.org/browse/JBSEAM-4976
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.3.0.BETA2
Environment: AS 7.1.2, Seam 2.3.0.CR1-SNAPSHOT
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.0.CR1
The numberguess example doesn't work, as the conversation is apparently not restored during postback.
The debug log excerpt during clicking the guess button several times:
{noformat}
17:31:52,504 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:52,504 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:52,504 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:52,507 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:52,507 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:52,507 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:52,559 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:52,559 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:52,559 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:52,559 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:52,560 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:52,560 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:52,560 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:52,578 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:52,578 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:52,579 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 2
17:31:52,579 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:52,580 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:54,468 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:54,469 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:54,469 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:54,472 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:54,472 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:54,472 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:54,495 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:54,496 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:54,496 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:54,496 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:54,496 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:54,496 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:54,497 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:54,509 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:54,509 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:54,510 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 3
17:31:54,510 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:54,511 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:55,160 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:55,161 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:55,161 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:55,164 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:55,165 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:55,165 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:55,182 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:55,182 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:55,182 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:55,183 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:55,183 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:55,183 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:55,183 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:55,195 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:55,195 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:55,196 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 4
17:31:55,196 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:55,197 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:55,782 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:55,783 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:55,783 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:55,786 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:55,786 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:55,786 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:55,801 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:55,801 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:55,801 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:55,801 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:55,802 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:55,802 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:55,802 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:55,815 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:55,815 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:55,815 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 5
17:31:55,815 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:55,817 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:56,379 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:56,380 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:56,380 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:56,384 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:56,384 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:56,384 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:56,400 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:56,400 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:56,400 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:56,401 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:56,401 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:56,401 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:56,401 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:56,414 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:56,414 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:56,414 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 6
17:31:56,414 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:56,416 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:56,922 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:56,923 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:56,925 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:56,928 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:56,928 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:56,928 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:56,946 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:56,947 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:56,947 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:56,947 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:56,951 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:56,951 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:56,951 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:56,960 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:56,960 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:56,960 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 7
17:31:56,960 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:56,960 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:56,962 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:31:57,534 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
17:31:57,535 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
17:31:57,535 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:57,539 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
17:31:57,539 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
17:31:57,540 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
17:31:57,550 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
17:31:57,551 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:57,551 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
17:31:57,551 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
17:31:57,551 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
17:31:57,551 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
17:31:57,551 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
17:31:57,563 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
17:31:57,563 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
17:31:57,564 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 8
17:31:57,564 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
17:31:57,565 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
17:32:12,380 INFO [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011908: Unregister module: Module "deployment.seam-numberguess.ear.numberguess-ejb.jar:main" from Service Module Loader
17:32:12,382 INFO [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011908: Unregister module: Module "deployment.seam-numberguess.ear.jboss-seam.jar:main" from Service Module Loader
17:32:12,396 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Pausing Coyote HTTP/1.1 on http-/127.0.0.1:8080
17:32:12,410 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Stopping Coyote HTTP/1.1 on http-/127.0.0.1:8080
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4395) Endless loop when an exception occurs during commit inside a long running conversation, and there is an <exception> clause to handle it in page.xml
by Denis Forveille (JIRA)
Endless loop when an exception occurs during commit inside a long running conversation, and there is an <exception> clause to handle it in page.xml
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-4395
URL: https://jira.jboss.org/jira/browse/JBSEAM-4395
Project: Seam
Issue Type: Bug
Components: Exception Handling
Affects Versions: 2.2.0.GA, 2.2.1.CR1
Environment: WebSphere v7.0.0.5, Seam 2.2.1-SNAPSHOT
Reporter: Denis Forveille
Scenario:
- process is in a long running conversation
- a persistence exception occurs (e.g. OptimisticLockingException), during either a call to flush() or during the automatic commit() of the transaction
- a clause <exception> is declared in pages.xml to handle the exception and redirect to a generic error page (e.g. <exception> that will handle all exceptions..) like this:
<exception>
<end-conversation/>
<redirect view-id="/erreur_exception.xhtml" />
</exception>
During the commit, the exception occurs, Seam catch it and pass it to the exception handler.
The exception handler sees that the user has to be redirected to the error page.
The long running conversation is still active, handling the "dirty" objects that cause the persistence failure
The request to process the error page starts. During the "RESTORE_VIEW", the dirty object that are in the conversation are then flushed again to the database, causing again the persistence exception, triggering the seam exception handling mechanism, that will redirect to the error handling page, causing an endless loop
A workaround to this is to add an observer on "org.jboss.seam.exceptionHandled" that will kill the current conversation and so remove the dirty objects from the session and the error page is display (see the forum reference)
Some thoughts:
- the documentation gives an example on how to handle OptimisticLockingException, but in our case, the way it is, this causes an infinite loop
- is the <end-conversation/> clause working correctly? At what time during exception handling is the end-conversation supposed to occur?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month