Dremio jdbc connection

I am trying to add dremio as a data store via jdbc connection. I added the appropriate extension jar files (“dremio-jdbc-driver-26.0.5-202509091642240013-f5051a07.jar” “gs-jdbcconfig-2.28-SNAPSHOT.jar” “gs-jdbcstore-2.28-SNAPSHOT.jar”)

I also configured jdbcconfig.properties file with the following values:

enabled=true
driverClassName=com.dremio.jdbc.Driver
jdbcUrl=jdbc:dremio:direct=172.28.1.6:31010;ssl=false
username=XXXXX
password=YYYY
AuthenticationType=Plain
pool.maxActive=5
pool.minIdle=2
pool.testOnBorrow=true

Using another client application I made sure connection values work.

However, when I run geoserver I get these errors:

Base Configuration:

  • jar:file:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/dremio-jdbc-driver-26.0.5-202509091642240013-f5051a07.jar!/sabot-default.conf
    Intermediate Configuration and Plugin files, in order of precedence:
  • jar:file:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/dremio-jdbc-driver-26.0.5-202509091642240013-f5051a07.jar!/sabot-module.conf
    12-Jan-2026 14:54:37.171 INFO [main] com.dremio.jdbc.shaded.org.apache.arrow.memory.BaseAllocator. Debug mode disabled. Enable with the VM option -Darrow.memory.debug.allocator=true.
    12-Jan-2026 14:54:37.174 INFO [main] com.dremio.jdbc.shaded.org.apache.arrow.memory.DefaultAllocationManagerOption.getDefaultAllocationManagerFactory allocation manager type not specified, using netty as the default type
    12-Jan-2026 14:54:37.179 INFO [main] com.dremio.jdbc.shaded.org.apache.arrow.memory.CheckAllocator.reportResult Using DefaultAllocationManager at memory/netty/DefaultAllocationManagerFactory.class
    12-Jan-2026 14:54:37.661 SEVERE [Client-1] com.dremio.jdbc.shaded.com.dremio.exec.rpc.ChannelExceptionHandler.exceptionCaught Exception in RPC communication. Closing connection. Connection: null ↔ null (user client)
    java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available

HOw can I fix it and connect geoserver to dremio successfully?

Many thanks

Oskar

Assuming that you are trying to use it as a data store then you don’t need gs-jdbcconfig-.jar as that is for storing configuration in a database. You also shouldn’t need to add gs-jdbcstore.jar as it is already part of the core system. I’m not completely certain but I don’t think that the JDBC datastores will just pick up a new JDBC jar and present it as a datastore so probably you (or hire someone) need to implement a JDBCDatastore in GeoTools for dremio, there’s a tutorial at https://docs.geotools.org/latest/userguide/tutorial/datastore/index.html, but I’d probably pick an existing JDBC store and copy and modify that. Feel free to reach out on the GeoTools dev list if you need a hand.

Ian