[jboss-user] [JBoss jBPM] - JBpm 3.2 : Version column

viniciuscarvalho do-not-reply at jboss.com
Tue Apr 24 16:30:48 EDT 2007


Hello there! Well, never surrender...

I'm still trying to get jbpm 3.2 and seam 1.2.1, so what I've done is create an MBean (since it seems that the jndi jbpmconfiguration is not present on the 3.2) and registred my jbpmconfiguration inside jndi. Working fine. 

inside my action I have: 

  | JbpmContext ctx = null;
  | 		try {
  | 			InitialContext initialContext = new InitialContext();
  | 			
  | 			jbpmConfig = (JbpmConfiguration)initialContext.lookup("java:/jbpm/JbpmConfiguration");	
  | 		} catch (NamingException e) {
  | 			e.printStackTrace();
  | 		}
  | 		ctx = jbpmConfig.createJbpmContext();
  | 		ProcessInstance instance = ctx.newProcessInstance("myProcess");
  | 		ctx.save(instance);
  | 		ctx.close();
  | 

Problem is I'm getting an error complaining that the VERSION_ column of table JBPM_MODULEINSTANCE can not be null.
I've double checked my jars, and I'm using the 3.2 jars, the ContextInstance.hbm.xml is extending ModuleInstance which have a  tag set.
Why is still complaining?

Regards

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

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



More information about the jboss-user mailing list