Resolution: The following Java SocketException when is seen starting BE 1.3.0.
============================================================
ERROR [main] be.general.message Caused by: java.net.SocketException: Already bound
ERROR [main] be.general.message at sun.nio.ch.Net.translateToSocketException(Net.java:49)
ERROR [main] be.general.message ... 11 more
ERROR [main] be.general.message Caused by: sun.nio.ch.AlreadyBoundException
ERROR [main] be.general.message at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
ERROR [main] be.general.message at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
ERROR [main] be.general.message ... 8 more
============================================================
This is a known issue in BE 1.3.0 and only happens with JRE 1.5.0 on certain operating systems including Windows XP, Linux AS 4.0 and Solaris 8. This issue will be fixed in BE v1.3.1, v2.0 and later versions. The workaround is to modify the “be.engine.admin.tcp.port” option value in be-engine.tra or deployed BE application .tra file.
Example:
from: be.engine.admin.tcp.port 8333,*
to: be.engine.admin.tcp.port 8333
or: be.engine.admin.tcp.port *
The full stack trace is as follows.
============================================================
be.general.message ###################### 1.5.0_06
ERROR [main] be.general.message java.lang.Error: Untranslated exception
ERROR [main] be.general.message at sun.nio.ch.Net.translateToSocketException(Net.java:63)
ERROR [main] be.general.message at sun.nio.ch.Net.translateException(Net.java:79)
ERROR [main] be.general.message at sun.nio.ch.Net.translateException(Net.java:85)
ERROR [main] be.general.message at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
ERROR [main] be.general.message at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
ERROR [main] be.general.message at com.tibco.be.sdk.drivers.tcp.impl.TcpTransportDriverImpl.bind(TcpTransportDriverImpl.java:92)
ERROR [main] be.general.message at com.tibco.be.sdk.drivers.tcp.impl.TcpServerImpl.bind(TcpServerImpl.java:50)
ERROR [main] be.general.message at com.tibco.be.engine.admin.AdmManager.start(AdmManager.java:43)
ERROR [main] be.general.message at com.tibco.be.engine.container.BEContainer.startComponents(BEContainer.java:263)
ERROR [main] be.general.message at com.tibco.be.engine.main.Bootstrap.start(Bootstrap.java:248)
ERROR [main] be.general.message at com.tibco.be.engine.main.BEMain.bemain(BEMain.java:92)
ERROR [main] be.general.message at com.tibco.be.engine.main.BEMain.main(BEMain.java:47)
ERROR [main] be.general.message Caused by: java.net.SocketException: Already bound
ERROR [main] be.general.message at sun.nio.ch.Net.translateToSocketException(Net.java:49)
ERROR [main] be.general.message ... 11 more
ERROR [main] be.general.message Caused by: sun.nio.ch.AlreadyBoundException
ERROR [main] be.general.message at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
ERROR [main] be.general.message at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
ERROR [main] be.general.message ... 8 more
==========================================================