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

jBPMHelper no longer sets default values for H2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 7.14.0.Final, 7.15.0.Final
    • Runtime Engine
    • NEW
    • 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)
      

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-alazarot Alessandro Lazarotti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: