Global variable defined incorrectly causing “java.lang.NumberFormatException: For input string” error.
book
Article ID: KB0085896
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============ Global variable defined incorrectly causing “java.lang.NumberFormatException: For input string” error.
Environment: ============ TIBCO BusinessEvents 5.x Windows Operating System
Symptoms: ============ The following error is thrown when trying to start the TIBCO BusinessEvents engine:
2013 Aug 23 10:28:12:343 GMT +2 BE_WSTESTIN-be_PU1 Fatal [main] - [container.standalone] For input string: "HTTP/HTTP_PORT" java.lang.NumberFormatException: For input string: "HTTP/HTTP_PORT" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at com.tibco.cep.driver.http.HttpChannelConfig.a(SourceFile:205) at com.tibco.cep.driver.http.HttpChannelConfig.<init>(SourceFile:74) at com.tibco.cep.driver.http.HttpDriver.createChannel(SourceFile:23) at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.registerChannel(ChannelManagerImpl.java:106) at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.init(ChannelManagerImpl.java:96) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initChannels(RuleServiceProviderImpl.java:977) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initAll(RuleServiceProviderImpl.java:574) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:218) at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:155) at com.tibco.cep.container.standalone.BEMain.main(SourceFile:69)
Cause: ============ The cause of the error is the way that the Global Variables have been defined in the customer project.
Resolution: ============ Global variables had been defined incorrectly. They need to be changed from:
HTTP/HTTP_HOST HTTP/HTTP_PORT
To
%%HTTP/HTTP_HOST%% %%HTTP/HTTP_PORT%%
Issue/Introduction
Global variable defined incorrectly causing “java.lang.NumberFormatException: For input string” error.