Ramblings

29 Jul, 2009

JBoss port confusion

Posted by: Matt Williams In: gotchas| jboss

We ran into a case where JBoss was unable to come up; it gave the following (partial) exception:

java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Cannot assign requested address

After poking around with netstat and lsof, we couldn’t find anything that was binding to the port.  I’d made the assumption that it was bound, totally missing the next line.  As it turns out, we were attempting to bind to a vip which, although it existed in DNS, was not defined on the host on which the error occurred.  The “cannot assign requested address” was the clue.

Enhanced by Zemanta

No Responses to "JBoss port confusion"

Comment Form

Categories

DrakNet Web Hosting

  • Geoffrey Ducharme: Excellent points. I've taken to heart to purposefully disconnect myself from the Internet, in order to be more attentive to what I'm doing at the mome
  • Shared Frank: A fully explained article! Well done, I found this blog on google and found very intresting. Thanks and bookmarked
  • abby williams: okay, so i randomly click on an email. it takes me to this... now i realize just how big a geek my big bro is, and that i will never learn to understa

Flickr PhotoStream

    layout_newm3headerTerrain Testa

About

Matt Williams is a geekly jack of all trades residing in Columbus, OH, USA.

Recommend Me


Adopt a Dragon from Dragcave
Adopt one today!Adopt one today!Adopt one today!Adopt one today! Adopt one today! Adopt one today!Adopt one today! Adopt one today! Adopt one today! Adopt one today!