AnsweredAssumed Answered

Getting Error Durring While Configuring PI JDBC On Ubuntu 14.04

Question asked by QasimGulzar on Mar 25, 2016
Latest reply on Mar 29, 2016 by gregor

I am trying to use PI JDBC Drive, I am using it on windows and it is working perfect now, I want to install PI JDBC on my ubuntu machine when I execute my program it throw Exception. please guide me how i can fix this issue.

 

java.lang.UnsatisfiedLinkError: no RdsaWrapper64 in java.library.path

  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)

  at java.lang.Runtime.loadLibrary0(Runtime.java:870)

  at java.lang.System.loadLibrary(System.java:1122)

  at com.osisoft.rdsa.NativeRDSA.loadLibrary(NativeRDSA.java:237)

  at com.osisoft.rdsa.NativeRDSA.<init>(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.<init>(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(DriverManager.java:664)

  at java.sql.DriverManager.getConnection(DriverManager.java:270)

  at com.company.Main.main(Main.java:30)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

java.lang.ClassNotFoundException: Native RDSAWrapper

  at com.osisoft.rdsa.NativeRDSA.loadLibrary(NativeRDSA.java:245)

  at com.osisoft.rdsa.NativeRDSA.<init>(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.<init>(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(DriverManager.java:664)

  at java.sql.DriverManager.getConnection(DriverManager.java:270)

  at com.company.Main.main(Main.java:30)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

java.sql.SQLException: Native RDSAWrapper

  at com.osisoft.jdbc.ConnectionImpl.<init>(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(DriverManager.java:664)

  at java.sql.DriverManager.getConnection(DriverManager.java:270)

  at com.company.Main.main(Main.java:30)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

Caused by: com.osisoft.rdsa.RdsaException: Native RDSAWrapper

  at com.osisoft.rdsa.NativeRDSA.<init>(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.<init>(ConnectionImpl.java:75)

  ... 10 more

Outcomes