TIBCO BusinessEvents engine throws an exception at startup when it uses DBConcepts. Error [main] - Failed to initialize Module jdbcChannel java.lang.Exception: Error while creating connection.

TIBCO BusinessEvents engine throws an exception at startup when it uses DBConcepts. Error [main] - Failed to initialize Module jdbcChannel java.lang.Exception: Error while creating connection.

book

Article ID: KB0094068

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description
= = = =  =
When configured to use DBConcepts, TIBCO BusinessEvents engine throws the following error during startup.

Error [main] - Failed to initialize Module jdbcChannel
java.lang.Exception: Error while creating connection
    at com.tibco.cep.modules.db.service.JDBCConnectionPool.init(JDBCConnectionPool.java:115)
    at com.tibco.cep.modules.db.service.JDBCConnectionPoolManager.init(JDBCConnectionPoolManager.java:30)
    at com.tibco.cep.modules.db.service.DBConnectionFactory.initialize(DBConnectionFactory.java:41)
    at com.tibco.cep.modules.impl.ModuleManagerImpl.init(ModuleManagerImpl.java:39)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initModules(RuleServiceProviderImpl.java:757)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:638)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:212)
    at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:115)
    at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:45)

However, the engine successfully starts. How to make sure that this error is not thrown in our log files?

Resolution

= = = = = 

Check if you have configured another JDBC connection in your project, if so, check if that is a valid connection and has proper credentials and is configured correctly. Or remove the extra JDBC connections which are no longer used. Note that even though these JDBC connections are not used in your actual project, just configuring them in the project could initialize them at startup.

Issue/Introduction

TIBCO BusinessEvents engine throws an exception at startup when it uses DBConcepts. Error [main] - Failed to initialize Module jdbcChannel java.lang.Exception: Error while creating connection.