Uploaded image for project: 'Red Hat build of OptaPlanner'
  1. Red Hat build of OptaPlanner
  2. RHBOP-24

Employee-scheduling-quickstart fails to run in native mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 8.29.0.GA
    • Quickstarts
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      1. Download from sources "http://download.eng.bos.redhat.com/rcm-guest/staging/rhbop/rhbop-8.29.0.ER1/rhbop-8.29.0-optaplanner-quickstarts-sources.zip"
      2. Download settings.xml to setup repo settings.xml
      3. in employee-scheduling folder execute
        mvn package -s /settings.xml -Dnative -DskipTests 
         java -jar ./target/quarkus-app/quarkus-run.jar
      Show
      Download from sources "http://download.eng.bos.redhat.com/rcm-guest/staging/rhbop/rhbop-8.29.0.ER1/rhbop-8.29.0-optaplanner-quickstarts-sources.zip" Download settings.xml to setup repo settings.xml in employee-scheduling folder execute mvn package -s /settings.xml -Dnative -DskipTests java -jar ./target/quarkus-app/quarkus-run.jar

      By the documentation ES should run with the native mode

      java -jar ./target/*/*-run.jar
      

      fails with

      WARN  [org.hib.eng.jdb.env.int.JdbcEnvironmentInitiator] (JPA Startup Thread: <default>) HHH000342: Could not obtain connection to query metadata: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Connection is broken: "java.net.ConnectException: Connection refused: localhost" [90067-214]
      

              emmurphy1@redhat.com Emily Murphy
              adupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: