jchas5
14 years agoContributor
java.net.BindException: Address already in use
I am installing the latest version of loadUI agent on to a centos 5.6 64 bit machine. I have done an install on a previous system and it worked fine. Now when I install i get the following error:
Launching loadUI Build: loadUI-2011-06-21-[3] 2011/06/21 11:10
ERROR: Bundle com.eviware.loadui.http-server [32] Error starting file:/home/jcklose/eviware/loadUI-Agent-1.5.1-SNAPSHOT/bundle/loadui-http-server-1.5.1-SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle com.eviware.loadui.http-server [32].)
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:170)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:356)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:248)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.Server.doStart(Server.java:269)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at com.eviware.loadui.http.HttpServerActivator.start(HttpServerActivator.java:78)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
It looks like the file: eviware/loadUI-Agent-1.5.1-SNAPSHOT/bundle/loadui-http-server-1.5.1-SNAPSHOT.jar is not starting. Also from the error message it says the address is already in use. Is there a config file where I can change the port number? I was looking through the threads and could not find it. Perhaps I just missed. Any help would be awesome.
-J
Launching loadUI Build: loadUI-2011-06-21-[3] 2011/06/21 11:10
ERROR: Bundle com.eviware.loadui.http-server [32] Error starting file:/home/jcklose/eviware/loadUI-Agent-1.5.1-SNAPSHOT/bundle/loadui-http-server-1.5.1-SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle com.eviware.loadui.http-server [32].)
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:170)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:356)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:248)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.Server.doStart(Server.java:269)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at com.eviware.loadui.http.HttpServerActivator.start(HttpServerActivator.java:78)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
It looks like the file: eviware/loadUI-Agent-1.5.1-SNAPSHOT/bundle/loadui-http-server-1.5.1-SNAPSHOT.jar is not starting. Also from the error message it says the address is already in use. Is there a config file where I can change the port number? I was looking through the threads and could not find it. Perhaps I just missed. Any help would be awesome.
-J