Why does "createRvSession" return Null during the creation of a RVSession in an SDK based application on Solaris?
book
Article ID: KB0084913
calendar_today
Updated On:
Products
Versions
TIBCO Adapter SDK
-
Not Applicable
-
Description
Resolution: If "createRvSession" returns null it means that the requested RV session cannot be created. On Solaris, the reason can be that Rv library path is not included in LD_LIBRARY_PATH and PATH. Since JNI library (.so files under the $RV/sparc/lib directory) is required for the RV runtime library.
To resolve the problem, make sure that the LD_LIBRARY_PATH and PATH environment variables contain the Rv library path mentioned above.
Also, in certain installations of JAVA, the JRE executable (or the java executable) is a wrapper of the Java environment (link to .java_wrapper). In some user environments we have found out that the .java_wrapper file ignores the LD_LIBRARY_PATH variable setting. If you encounter this problem, try adding the RV library path to the .java_wrapper file.
Issue/Introduction
Why does "createRvSession" return Null during the creation of a RVSession in an SDK based application on Solaris?