Troubleshooting
Problem
The IP address or hostname of the machine that hosts Sterling B2B Integrator is changed and dashboard does not come up. Upon start it throws HTTP 404 error message in the browser. Updating the sandbox.cfg with the appropriate IP address and hostname does not solve the issue.
Symptom
Following error message observed in noapp.log:
2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE ERROR in WEBServerStartTHread : java.net.BindException: Address already in use
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE java.net.BindException: Address already in use
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE at sun.nio.ch.Net.bind(Native Method)
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
[2014-10-14 18:58:51.746] ALL 000000000000 GLOBAL_SCOPE
Cause
The problem was due to mismatch in the settings between sandbox.cfg and noapp.properties_platform_ifcresources_ext property files.
Assume the changed hostname is TestHostName. Overriding sandbox.cfg and noapp.properties_platform_ifcresources_ext with inappropriate values as given below will cause the dashboard to fail:
Sandbox.cfg:
LOCALHOST= TestHostName
noapp.properties_platform_ifcresources_ext:
localhost= TestHostname
admin_host.1 = TestHostName.org.in
admin_host.2 = TestHostname
Web Server threads attempt to bind to TestHostName multiple times as it is being used in admin_host.1 and admin_host.2 is the cause of the problem. Ideally updating sandbox.cfg and running setupfiles.sh should update the values accordingly in noapp properties. In this case the property files were not updated.
Resolving The Problem
The issue is resolved after changing the settings as below:
Sandbox.cfg:
LOCALHOST= localhost
noapp.properties_platform_ifcresources_ext:
localhost= localhost
admin_host.1 = TestHostName.org.in
admin_host.2 = localhost
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21688263