users@glassfish.java.net

Re: Running Glassfish V3

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 27 May 2008 16:15:46 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> Seems like a bug. GF code should be fixed to check if a Port is available before binding to it.

Not exactly. the JDK have a mechanism to automatically detect if a port
is used or not (socket.setReuseAddress(true|false). tp2 has the value
set to true, hence multiple apps can bind to the same port.

A+

-- Jeanfrancois


>
> http://support.microsoft.com/kb/q142634
> http://cwe.mitre.org/data/definitions/605.html
> [Message sent by forum member 'uppalapati' (uppalapati)]
>
> http://forums.java.net/jive/thread.jspa?messageID=276862
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>