BusinessWorks service agent could not be initialized on startup of BusinessEvents agent (Exception "The binding type [ soap ] is not valid").

BusinessWorks service agent could not be initialized on startup of BusinessEvents agent (Exception "The binding type [ soap ] is not valid").

book

Article ID: KB0084403

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
BusinessWorks service agent could not be initialized on startup of BusinessEvents agent.

Environment:
===========
BusinessEvents 3.0.2
All Operating Systems

Symptoms:
=========
Exception in log:
com.tibco.bw.service.config.errors.ServiceConfigException: [Service = file:////test//test.serviceagent; Endpoint = testEndpoint1]: The binding type [ soap ] is not valid  at com.tibco.bw.service.config.factory.ServiceConfigurationBuilder.loadEndpointBindingConfig(ServiceConfigurationBuilder.java:425)    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:257)
    at com.tibco.xml.tns.impl.TnsDocumentStoreImpl.documentAddedOrChanged(TnsDocumentStoreImpl.java:135)     at com.tibco.objectrepo.schema.TestCacheCache.documentAddedOrChanged(TestCacheCache.java:207)
    at com.tibco.objectrepo.schema.TestCacheCache.do(TestCacheCache.java:181)  
    at com.tibco.objectrepo.schema.TestCacheCache.do(TestCacheCache.java:170)  
    at com.tibco.objectrepo.schema.TestCacheCache.do(TestCacheCache.java:170)  
    at com.tibco.objectrepo.schema.TestCacheCache.do(TestCacheCache.java:170)  
    at com.tibco.objectrepo.schema.TestCacheCache.do(TestCacheCache.java:170)  
    at com.tibco.objectrepo.schema.TestCacheCache.&ltinit>(TestCacheCache.java:155)
    at com.tibco.pe.core.RepoAgentImpl.&ltinit>(RepoAgentImpl.java:84)
    at com.tibco.pe.core.RepoLoader.if(RepoLoader.java:187)
    at com.tibco.pe.core.RepoLoader.&ltinit>(RepoLoader.java:118)  
    at com.tibco.pe.PEMain.do(PEMain.java:332)
    at com.tibco.pe.PEMain.a(PEMain.java:197)  
    at com.tibco.pe.PEMain.&ltinit>(PEMain.java:192)
    at com.tibco.pe.PEMain.&ltinit>(PEMain.java:187)
    at com.tibco.be.functions.bw.PEContainer.newBWMain(PEContainer.java:271)
    at com.tibco.be.functions.bw.PEContainer.&ltinit>(PEContainer.java:85)  
    at com.tibco.be.functions.bw.PEContainer.getInstance(PEContainer.java:102)  
    at com.tibco.be.functions.bw.BWSupport.init(BWSupport.java:43)  
    at be.gen.Fix.null_initBW_$._initBW_(null_initBW_$.java:8)
    at be.gen.test$002e2_BE.BE$$Actions$Startup.execute(BE$$Actions.java:12)  
    at com.tibco.cep.kernel.core.rete.ReteWM.invoke(ReteWM.java:384)
    at com.tibco.cep.kernel.core.rete.ReteWM.start(ReteWM.java:166)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:285)
    at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(RuleSessionManagerImpl.java:238)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startAll(RuleServiceProviderImpl.java:845)  
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:190)
    at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:132)  
    at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:45)  

Cause:
======
Configuration issue.

Resolution:
========
Change the settings for the TRA-property "java.property.palettePath" in BE_HOME/bin/be-enginer.tra and in the deployed TRA file(s).

It is required either to remove the property java.property.palettePath or add the BusinessWorks libraries before the BusinessEvents libraries.


Example:

java.property.palettePath=%BW_HOME%/lib/palettes%PSP%%BW_PLUGINS_HOME%/lib/palettes%PSP%%TRA_HOME%/lib/palettes%PSP%%PSP%%BW_PLUGINS_HOME_OLD%/lib/palettes%PSP%%BE_HOME%/lib/palettes

NOTE:
By default the be-engine.tra file includes %BE_HOME%/lib/palettes only, which will not work.

Issue/Introduction

BusinessWorks service agent could not be initialized on startup of BusinessEvents agent (Exception "The binding type [ soap ] is not valid").