[
https://issues.jboss.org/browse/AS7-621?page=com.atlassian.jira.plugin.sy...
]
Kabir Khan closed AS7-621.
--------------------------
Assignee: Daniel Bevenius
Resolution: Done
Ports in use message better
---------------------------
Key: AS7-621
URL:
https://issues.jboss.org/browse/AS7-621
Project: Application Server 7
Issue Type: Feature Request
Affects Versions: 7.0.0.Beta2
Reporter: Jim Tyrrell
Assignee: Daniel Bevenius
When starting up two instances of JBoss AS 7 beta 2, I get the following error message
that is not descriptive enough. This error should output the IP address and the port
number that was not available.
[Host Controller] 16:13:50,135 ERROR [org.jboss.msc.service.fail] (MSC service thread
1-3) MSC00001: Failed to start service jboss.host.controller.management.communication:
org.jboss.msc.service.StartException in service
jboss.host.controller.management.communication: Failed to start server socket
[Host Controller] at
org.jboss.as.host.controller.mgmt.ManagementCommunicationService.start(ManagementCommunicationService.java:94)
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_24]
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
[Host Controller] at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
[Host Controller] Caused by: java.net.BindException: Address already in use
[Host Controller] at java.net.PlainSocketImpl.socketBind(Native Method) [:1.6.0_24]
[Host Controller] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
[:1.6.0_24]
[Host Controller] at java.net.ServerSocket.bind(ServerSocket.java:328) [:1.6.0_24]
[Host Controller] at
org.jboss.as.protocol.ProtocolServer.start(ProtocolServer.java:118)
[Host Controller] at
org.jboss.as.host.controller.mgmt.ManagementCommunicationService.start(ManagementCommunicationService.java:92)
[Host Controller] ... 4 more
[Host Controller]
[Host Controller] 16:13:50,138 ERROR [org.jboss.as.host.controller] (MSC service thread
1-3) Service [service jboss.host.controller.management.communication] failed.:
org.jboss.msc.service.StartException in service
jboss.host.controller.management.communication: Failed to start server socket
[Host Controller] at
org.jboss.as.host.controller.mgmt.ManagementCommunicationService.start(ManagementCommunicationService.java:94)
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_24]
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
[Host Controller] at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
[Host Controller] Caused by: java.net.BindException: Address already in use
[Host Controller] at java.net.PlainSocketImpl.socketBind(Native Method) [:1.6.0_24]
[Host Controller] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
[:1.6.0_24]
[Host Controller] at java.net.ServerSocket.bind(ServerSocket.java:328) [:1.6.0_24]
[Host Controller] at
org.jboss.as.protocol.ProtocolServer.start(ProtocolServer.java:118)
[Host Controller] at
org.jboss.as.host.controller.mgmt.ManagementCommunicationService.start(ManagementCommunicationService.java:92)
[Host Controller] ... 4 more
[Host Controller]
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira