[jboss-user] [JBoss jBPM] - Re: dual jbpm context

tbeernot do-not-reply at jboss.com
Tue Jan 6 08:00:38 EST 2009


1. Having two JbpmConfigurations runs into some dead ends. 

When trying to parse a ProcessDefinition from String using the static parseXmlString, underwater JbpmConfiguration.getInstance() is called. 

JbpmConfiguration.getInstance(String) line: 278	
JbpmConfiguration.getInstance() line: 257	
JbpmConfiguration$Configs.getObjectFactory() line: 425	
JbpmConfiguration$Configs.getObject(String) line: 437	
JbpmConfiguration$Configs.getString(String) line: 441	
ProcessDefinition.createNewProcessDefinition() line: 97	
JpdlXmlReader.readProcessDefinition() line: 138	
ProcessDefinition.parseXmlString(String) line: 150	

Since I do not have a jbpm.cfg.xml anymore, it will revert to the embedded one. That is not the idea with having two separate configurations...

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

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



More information about the jboss-user mailing list