Troubleshooting
JDBC 1.1 and PI Server 5.6 do not answer Java 8 compatibility
Short answer
Neither label identifies a real product: PI Data Archive versions are year-based or start with 3.4 followed by three build digits, and JDBC 1.1 is an interface level, not a PI driver. The actual product is PI JDBC Driver, which is JDBC 4.1 compliant; PI SQL Client JDBC requires JRE 8 to 17, and PI JDBC Driver 2018 documents a tested scenario on JRE SE 8.0_172. Inventory the archive, driver, runtime and access-server components before replacing any library.

On this page
The question as asked cannot be answered, and that is the useful finding. JDBC 1.1 and PI Server 5.6 identify no real product pair: PI Data Archive versions are year-based or start with 3.4 followed by three build digits, and JDBC 1.1 is an old interface specification level, not a PI driver product. The product that speaks JDBC to a PI system is PI JDBC Driver, and its Java support is documented in ranges you can check against the runtime the application actually loads. Below is the inventory to run, the documented runtime ranges, the access-server components a JDBC connection needs, and the test that proves the repaired path for the operator.
Is JDBC 1.1 compatible with PI Server 5.6? #
Neither label names a real product pair: PI Data Archive versions are year-based or start with 3.4 followed by three build digits, and no PI product is called JDBC 1.1, so compatibility cannot be judged until you replace both labels with installed versions. JDBC 1.1 is a specification level from the late 1990s that a driver declares about its own interface; it says nothing about which driver product or release sits on the machine. PI Server 5.6 matches no Data Archive numbering scheme the manufacturer has ever used. The Data Archive is also not a SQL database, so the pairing itself misreads the architecture — see whether the PI Data Archive stores tag data in SQL Server for how the archive actually holds its data.
The product that gives Java applications JDBC access to PI data is PI JDBC Driver, which is JDBC 4.1 compliant. That compliance statement describes the interface the driver implements; it is not a Data Archive version and not a promise that every runtime, driver release and server combination works together. Decision: do not approve or reject any combination on these two labels. Read the installed-products list on the historian server and the driver information on the client, and continue with real version numbers.
Which Java versions does the PI JDBC driver support? #
PI SQL Client JDBC requires a Java runtime from 8 to 17, and PI JDBC Driver 2018 documents a tested scenario on JRE SE 8.0_172, so a Java 8 deployment sits inside the documented range on both counts. Note what each statement covers. The range in the current client's system requirements applies to that product's documented releases; the 2018 statement names one tested build, and a tested scenario is narrower than blanket compatibility with every Java 8 installation on a machine.
Java 8 is therefore not the suspect on its own. A failure reported on Java 8 points at one of three things instead: a driver release older than the documentation that covers Java 8, a missing or misconfigured access-server component, or a connection and permissions problem in the application's own configuration. Decision: when the inventory shows Java 8 with a driver release documented against it, keep the runtime and hunt downstream.
What do I inventory before changing a Java library? #
Before you touch a library, read five facts from the running system: the Data Archive version, the PI JDBC Driver release, the JDBC compliance level, the Java runtime the application actually loads, and the installed PI SQL Data Access Server (OLE DB) and PI OLEDB Enterprise components. A machine can carry several Java installations and several copies of a driver library; the application uses the ones its launch configuration and classpath select, so read versions from the running process, not from what was installed last.
| What to read | Where to read it | What it resolves |
|---|---|---|
| PI Data Archive version | Installed-products list on the historian server | The PI Server 5.6 label |
| PI JDBC Driver release | Installed driver information and the library the application loads | Which documentation applies |
| JDBC compliance level | That release's documentation | Interface level versus product release |
| Java runtime | The application process or its startup diagnostics | The runtime actually executing the JDBC calls |
| PI SQL Data Access Server (OLE DB) and PI OLEDB Enterprise | Installed components on server and client | The data-access dependencies of the chosen path |
Worked example. Suppose the application's startup log shows the Java build 1.8.0_172 and the classpath loads PI JDBC Driver 2018. The major version is 8, and 8 is inside the documented JRE 8 to 17 range of PI SQL Client JDBC. The update number, 172, equals the 172 of the tested scenario for the 2018 release, so the combination matches on both documents. Decision for this case: keep Java, keep the driver release, and move the investigation to the access-server layer — the version arithmetic rules the runtime out as the fault.
Why does the driver load but the display still fails? #
A loaded driver proves only that Java found and initialized its classes; a value on screen additionally needs a valid connection configuration, reachable access services, accepted credentials, data permissions and a query that addresses the right data. PI JDBC access also requires PI SQL Data Access Server (OLE DB) and/or PI OLEDB Enterprise; later releases require the PI SQL Data Access Server (RTQP Engine) kit installed on the server side, while PI OLEDB Enterprise is a client. Installing the JDBC library alone is not a complete PI data-access deployment.
Diagnose in this order:
- Read the display's diagnostic message and classify it: connection failure, query failure or missing value.
- Run the same query outside the display binding, with the application's Java runtime, driver and connection configuration.
- If the independent query fails, capture the exception message and any nested exception details, then check driver loading, connection setup, service reachability, authentication and permissions in that order.
- If the independent query returns the expected result, inspect the display binding, the selected result column, value conversion and refresh behavior.
- If only one tag fails, compare its identifier and access rights with a working tag before changing anything.
Decision: a connection failure before any query executes is upstream of tag selection — look at the access-server installation and network path. A result that reaches Java but never reaches the screen is a binding or conversion fault, and replacing the driver there only adds a variable.
How do I correct the PI JDBC installation? #
Correct the installation from the manufacturer's official support portal, changing one layer at a time, and only after the inventory tells you which layer is actually out of date. Work through these steps:
- Record the current driver release, the loaded Java runtime, the Data Archive version and the installed access components; this is your rollback baseline.
- Obtain the chosen driver release from the manufacturer's official support portal, and keep the installer together with its documentation so the deployed combination stays traceable.
- Read that release's documentation for its supported runtimes and its required PI SQL Data Access Server (OLE DB) and/or PI OLEDB Enterprise configuration.
- Install or correct the access-server components, including the server-side kit where the documentation requires it, before touching the client.
- Update the application's driver reference through its normal deployment process, and remove unintended duplicate driver libraries from the active classpath so the application cannot load the wrong one.
- Restart the application if the platform requires it, then confirm from its startup diagnostics that the intended driver and runtime loaded.
- Change one layer at a time and keep the rollback route open; swapping Java, the driver and the access-server settings together makes any regression nearly impossible to locate.
Decision: if the inventory shows a supported runtime and a current driver, steps 4 and the connection configuration are where the repair lives — not step 5.
What proves the fix works for the operator? #
The repair is proven when the deployed application, running under its own service identity and Java runtime, completes a known authorized query and shows the returned value, identifier and timestamp on the operator display. A test that succeeds under an engineering account proves nothing about the account the application actually uses, and a test against a stand-in endpoint proves nothing about the plant network path — the same reason PI SDK cloud tests need a real PI Server endpoint.
Run the proof like this:
- Start the application and confirm no driver-loading errors appear and the loaded driver and runtime match the inventory.
- Establish the PI connection as the deployed application identity, through the production endpoint.
- Execute a known query and verify the returned tag identifier, value and timestamp where those fields are requested.
- Compare the display against that result, including how it renders a missing value.
Decision: pass all four and the path is repaired under production conditions; fail any one and the failing step names the layer to reopen — identity and permissions at the connection step, query or binding at the comparison step, never the runtime that the documentation already covers.
Questions asked
Is a JDBC 4.1 driver allowed to run on Java 8?
Yes. The compliance number states the interface the driver implements, not the newest runtime it may touch. Java 8 ships a newer JDBC interface set that keeps the older one compatible, so a driver written to the 4.1 interface loads and runs; the release documentation still decides which Java builds that specific driver release was tested on.
Where do you get PI JDBC Driver and its documentation?
From the manufacturer's official support portal, which distributes the installer and the matching documentation under its support program. Download the exact release you inventoried and keep the installer and documents together, because a driver library copied from another project has no traceable release and cannot be checked against any documented runtime range.
Can a generic JDBC driver read PI Data Archive data directly?
No. The archive is not a relational database and exposes no SQL wire protocol; queries reach it through the PI access-server layer, which translates them into archive calls. A database vendor's driver speaks its own network protocol to its own server, so pointing one at a Data Archive address produces a connection failure, not data.
Does a single failing tag mean the driver is the problem?
Almost never. A driver or runtime fault fails the connection or every query through it, while a single failing tag points at that tag's identifier spelling, security mapping, point type or the display binding that reads it. Compare the failing tag with a working one over the same connection before touching any Java library.


