Starting a service agent gives the exception,"Cannot assign requested address."

Starting a service agent gives the exception,"Cannot assign requested address."

book

Article ID: KB0091533

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
==================
Engine starts but as soon as it tries to bind to the service port, it throws the following exceptions:

BWENGINE-100001 Activation error with plugin agent [Administration/GUIServices/CategoryServices/intfCategory-service.serviceagent]
Activation error with plugin agent
...
caused by: An IOException occurred while initializing the service
...
caused by: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Cannot assign requested address:9950
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:827)
    at com.tibco.bw.service.binding.bwhttp.tomcat.TomcatServer.startTomcat(TomcatServer.java:119)
    at com.tibco.bw.service.binding.bwhttp.tomcat.TomcatDriver.startTomcat(TomcatDriver.java:287)
    at com.tibco.bw.service.binding.bwhttp.tomcat.TomcatDriver.startListening(TomcatDriver.java:47)
    at com.tibco.bw.service.binding.soap.http.SoapHttpTransportApplication.activate(SoapHttpTransportApplication.java:71)
    at com.tibco.bw.service.impl.DefaultService.activate(DefaultService.java:214)
    at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(ServiceServiceAgent.java:204)
    at com.tibco.pe.core.AgentJobCreator.setState(AgentJobCreator.java:116)
    at com.tibco.pe.core.JobPool.a(JobPool.java:2420)
    at com.tibco.pe.core.JobPool.resume(JobPool.java:2325)
    at com.tibco.pe.core.JobPool.a(JobPool.java:336)
    at com.tibco.pe.core.JobPool.startNotFT(JobPool.java:329)
    at com.tibco.pe.PEMain.do(PEMain.java:419)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.<init>(PEMain.java:184)
    at com.tibco.pe.PEMain.main(PEMain.java:122)

Environment:
=================
All OS's.
All BW versions.

Cause:
=======================
According to the error message in the exception,  "Cannot assign requested address", the requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local machine.

Resolution:
==============
Check the "Host" value of "HTTP Connection resource" and make sure it is valid.

Issue/Introduction

Starting a service agent gives the exception,"Cannot assign requested address."