Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-455

Error when attempting to create H2 database in RAM resource.

    Details

      Description

      (Not entirely sure if this counts as a Railo bug - depends on if resources are usable within JDBC URLs - but it would be handy if they were.)

      When creating a H2 datasource via the cfadmin tag, it works when specifying a path on the c drive:
      dsn="jdbc:h2:file://c:/tmp/test;MODE=MySQL"

      However, the exact same code using ram resource fails:
      dsn="jdbc:h2:ram://test;MODE=MySQL"

      The error message returned by Railo is is "IO Exception [90028-12]".

      The full tag used is:
      <cfadmin
      action = "updateDatasource"
      type = "web"
      password = "password"
      classname = "org.h2.Driver"
      dsn = "jdbc:h2:ram://test;MODE=MySQL"
      name = "test"
      dbusername = "sa"
      dbpassword = "password"
      database = "test"
      allowed_select allowed_insert allowed_update allowed_delete
      allowed_alter allowed_drop allowed_revoke allowed_create
      allowed_grant
      />

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                boughtonp Peter Boughton
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: