[
https://jira.jboss.org/jira/browse/JBPM-1070?page=com.atlassian.jira.plug...
]
Thomas Diesler updated JBPM-1070:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
The jBPM test configuration has problem with database setup
-----------------------------------------------------------
Key: JBPM-1070
URL:
https://jira.jboss.org/jira/browse/JBPM-1070
Project: JBoss jBPM
Issue Type: Bug
Affects Versions: jBPM 3.2.2
Reporter: Jiri Pechanec
Fix For: jBPM 3.3.2 GA
The jBPM test process expects hiberante.properties file to be placed in defined
configuration directory. jBPM config file JBPM.3/jpdl/jar/src/test/config/jbpm.cfg.xml
orders to use hibernate.properties file (<string
name="resource.hibernate.properties" value="hibernate.properties"
/>).
But the JBPM.3/jpdl/jar/src/test/java/org/jbpm/db/AbstractDbTestCase.java uses config
file less JBPM.3/jpdl/jar/src/test/java/org/jbpm/jbpm.test.cfg.xml and the line mentioned
above is missing. Thus the configuration is read from standard hibernate.cfg.xml.
Solution
Either add the missing line to jbpm.test.cfg.xml or change AbstractDbTestCase.java to use
central config file in config directory. The second one is preferred.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira