Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8097

jBPMHelper no longer sets default values for H2

    Details

    • Type: Bug
    • Status: Pull Request Sent (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.14.0.Final, 7.15.0.Final
    • Fix Version/s: None
    • Component/s: Runtime Engine
    • Labels:
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The regression caused by this commit removes the H2 defaults used by jBPMHelper. As result jbpm-example and any code that used snippets like:

          	JBPMHelper.startH2Server();
          	JBPMHelper.setupDataSource();
      

      ... no longer works, resulting at:

      java.lang.IllegalArgumentException: Driver class name cannot be empty.
      	at org.kie.test.util.db.internal.DatabaseProvider.fromDriverClassName(DatabaseProvider.java:32)
      	at org.kie.test.util.db.DataSourceFactory.setupPoolingDataSource(DataSourceFactory.java:57)
      	at org.kie.test.util.db.DataSourceFactory.setupPoolingDataSource(DataSourceFactory.java:42)
      	at org.jbpm.test.JBPMHelper.setupDataSource(JBPMHelper.java:103)
      	at org.jbpm.examples.evaluation.EvaluationExample.getRuntimeManager(EvaluationExample.java:89)
      	at org.jbpm.examples.evaluation.EvaluationExample.main(EvaluationExample.java:39)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  alessandrolt Alessandro Lazarotti
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: