Uploaded image for project: 'aaa'
  1. aaa
  2. AAA-253

Logging in to the H2 database interface results in an "IO Exception" error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 0.17.6
    • None

      I am unable to log in to the H2 database using the default "foo:bar" credentials, as I assume it should be set up according to this code in the AAA repository:
      https://github.com/opendaylight/aaa/blob/master/aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datastore/h2/H2Store.java#L37

      Every login attempt results in the following error message:
      `IO Exception: "/home/user/test outside /home/user/Projects/ODL/aaa/karaf/target/assembly/system/com/h2database/h2/2.1.210" [90028-210] 90028/90028`

      Steps to reproduce:
      1) Build the AAA project.

      2) Run the following commands:

      cd aaa/karaf/target/assembly/system/com/h2database/h2/2.1.210
      java -cp h2-2.1.210.jar org.h2.tools.Server -trace -pg -web -webAllowOthers -baseDir `pwd` 

      3) Open a browser and go to ` http://10.0.2.15:8082"
      4) Try to log in with "foo:bar" or "admin:admin" credentials.

            PeterSuna Peter Suna
            PeterSuna Peter Suna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: