[jboss-as7-dev] Intermittent "Connection refused" when starting domain

Brian Stansberry brian.stansberry at redhat.com
Tue Apr 26 20:44:03 EDT 2011


Next time it happens, could you send me the output from

ps aux | grep java

On 4/26/11 5:46 PM, denstar wrote:
> Hi folks!
>
> Question:
>
> After I've been developing for a while, doing various weird things I'm
> wont to do, I'll try to start up domain.sh and get an error about
> binding to the network interface.
>
> Nothing else (that I know of) is bound to the port-- "lsof -i | grep
> java" doesn't see anything.  No java processes running, even.
>
> I've seen this locally a few times and on an EC2 instance once so far.
>   A reboot "solves" the problem, which is probably something simple
> that I'm just not considering?  /me looks hopeful
>
> Here's the stacktrace:
>
> 16:40:28,817 INFO  [org.jboss.modules] (main) JBoss Modules version 1.0.0.Beta17
> 16:40:29,118 INFO  [org.jboss.as.process.Host Controller.status]
> (main) Starting process 'Host Controller'
> [Host Controller] 16:40:29,527 INFO  [org.jboss.modules] (main) JBoss
> Modules version 1.0.0.Beta17
> [Host Controller] 16:40:29,969 INFO  [org.jboss.msc] (main) JBoss MSC
> version 1.0.0.Beta8
> [Host Controller] 16:40:30,113 ERROR [org.jboss.msc.service.fail] (MSC
> service thread 1-8) MSC00001: Failed to start service
> jboss.host.controller.process-controller-connection:
> org.jboss.msc.service.StartException in service
> jboss.host.controller.process-controller-connection:
> java.net.ConnectException: Connection refused
> [Host Controller] 	at
> org.jboss.as.host.controller.ProcessControllerConnectionService.start(ProcessControllerConnectionService.java:127)
> [Host Controller] 	at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
> [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.ConnectException: Connection refused
>
> :Denny
>


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list