What does it mean when my SDK Java application fails to start and gives a "Native implementation required" exception?

What does it mean when my SDK Java application fails to start and gives a "Native implementation required" exception?

book

Article ID: KB0088222

calendar_today

Updated On:

Products Versions
TIBCO Adapter SDK -
Not Applicable -

Description

Resolution:
SDK requires the TIBCO Rendezvous Java library, which in turn requires a native shared library (libtibrvj) to function.

To resolve this problem, please check and set the following:

1. Set your PATH environment variable to point to the TIBCO Rendezvous bin directory, e.g. /usr/tibco/tibrv/bin.

2. Set your shared library path environment variable LD_LIBRARY_PATH (HPUX also looks for SHLIB_PATH) to include TIBCO RV lib directory. For Solaris, it's LD_LIBRARY_PATH, for AIX this variable should be LIBPATH (newer IBM java implementation, older version accept LD_LIBRARY_PATH)

Remember to do an "export SHLIB_PATH=/usr/tibco/tibrv/lib" for sh/ksh users.

3. After you have tried all of the above but to no avail, try to un-install and re-install RV.


Here's a saample stack dump:

TibrvException[error=27,message=Native implementation required]
        at com.tibco.tibrv.TibrvRvdTransport.init(TibrvRvdTransport.java:63)
        at com.tibco.tibrv.TibrvRvdTransport.&ltinit>(TibrvRvdTransport.java:38)
        at com.tibco.sdk.events.pubsub.MRvdaSession.fetchSession(MRvdaSession.java:84)
        at com.tibco.sdk.events.pubsub.MRvdaSession.getTibrvQueue(MRvdaSession.java:122)
        at com.tibco.sdk.events.MRvSession.activate(MRvSession.java:314)
        at com.tibco.sdk.internal.MStartup.activateComponent(MStartup.java:140)
        at com.tibco.sdk.MDefaultApp.activateComponents(MDefaultApp.java:445)
        at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:286)
        at com.tibco.sdk.MApp.start(MApp.java:139)
        at pubsub.&ltinit>(pubsub.java:56)
        at pubsub.main(pubsub.java:75)
java.lang.IllegalArgumentException: Null parameter
        at com.tibco.tibrv.TibrvQueueGroup.add(TibrvQueueGroup.java:95)
        at com.tibco.sdk.events.MRvSession.activate(MRvSession.java:314)
        at com.tibco.sdk.internal.MStartup.activateComponent(MStartup.java:140)
        at com.tibco.sdk.MDefaultApp.activateComponents(MDefaultApp.java:445)
        at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:286)
        at com.tibco.sdk.MApp.start(MApp.java:139)
        at pubsub.&ltinit>(pubsub.java:56)
        at pubsub.main(pubsub.java:75)

Issue/Introduction

What does it mean when my SDK Java application fails to start and gives a "Native implementation required" exception?