VigneshKarthik

Need to know the configuration for communication to PI database

Discussion created by VigneshKarthik on Sep 11, 2014
Latest reply on Sep 11, 2014 by Daniel Takara

Hi,

 

I am new to PI server.I am developed the java application to communication with PI database through the PI RDBS & PI JDBC interfaces in same machine.

 

My requirement is each system to interact with the PI server (includes PI interface in same machine).There is a java application to load the JDBC class to communicate to PI Server.While I am trying to run the program in separate machine:

 

Eventhough the jar file its in the build path.

 

 java.lang.UnsatisfiedLinkError: no RdsaWrapper64 in java.library.path
 at java.lang.ClassLoader.loadLibrary(Unknown Source)
 at java.lang.Runtime.loadLibrary0(Unknown Source)
 at java.lang.System.loadLibrary(Unknown Source)
 at com.osisoft.rdsa.NativeRDSA.loadLibrary(NativeRDSA.java:237)
 at com.osisoft.rdsa.NativeRDSA.(NativeRDSA.java:202)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:180)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:127)
 at com.osisoft.jdbc.ConnectionImpl.(ConnectionImpl.java:75)
 at com.osisoft.jdbc.DriverExtension.connect(DriverExtension.java:121)
 at com.osisoft.jdbc.Driver.connect(Driver.java:261)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at getSnap.main(getSnap.java:21)
java.lang.ClassNotFoundException: Native RDSAWrapper
 at com.osisoft.rdsa.NativeRDSA.loadLibrary(NativeRDSA.java:245)
 at com.osisoft.rdsa.NativeRDSA.(NativeRDSA.java:202)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:180)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:127)
 at com.osisoft.jdbc.ConnectionImpl.(ConnectionImpl.java:75)
 at com.osisoft.jdbc.DriverExtension.connect(DriverExtension.java:121)
 at com.osisoft.jdbc.Driver.connect(Driver.java:261)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at getSnap.main(getSnap.java:21)
java.sql.SQLException: Native RDSAWrapper
 at com.osisoft.jdbc.ConnectionImpl.(ConnectionImpl.java:81)
 at com.osisoft.jdbc.DriverExtension.connect(DriverExtension.java:121)
 at com.osisoft.jdbc.Driver.connect(Driver.java:261)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)
 at getSnap.main(getSnap.java:21)
Caused by: com.osisoft.rdsa.RdsaException: Native RDSAWrapper
 at com.osisoft.rdsa.NativeRDSA.(NativeRDSA.java:214)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:180)
 at com.osisoft.rdsa.NativeRDSA.create(NativeRDSA.java:127)
 at com.osisoft.jdbc.ConnectionImpl.(ConnectionImpl.java:75)
 
Please let me know.
Thanks,
Vignesh

Outcomes