Error [java.lang.RuntimeException: Bad connection. Database may be disconnected. Resource Name - "/SharedResources/DBConceptsConnection.sharedjdbc"] seen in logs.

Error [java.lang.RuntimeException: Bad connection. Database may be disconnected. Resource Name - "/SharedResources/DBConceptsConnection.sharedjdbc"] seen in logs.

book

Article ID: KB0084546

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========
Error [java.lang.RuntimeException: Bad connection. Database may be disconnected. Resource Name - "/SharedResources/DBConceptsConnection.sharedjdbc"] seen in logs and nothing will work in BusinessEvents Application.

Environment:
==========
TIBCO Product name and version: TIBCO BusinessEvents (BE) 4.0.1, 5.0.0
Operating System(s): All

Symptoms:
========
See above description.

Cause:
=====
If a project has two DB Concept URLs specified in CDD and one fails to initialize then the other also does not get initialized and the application will throw the error [java.lang.RuntimeException: Bad connection. Database may be disconnected. Resource Name - "/SharedResources/DBConceptsConnection.sharedjdbc"].

Resolution:
========
Only workaround seems to be to have correct DB parameters (URL/Username/Password etc) for all of the shared JDBC resources in the project

Issue/Introduction

Error [java.lang.RuntimeException: Bad connection. Database may be disconnected. Resource Name - "/SharedResources/DBConceptsConnection.sharedjdbc"] seen in logs.