Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Address Already In Use

...

Symptom

...

When you try to launch your application in WOLips, you get the following message in the console tab and your application fails to start.

Code Block
languagenone
themeEclipse
May 25 13:12:33 MyGreatWOApp[N/A] WARN NSLog - Unable to establish a connection to port 9001 on this host. Perhaps this port is already in use by another WebObjects application instance.
May 25 13:12:33 MyGreatWOApp[N/A] WARN NSLog - <WOApplication>: Cannot be initialized.java.lang.reflect.InvocationTargetException
May 25 13:12:33 MyGreatWOApp[N/A] WARN NSLog - A fatal exception occurred: <WOApplication>: Cannot be initialized.
[2011-5-25 13:12:33 UTC] <main> com.webobjects.foundation.NSForwardException [java.net.BindException] Address already in use:<WOApplication>: Cannot be initialized.

...

Causes & Resolutions

...

This can happen for a couple reasons:

...