Web service basic authentication not working for BW application.

Web service basic authentication not working for BW application.

book

Article ID: KB0084625

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
========
Web service basic authentication not working for BW application.
 
Symptoms:
========

The following exception is thrown when web service basic authentication is used for BW applications.


======================================================================
com.tibco.pof.entity.EntityStoreException: java.lang.NullPointerException
    at com.tibco.pof.entitystore.AbstractEntityStore.initTransactionNotifier(AbstractEntityStore.java:501)
    at com.tibco.pof.entitystore.db.DBEntityStore.init(DBEntityStore.java:564)
    at com.tibco.pof.entitystore.EntityStoreManager.a(EntityStoreManager.java:221)
    at com.tibco.pof.entitystore.EntityStoreManager.getEntityStore(EntityStoreManager.java:202)
Caused by: java.lang.NullPointerException
    at com.tibco.pof.entity.AbstractChildEntity.getEntityStore(AbstractChildEntity.java:70)
    at com.tibco.pof.rendezvous.impl.TibrvJMSTransportConfigImpl.getTibrvJMSTransport(TibrvJMSTransportConfigImpl.java:60)
    at com.tibco.pof.entitystore.rvtransactionnotifier.RVOverJMSTransactionNotifier.init(RVOverJMSTransactionNotifier.java:67)
========================================================================

Cause :
=====
Not loading tibrvj.jar file for application causes the authentication failed exception.  

Resolution:
=======
Redeploy the application. If this does not address the error then try the following.

Check the tibrvj.jar present in the classpath of the application tra file for the "tibco.env.CUSTOM_EXT_PREPEND_CP" property. If the classpath is not present, then prepend %RV_HOME%/lib/tibrvj.jar to tibco.env.CUSTOM_EXT_PREPEND_CP in the deployed application tra file.

Issue/Introduction

Web service basic authentication not working for BW application.