Is there a pure java jdbc driver ? curently it seems to have a native dependency (NativeRDSA)
I need to run from many operating systems, AIX, Solaris, HP-UX, VXWORKS
Are you talking about this driver? PI JDBC Driver - Overview
From this reference:
PI JDBC Driver is based on the JDBC 4.0 API (Java Platform SE 6) specification.
Java Runtime (JRE) 126.96.36.199 or later OpenSSL 0.9.8 or OpenSSL 1.0.0 Further dependencies are based on the OpenSSL version being used: OpenSSL 0.9.8 libstdc++ 4.2, including GLIBCXX_3.4.9 (standard GNU C++ shared library) glibc 2.4 (standard GNU C shared library) libgcc 4.1.2 (standard GNU C Compiler runtime library) OpenSSL 1.0.0 glibc 2.11
It is important to read the documentation for this product because it requires the installation of the DAS (Data Access Server).
Please let us know if you have more questions.
Yes. I am referring to the JDBC driver.
It is type 4 but it seems to have a native call to the OS so, it is not pure java, Since we need to run on many OS's I would like to have a pure java version. Is there one available?
The one I have now is 1.3.0.0251 (JDBC Driver [com.osisoft.jdbc.Driver] Version [1.3] ) -- anything newer that does not need the NativeRDSA or is there a way not to load/need this native extension, perhaps via a property file?
If I use the JDBC driver without installing something in windows or linux we get the following:
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
In Windows -- this is the DLL that implements "NativeRDSA", RDSAWrapper.dll (or something like that).
Let me know if there is a pure java one OR -- how not to need this DLL.
I spoke with one of our developer (Michael Hesselbach ) about the compatibility of the JDBC client as I am not completely familiar with this product.
Our current JDBC driver has a native code part on the client side, this is because our RDSAWrapper library depends on the availability of the openssl library.
This means that it is currently only possible to use Linux or Windows.
Also, there is no other native implementation available at the time we speak.
I don't know about your project yet, but maybe you may consider another technology such as PI Web API, you can see the full list of our available technologies here: Developer Technologies
And you can compare them here: KB01046 - PI Data Access Features
No RdsaWrapper64 Error
System variable needs to be defined properly and you should normally find detailed explanation in the documentation.
In the documentation P.23
On 32-bit Linux, the 64-bit PI JDBC driver cannot be called, therefore you do not need to define PI_RDSA_LIB64.
Hope this helps and let us know in case you have more questions.
Patrice's reply from May 4th looks like the [Correct Answer] to me. Would you mind marking it accordingly?
Please allow me marking your question assumed answered. If this is not the case, please feel free to come back to this thread at any time convinient for you.
Retrieving data ...