# Sequel::DatabaseConnectionError on new conection

**URL:** <https://community.dremio.com/t/sequel-databaseconnectionerror-on-new-conection/313>\
**Category:** Uncategorized\
**Created:** [September 24, 2017, 5:57pm UTC](https://community.dremio.com/t/sequel-databaseconnectionerror-on-new-conection/313 "2017-09-24T17:57:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsandell](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@bsandell](https://community.dremio.com/u/bsandell)\
**Post date:** [September 24, 2017, 5:57pm UTC](https://community.dremio.com/t/sequel-databaseconnectionerror-on-new-conection/313/1 "2017-09-24T17:57:24Z")

</div>

When trying to connect to my dremio instance from Ruby, I am getting the following error:

Sequel::DatabaseConnectionError: Java::JavaLang::NoClassDefFoundError: oadd/com/dremio/exec/store/StoragePluginRegistry

I am using this JDBC driver - dremio-jdbc-driver-1.1.0-201708121825170680-436784e.jar

Just curious if anyone has run into this or if there is a “fatter” jar available.

---

<div class="post-metadata">

**Author:** ![laurent](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/laurent/32/16_2.png) [@laurent](https://community.dremio.com/u/laurent)\
**Post date:** [September 25, 2017, 6:13pm UTC](https://community.dremio.com/t/sequel-databaseconnectionerror-on-new-conection/313/2 "2017-09-25T18:13:53Z")

</div>

The jar you are actually using is the “fatter” jar, and it should work okay for most Java applications. That said, it was never tested with JRuby and it seems JRuby tries to load some of the driver class in ways which causes other classes (not packaged in the driver) to be loaded too.
