You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2003/05/28 10:05:17 UTC

java.net.BindException: Address already in use (was: Apperant Failure)

Hello Chris,

please compose a new mail if you want to open a new thread. Otherwise 
the subject is misleading and the mails are wrongly sorted in 
thread-view-able browsers.

> Server.run/init: java.net.BindException: Address already in use

This may happen if your server was not shut down correctly the last 
time. This has not much to do with Cocoon I guess. You can kill such 
processes in Linux with "killall -9 java". BUT beware this kills every 
java process on this machine owned by the logged in user. It's also 
possible to search for the process ids and kill them step by step. In 
Windows NT or 2000 you can use the task manager to kill java processes.

Joerg

Chris Pratt wrote:
> After much effort I have got cocoon half working on Weblogic 6.10 Sp3
> 
> Now I am getting the following error:
> 
> Failed to generate program code (this may happen if you use Xalan in
> incremental processing mode). Please check log file and/or console for
> errors.
> 
> In the web log I have the following:
> 
> Server.run/init: java.net.BindException: Address already in use
> 
> Any ideas. I do have the xalan-2.3.1.jar as first entry in the classpath. 
> 
> 
> Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: java.net.BindException: Address already in use (was: Apperant Failure)

Posted by Geoff Howard <co...@leverageweb.com>.
This used to happen under older versions with hsql.  It didn't shut down
properly with cocoon and you'd get a BindException when restarting.  Didn't
cause any problems really, and if you don't need hsql for production you
should get rid of it anyway.  From your xalan version I'd guess you may be
using a version of cocoon that did not have this corrected.

Geoff

At 04:05 AM 5/28/2003, you wrote:
>Hello Chris,
>
>please compose a new mail if you want to open a new thread. Otherwise the 
>subject is misleading and the mails are wrongly sorted in thread-view-able 
>browsers.
>
>>Server.run/init: java.net.BindException: Address already in use
>
>This may happen if your server was not shut down correctly the last time. 
>This has not much to do with Cocoon I guess. You can kill such processes 
>in Linux with "killall -9 java". BUT beware this kills every java process 
>on this machine owned by the logged in user. It's also possible to search 
>for the process ids and kill them step by step. In Windows NT or 2000 you 
>can use the task manager to kill java processes.
>
>Joerg
>
>Chris Pratt wrote:
>>After much effort I have got cocoon half working on Weblogic 6.10 Sp3
>>Now I am getting the following error:
>>Failed to generate program code (this may happen if you use Xalan in
>>incremental processing mode). Please check log file and/or console for
>>errors.
>>In the web log I have the following:
>>Server.run/init: java.net.BindException: Address already in use
>>Any ideas. I do have the xalan-2.3.1.jar as first entry in the classpath.
>>Chris
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org