[jboss-jira] [JBoss JIRA] Created: (JBAS-9242) Ports in use message better

Jim Tyrrell (JIRA) jira-events at lists.jboss.org
Tue Apr 5 18:21:33 EDT 2011


Ports in use message better
---------------------------

                 Key: JBAS-9242
                 URL: https://issues.jboss.org/browse/JBAS-9242
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 7.0.0.Beta2
            Reporter: Jim Tyrrell


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


More information about the jboss-jira mailing list