Error:“Caused by: java.lang.RuntimeException: There is more than one plugin for the following implementation type:bw”.

Error:“Caused by: java.lang.RuntimeException: There is more than one plugin for the following implementation type:bw”.

book

Article ID: KB0094379

calendar_today

Updated On: 01-13-2017

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============
When running BW service agent the following error occurs:
---------------------------------------------
java.lang.RuntimeException: Exception caught while loading the Service plugins [implementation types]
at com.tibco.bw.platform.ImplementationTypes.a(ImplementationTypes.java:64)
    at com.tibco.bw.platform.PluginsLoader.loadImplementationTypes(PluginsLoader.java:46)
    at com.tibco.bw.platform.PluginsLoader.loadPlugins(PluginsLoader.java:37)
    at com.tibco.bw.platform.PluginsLoader.getInstance(PluginsLoader.java:17)
    at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.loadEndpointBindingConfig(ServiceConfigurationBuilder.java:422)
    at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.loadEndpointBindingConfig(ServiceConfigurationBuilder.java:416)
    at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.loadEndpointBindings(ServiceConfigurationBuilder.java:407)
    at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.createPartialServiceConfig(ServiceConfigurationBuilder.java:355)
    at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.createPartialServiceConfiguration(ServiceConfigurationBuilder.java:157)
    at com.tibco.bw.service.tns.wsdl.WsdlGenerator4ServiceResource.createWsdl(WsdlGenerator4ServiceResource.java:93)
    at com.tibco.bw.service.tns.wsdl.Service2WsdlTnsFlavor.parse(Service2WsdlTnsFlavor.java:41)
    at com.tibco.xml.tns.impl.TnsDocumentStoreImpl.a(TnsDocumentStoreImpl.java:256)
    at com.tibco.xml.tns.impl.TnsDocumentStoreImpl.documentAddedOrChanged(TnsDocumentStoreImpl.java:135)
    at com.tibco.objectrepo.schema.VFileTNSCache.documentAddedOrChanged(VFileTNSCache.java:207)
    at com.tibco.objectrepo.schema.VFileTNSCache.if(VFileTNSCache.java:181)
    at com.tibco.objectrepo.schema.VFileTNSCache.if(VFileTNSCache.java:170)
    at com.tibco.objectrepo.schema.VFileTNSCache.if(VFileTNSCache.java:170)
    at com.tibco.objectrepo.schema.VFileTNSCache.if(VFileTNSCache.java:170)
    at com.tibco.objectrepo.schema.VFileTNSCache.<init>(VFileTNSCache.java:155)
    at com.tibco.ae.tools.designer.schema.impl.SchemaToolImpl.doMakeReady(SchemaToolImpl.java:339)
    at com.tibco.ae.tools.designer.schema.impl.SchemaToolImpl.registerTnsResourceChange(SchemaToolImpl.java:176)
    at com.tibco.xml.ui.turbo.XASchemaSharedResource.updateTnsCache(Unknown Source)
    at com.tibco.xml.ui.turbo.XASchemaSharedResource.didAddToDocument(Unknown Source)
    at com.tibco.ae.tools.designer.RootFolderWatcher.addListenersOn(RootFolderWatcher.java:307)
    at com.tibco.ae.tools.designer.RootFolderWatcher.cleanup(RootFolderWatcher.java:206)
    at com.tibco.ae.tools.designer.RootFolderWatcher.handleContentsChange(RootFolderWatcher.java:179)
    at com.tibco.ae.tools.designer.RootFolderWatcher.propertyChange(RootFolderWatcher.java:113)
    at com.tibco.ae.designerapi.util.AEPropertyChangeSupport.firePropertyChange(AEPropertyChangeSupport.java:120)
    at com.tibco.ae.designerapi.util.AEPropertyChangeSupport.firePropertyChange(AEPropertyChangeSupport.java:90)
    at com.tibco.ae.designerapi.DesignerResource.firePropertyChange(DesignerResource.java:1280)
    at com.tibco.ae.designerapi.DesignerResource.fireContentsNotificationOfDataChange(DesignerResource.java:1374)
    at com.tibco.ae.designerapi.DesignerGroupResource.notifyIfAddedKnownChild(DesignerGroupResource.java:813)
    at com.tibco.ae.designerapi.DesignerGroupResource.addResource(DesignerGroupResource.java:848)
    at com.tibco.ae.designerapi.DesignerResourceStore.loadResourceFrom(DesignerResourceStore.java:754)
    at com.tibco.ae.designerapi.DesignerResourceStore.loadResourcesFrom(DesignerResourceStore.java:703)
    at com.tibco.ae.designerapi.DesignerResourceStore.initializeResource(DesignerResourceStore.java:1055)
    at com.tibco.ae.designerapi.DesignerFolder.initializeChildren(DesignerFolder.java:202)
    at com.tibco.ae.designerapi.DesignerFolder.getOrderedChildren(DesignerFolder.java:131)
    at com.tibco.ae.designerapi.DesignerGroupResource.getChildCount(DesignerGroupResource.java:436)
    at com.tibco.ae.designerapi.AEResourceOperations.getChildCount(AEResourceOperations.java:683)
    at com.tibco.ae.designerapi.models.FilteredTreeModel.getFilteredChildren(FilteredTreeModel.java:76)
    at com.tibco.ae.designerapi.models.FilteredTreeModel.getChildCount(FilteredTreeModel.java:99)
    at com.tibco.ae.tools.palettes.processpalette.actions.ResourceChooser.a(ResourceChooser.java:438)
    at com.tibco.ae.tools.palettes.processpalette.actions.ResourceChooser.a(ResourceChooser.java:447)
    at com.tibco.ae.tools.palettes.processpalette.actions.ResourceChooser.a(ResourceChooser.java:447)
    at com.tibco.ae.tools.palettes.processpalette.actions.ResourceChooser.a(ResourceChooser.java:447)
    at com.tibco.ae.tools.palettes.processpalette.actions.ResourceChooser.<init>(ResourceChooser.java:124)
    at com.tibco.ae.tools.palettes.processpalette.actions.ShowDebugProcessDialog.showDialog(ShowDebugProcessDialog.java:95)
    at com.tibco.ae.tools.palettes.processpalette.actions.DebugStartAction.actionPerformed(DebugStartAction.java:107)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:616)
    at java.awt.EventQueue$2.run(EventQueue.java:614)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: There is more than one plugin for the following implementation type:bw
    at com.tibco.bw.platform.ImplementationTypes.a(ImplementationTypes.java:56)
-----------------------------------------------
Environment:
===========
All

Cause:
=====
When two or more different versions of BW are present in the following path in the Designer.tra file then BW generates the preceeding error:

1).    tibco.env.CUSTOM_PATH
2).    tibco.env.CUSTOM_CP_EXT
3).    tibco.env.CUSTOM_PALETTE_PATH

Resolution:
==========
Remove all the other versions of BW from the following path and keep the version you want to run:

1).    tibco.env.CUSTOM_PATH
2).    tibco.env.CUSTOM_CP_EXT
3).    tibco.env.CUSTOM_PALETTE_PATH

Issue/Introduction

Error:“Caused by: java.lang.RuntimeException: There is more than one plugin for the following implementation type:bw”.