All Apps and Add-ons

Splunk DB Connect 2: [ERROR] [rh_connections.py] exception Validating connection with URL .... : Vector Enumeration

splunk_zen
Builder

Though we could get Splunk DB Connect 2 working flawlessly on our Search Head, repeating the same thing on any of our Heavy Forwarder has not been successful. Even though the Connection shows up as valid (correct Java 8 path, MSSQL sqljdbc4.jar driver correctly deployed, no conflicting sqljdbc.jar in the dir, port 1433 allowed through), testing a query which works on the SH gets stuck at the "Parsing job..." stage, generating:

 [ERROR] [rh_connections.py] exception Validating connection with URL [jdbc:sqlserver://epo.foo.bar:1433;databaseName=ePO_foobar;selectMethod=cursor] failed: java.util.NoSuchElementException:java.util.NoSuchElementException: Vector Enumeration

in the dbx2.log and never reaches "Executing SQL query" as it does on the SH.

What could explain this?

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

works on one but doesn't on the other... there's gotta be a difference between them. That's a java message, so I'd look at JRE and JDBC.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...