TIBCO Business Events (BE) 3.0.1 throws an exception when configured with the DBConcepts feature.
book
Article ID: KB0087477
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description
=========
BE engine throws the following exception when configured with the DBConcepts feature:
java.lang.RuntimeException: jdbcResource /SharedResources/Database/<JDBCConnectionName>.sharedjdbc not found
at com.tibco.cep.modules.db.service.JDBCConnectionPoolManager.getJDBCConnection(JDBCConnectionPoolManager.java:56)
at com.tibco.cep.modules.db.functions.JDBCHelper.setCurrentConn(JDBCHelper.java:732)
at com.tibco.cep.modules.db.functions.JDBCHelper.setCurrentConnection(JDBCHelper.java:138)
Causes
=======
Usually this issue happens due to mis-configuration in BE projects with the dbconcepts feature.
Solutions
========
Check the following configurations.
1). JDBC shared resource is not added to the Shared Archive (SAR) in your Enterprise Archive (EAR). To solve this issue, open up your SAR manually and add the JDBC resource in the resources tab. Save it and rebuild the EAR.
2). With DB concepts, the "be.dbconcepts.dburi" property that points to the JDBC shared resource in your project is not added to the engine tra file.To fix this, add "be.dbconcepts.dburi=<JDBC Shared Resource URI> to the engine tra file.
Ex: be.dbconcepts.dburi=/MYDB.sharedjdbc
Issue/Introduction
TIBCO Business Events (BE) 3.0.1 throws an exception when configured with the DBConcepts feature.