[jboss-user] [JBoss Seam] - error in creating JBPM process with seam-generated Home clas

jneubert do-not-reply at jboss.com
Fri Dec 28 13:48:23 EST 2007


I use a seam-generated OrderHome class which overrides "persist" to create a new JBPM process instance:

  |   @Override
  |   @CreateProcess(definition="order")
  |   public String persist() {
  | 
  |     String outcome = super.persist();
  | 
  |     Contexts.getBusinessProcessContext().set("orderId",
  |         this.getOrderId());
  | 
  |     return outcome;
  |   }
  | 
I get an error page with

  Exception during request processing:
  Caused by javax.servlet.ServletException with message: "#{orderHome.persist}: java.lang.reflect.UndeclaredThrowableException"

Nonetheless the Order entity and an according Processinstance (with orderId set correctly) are stored in the database.

Can anybody point out what's wrong?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115964#4115964

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115964



More information about the jboss-user mailing list