"Not a local address (IP) to start the server" exception in HTTPChannel projects.

"Not a local address (IP) to start the server" exception in HTTPChannel projects.

book

Article ID: KB0092895

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:

Issue Details:

When starting BusinessEvents 5.2 engine in machine M1 containing the project with HTTP Channel configuration having machine M2’s IP in its host field, the following error message is reported.

Error logs :
2015 Jul 24 10:28:29:638 GMT -7 DJEYACHA-Z210.na.tibco.com Error [main] - [driver.http] Not a local address (10.108.64.86) to start the server.
2015 Jul 24 10:28:29:638 GMT -7 DJEYACHA-Z210.na.tibco.com Fatal [main] - [container.standalone] Not a local address (10.108.64.86) to start the server.
java.lang.RuntimeException: Not a local address (10.108.64.86) to start the server.
    at com.tibco.cep.driver.http.server.impl.TomcatServer.init(SourceFile:163)
    at com.tibco.cep.driver.http.HttpChannel.init(SourceFile:78)
    at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:107)
    at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:98)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:1088)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:604)
    at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:249)
    at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:166)
    at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)
2015 Jul 24 10:28:29:669 GMT -7 DJEYACHA-Z210.na.tibco.com Info [CTRL-C] - [runtime.session] Shutting down service provider: DJEYACHA-Z210.na.tibco.com
2015 Jul 24 10:28:29:669 GMT -7 DJEYACHA-Z210.na.tibco.com Info [CTRL-C] - [runtime.session] Deactivating channels ...

Resolution:
This is expected behavior in BE 5.2 version. An HTTP server can be started only on the machine where the engine runs. Prior to BE 5.2.0, there was no validation check on the host field since one could put whatever IP/host one wanted, but the server could start only on the machine where the engine was started. With BE 5.2.0, a validation check was put in place to make sure only local (to the machine) IP are set in the host field.

Issue/Introduction

"Not a local address (IP) to start the server" exception in HTTPChannel projects.

Additional Information

TIBCO BusinessEvents Engineering and BE-19148