[jboss-jira] [JBoss JIRA] Created: (JBPM-1070) The jBPM test configuration has problem with database setup

Jiri Pechanec (JIRA) jira-events at lists.jboss.org
Tue Oct 16 04:24:04 EDT 2007


The jBPM test configuration has problem with database setup
-----------------------------------------------------------

                 Key: JBPM-1070
                 URL: http://jira.jboss.com/jira/browse/JBPM-1070
             Project: JBoss jBPM
          Issue Type: Bug
    Affects Versions: jBPM jPDL 3.2.2
            Reporter: Jiri Pechanec
         Assigned To: Tom Baeyens


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list