Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
TIBCO BusinessEvents (BE) engine Agent fails to connect to the database with MissingFormatArgumentException.
Environment:
===========
o BusinessEvents 4.0.1
o SQL Server
o All Operating Systems
Symptoms:
=========
011 Dec 05 12:14:24:516 GMT -5 CacheTransactionManager-TransactionManager Warning [DistributedCache] - [jdbcstore] Failed to register datasource: /Resources/Connections/BackingStore DB.sharedjdbc
2011 Dec 05 12:14:24:532 GMT -5 CacheTransactionManager-TransactionManager Warning [DistributedCache] - [jdbcstore] BECoherenceJdbcStore initialization failed.
java.util.MissingFormatArgumentException: Format specifier 's'
at java.util.Formatter.format(Formatter.java:2432)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at com.tibco.cep.runtime.service.logging.impl.LoggerImpl.log(LoggerImpl.java:85)
at com.tibco.be.jdbcstore.impl.DBManager.registerOracleDataSource(DBManager.java:269)
at com.tibco.be.jdbcstore.impl.DBManager.init(DBManager.java:168)
at com.tibco.be.jdbcstore.BECoherenceJdbcStore.initialize(BECoherenceJdbcStore.java:450)
at com.tibco.be.jdbcstore.BECoherenceJdbcStore.<init>(BECoherenceJdbcStore.java:129)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:615)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2501)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2426)
at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateAny(DefaultConfigurableCacheFactory.java:3256)
at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateCacheStore(DefaultConfigurableCacheFactory.java:3106)
at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateReadWriteBackingMap(DefaultConfigurableCacheFactory.java:1674)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1429)
at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:3904)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.instantiateResourceMap(PartitionedCache.CDB:22)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.CDB:25)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ServiceConfig$ConfigListener.entryInserted(PartitionedCache.CDB:17)
Cause:
======
In TIBCO BE,when using SQLserver database,only jdbc type strategy is supported.The above error is thrown when the strategy type is defined as oracle in the cluster deployment descriptor(cdd) file.
Resolution:
========
The above error is thrown when the strategy type is defined as oracle in the cdd file. Change the strategy type to jdbc in the cdd file resolves the issue.