Skip to content

jdbc error while opening sqlite3 file #1347

@mistergibson

Description

@mistergibson

openjdk version "24" 2025-03-18
OpenJDK Runtime Environment GraalVM CE 24+36.1 (build 24+36-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 24+36.1 (build 24+36-jvmci-b01, mixed mode, sharing)

Mounting or creating a database ...
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by org.sqlite.NativeDB in an unnamed module (file:/opt/jruby-gems/shared/gems/jdbc-sqlite3-3.6.14.2.056-java/lib/sqlitejdbc-3.6.14.2.056.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Exception: Unable to format a read-only database
initialize at /opt/jruby-gems/shared/gems/gxg-framework-0.0.64/lib/gxg/gxg_database.rb:5458
new at org/jruby/RubyClass.java:1036
connect at /opt/jruby-gems/shared/gems/gxg-framework-0.0.64/lib/gxg/gxg_database.rb:403
db_pool_setup at ./setup.rb:229
each at org/jruby/RubyArray.java:2088
db_pool_setup at ./setup.rb:210
at ./setup.rb:252

Ubuntu Linux 22.04

More details here: jeremyevans/sequel#2342

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions