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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to