Agent reports: Exception "java.lang.RuntimeException: jdbcResource resource" not found.

Agent reports: Exception "java.lang.RuntimeException: jdbcResource resource" not found.

book

Article ID: KB0084582

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Agent reports: Exception "java.lang.RuntimeException: jdbcResource &ltresource>" not found.


Environment:
===========
BusinessEvents 5.0
All Operating Systems

Symptoms:
=========
Agent throws Exception when  executing catalog function: "Database.setCurrentConnection(&ltJDBC>);

com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: java.lang.RuntimeException: jdbcResource /resources/jdbc/DBConnection.sharedjdbc not found
    at com.tibco.cep.modules.db.service.JDBCConnectionPoolManager.getJDBCConnection(SourceFile:59)
    at com.tibco.cep.modules.db.functions.JDBCHelper.a(SourceFile:734)
    at com.tibco.cep.modules.db.functions.JDBCHelper.setCurrentConnection(SourceFile:126)
    at be.gen.affAuditTrail.functions.nullWriteNewPlanItemLogEntry$oversizeName.WriteNewPlanItemLogEntry(nullWriteNewPlanItemLogEntry$oversizeName.java:20)
    at be.gen.affAuditTrail.functions.nullPlanItemLogEntryPreProcessingEvent$.PlanItemLogEntryPreProcessing(nullPlanItemLogEntryPreProcessingEvent$.java:17)
    at be.gen.affAuditTrail.functions.PlanItemLogEntryPreProcessing.invoke(PlanItemLogEntryPreProcessing.java:13)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:929)
...

Cause:
======
Misconfiguration (DBConcepts).

Resolution:
========
1). Open the project’s CDD and select the Cluster tab > Database Concepts.

2). In the Database URIs field, add all JDBC shared resources used for creating database concepts. Click the plus sign to add a new row as needed and add the project path to the resource.

3). Select the Processing Units tab (at the bottom of the window).
and enable database concepts. Check the Enable Database Concepts checkbox.

Issue/Introduction

Agent reports: Exception "java.lang.RuntimeException: jdbcResource resource" not found.