Hello,
I'am using JBPM with Struts (spring 2.0.8 and jbpm-spring 0.8). Actually, we load processes definitions from inside ear (ie /src/main/resources/jbpm/processDefinition.xml ).
The application run with jboss (4.0.5-GA).
We want to move process definition inside <JBOSS>/server/conf directory (ie <JBOSS>/server/conf/foo/bar/processDefinition.xml).
We actually move some part of the applicationContext.xml in <JBOSS>/server/conf directory using <import/>
ie :
where jbpmContext.xml is in <JBOSS>/server/conf/foo/Code:<import resource="classpath*:**/${application.configurationExterne.path}/jbpmContext.xml" />
this file contains references to process definitions like :
This definition refere to an xml inside ear and it works.Code:<bean id="workflow" class="org.springmodules.workflow.jbpm31.definition.ProcessDefinitionFactoryBean"> <property name="definitionLocation" value="classpath:jbpm/workflow.xml" /> </bean>
But when we try to refere xml in jboss/conf it doesn't work and we get a FileNotFoundException...
ie :
don't work.Code:<bean id="workflow" class="org.springmodules.workflow.jbpm31.definition.ProcessDefinitionFactoryBean"> <property name="definitionLocation" value="classpath*:**/${application.configurationExterne.path}/workflow.xml" /> </bean>
Is there any way to have this case work ?
Thanks.


