I am running version 8.1.44 of Ignition and I am trying to configure a JDBC Database Driver that will connect to and query my OSI PI Data.
I was trying to follow the guidance outlined in this article but I see that they were using a much older version of Ignition and JDBC driver.
The JDBC Driver that I am using is version 2019, Patch 1, the AF PI Server version that I am using is 2018 SP3 Patch 6, and the PI SQL Data Access Server that I am using is version 2023, Patch 1.
Right now, I am running into a couple of different errors on the Ignition side.
My JDBC Driver is configured as follows:
Name - OSI PI
Classname - com.osisoft.jdbc.Driver
Driver Type - Generic
URL Format - jdbc:pisql://PI Server IP Address/Data Source=PI Server Data Source;Integrated Security=SSPI;
Default Translator - MSSQL
When I try to create a Database Connection using the OSI PI JDBC Driver, the connection bounces between a reconnecting and faulted status, and I get the following error:
"Cannot create PoolableConnectionFactory (Connection failed. Please make sure the PI SQL DAS service is running, and you have supplied the correct port number. Connection refused: connect)"
I have confirmed that the PI SQL DAS service is running on the PI server, and that I can see the PI server from my Ignition Server.
I have tried updating the URL in my Database Connection to: jdbc:pisql://PI Server IP Address:PI SQL DAS Port/Data Source=PI Server Data Source;Integrated Security=SSPI;
But when I do this, my Database Connection immediately goes into a faulted status and I get a different error:
"Cannot create PoolableConnectionFactory (Connection failed. Error at index 4 in: "5469:5461")"
Does anybody know if this functionality is still supported on newer versions of Ignition? If so, are there any steps that I may be missing in my configuration that would help give better clarity on the errors that I am seeing?