java.lang.NoSuchMethodError:com.tibco.cep.repo.DeployedProject.getSharedArchiveResourceProvider error while starting Cache Agent in TIBCO BusinessEvent 5.0.
book
Article ID: KB0087683
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============ java.lang.NoSuchMethodError:com.tibco.cep.repo.DeployedProject.getSharedArchiveResourceProvider error while starting Cache Agent in TIBCO BusinessEvent 5.0.
Environment: =========== TIBCO BusinessEvents 5.0.0 All Operating Systems
Symptoms: ========== The following error is thrown when the Cache Agent engine is started. In this case, the project was migrated from TIBCO BusinessEvent 3.0 to TIBCO BusinessEvent 5.0.
2012 Mar 14 13:39:25:933 GMT +5 AF_OCV Error [main] - [root] java.lang.NoSuchMethodError: com.tibco.cep.repo.DeployedProject.getSharedArchiveResourceProvider()Lcom/tibco/cep/repo/ArchiveResourceProvider; 2012 Mar 14 13:39:25:933 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.modules.db.service.DBConnectionFactory.loadJDBCResources(DBConnectionFactory.java:102) 2012 Mar 14 13:39:25:933 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.modules.db.service.DBConnectionFactory.initialize(DBConnectionFactory.java:39) 2012 Mar 14 13:39:25:943 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.modules.impl.ModuleManagerImpl.init(ModuleManagerImpl.java:40) 2012 Mar 14 13:39:25:943 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initModules(RuleServiceProviderImpl.java:962) 2012 Mar 14 13:39:25:943 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:657) 2012 Mar 14 13:39:25:943 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:263) 2012 Mar 14 13:39:25:943 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:134) 2012 Mar 14 13:39:25:953 GMT +5 AF_OCV Error [main] - [root] at com.tibco.cep.container.standalone.BEMain.main(SourceFile:59) 2012 Mar 14 13:39:36:866 GMT +5 AF_OCV Info [CTRL-C] - [runtime.session] Shutting down service provider: AF_OCV 2012 Mar 14 13:39:36:866 GMT +5 AF_OCV Info [CTRL-C] - [runtime.session] RuleServiceProvider AF_OCV is shutting down. 2012 Mar 14 13:39:36:866 GMT +5 AF_OCV Info [CTRL-C] - [runtime.session] Stopping services ... 2012 Mar 14 13:39:36:881 GMT +5 AF_OCV Error [CTRL-C] - [root] java.lang.RuntimeException: Error occurred while stopping secondary services 2012 Mar 14 13:39:36:881 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.service.ServiceRegistry.discard(ServiceRegistry.java:202) 2012 Mar 14 13:39:36:897 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.shutdown(RuleServiceProviderImpl.java:1245) 2012 Mar 14 13:39:36:897 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.shutdown(RuleServiceProviderImpl.java:1156) 2012 Mar 14 13:39:36:912 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.session.RuleServiceProviderManager$ShutdownThread.run(RuleServiceProviderManager.java:274) 2012 Mar 14 13:39:36:928 GMT +5 AF_OCV Error [CTRL-C] - [root] Caused by: java.lang.NullPointerException 2012 Mar 14 13:39:36:928 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.management.impl.metrics.AsyncWorkerDataPublisher.discard(AsyncWorkerDataPublisher.java:83) 2012 Mar 14 13:39:36:959 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.management.impl.DefaultManagementCentral.stop(DefaultManagementCentral.java:65) 2012 Mar 14 13:39:36:990 GMT +5 AF_OCV Error [CTRL-C] - [root] at com.tibco.cep.runtime.service.ServiceRegistry.discard(ServiceRegistry.java:199) 2012 Mar 14 13:39:36:990 GMT +5 AF_OCV Error [CTRL-C] - [root] ... 3 more
Cause: ======= Due to the project being migrated across, check the be-engine.tra file and confiem that there are no references to either 3.x library or 3.x jar files. If there are references remove and replace them with BusinessEvent 5.0 library reference. If this is not done the incorrect jar files will be picked during the cache agent startup.
Resolution: ============ Replace any reference to BE3.0 including library and jar files from the Business Event 5.0 be-engine.tra file and start the engine again.
Issue/Introduction
java.lang.NoSuchMethodError:com.tibco.cep.repo.DeployedProject.getSharedArchiveResourceProvider error while starting Cache Agent in TIBCO BusinessEvent 5.0.