AnsweredAssumed Answered

Linux RH jdbc connectivity issue

Question asked by ilyas Champion on Oct 12, 2015
Latest reply on Oct 23, 2015 by gregor

Hello everybody,

 

We tested our jdbc connection on windows its working fine.

Our web portal is deployed on one of the Linux machine(RHEL), & when we are trying to establish the jdbs connection with PI Server below is theerror:

(Checked privileges for libuuid.so.1 file,it has highest level of privileges)

 

 

java.lang.UnsatisfiedLinkError: /opt/pipc/jdbc/lib/libRdsaWrapper-1.3.0b.so: libuuid.so.1: cannot open shared object file: Permission denied

        at java.lang.ClassLoader$NativeLibrary.load(Native Method)

        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)

        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)

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

        at java.lang.Runtime.load0(Runtime.java:795)

        at java.lang.System.load(System.java:1062)

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

        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:571)

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

        at com.main.PIJDBCTest.main(PIJDBCTest.java:26)

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:571)

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

        at com.main.PIJDBCTest.main(PIJDBCTest.java:26)

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:571)

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

        at com.main.PIJDBCTest.main(PIJDBCTest.java:26)

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)

        ... 5 more

 

 

Kindly suggest.

 

Thanks

Outcomes