AnsweredAssumed Answered

activiti.cfg.xml (.jar) and integration

Question asked by ageen on May 3, 2011
Latest reply on May 13, 2011 by jbarrez
I'm using a customized activiti.cfg.xml as below, but seems the ActivitiTestCase cannot load it because it cannot get the real value of ${jdbc.driverClassName}. Is there anyway I can work around this? At least, the uesrname and password part, I could like to externalize it.

Also, in order to use Activiti REST service, do I have to use activiti.cfg.jar? Can I just use a regular Spring applicatonContext.xml under classpath?


    <context:property-placeholder location="classpath*:META-INF/" />
   <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
      <property name="driverClassName" value="${jdbc.driverClassName}" />
      <property name="url" value="${jdbc.url}" />
      <property name="username" value="${jdbc.username}" />
      <property name="password" value="${jdbc.password}" />
      <property name="defaultAutoCommit" value="true" />