Red Hat Bugzilla – Bug 962474
BPMS dashbuilder log contains error messages during deployment
Last modified: 2014-08-06 16:11:59 EDT
Description of problem:
The dashbuilder's log file contains error messages (see the attachment) complaining about missing processinstancelog table. Even if the application gets deployed after those errors, the messages should be removed to avoid confusing the users.
Version-Release number of selected component (if applicable):
Deploy application and see its log file (/tmp/dashboard-builder-jboss.log).
Created attachment 747271 [details]
dashbuilder log with error messages
The jBPM History log's processinstancelog, bamtasksummary tables are queried by the Dashbuilder's jBPM Process Dashboard. So these tables must exist in whatever database the jBPM Dashboard's data providers are pointing to.
The problem has been fixed by forcing the Dashbuilder to create (only if does not exist) those two database tables. This is something that is already implemented in the standalone jetty/h2 mode.
Verified. When started standalone mode (without jBPM) the processinstancelog and bamtasksummary are created correctly.
Won't cover this by tests, because the problem concerns exception appearing in in server.log