admin@glassfish.java.net

Re: Review of start-domain, stop-domain, and restart-domainsman pages

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 19 Oct 2009 15:26:11 -0700

See these flags. I do not know what they mean for sure, but they
imply re-opening is possible.

 From socket.h on Mac OS X 10.6.1.

#ifdef __APPLE__
#define SO_NREAD 0x1020 /* APPLE: get 1st-packet byte count */
#define SO_NKE 0x1021 /* APPLE: Install socket-level NKE */
#define SO_NOSIGPIPE 0x1022 /* APPLE: No SIGPIPE on EPIPE */
#define SO_NOADDRERR 0x1023 /* APPLE: Returns EADDRNOTAVAIL when src
is not available anymore */
#define SO_NWRITE 0x1024 /* APPLE: Get number of bytes currently in
send socket buffer */
#define SO_REUSESHAREUID 0x1025 /* APPLE: Allow reuse of port/socket
by different userids */
#ifdef __APPLE_API_PRIVATE
#define SO_NOTIFYCONFLICT 0x1026 /* APPLE: send notification if there
is a bind on a port which is already in use */
#define SO_UPCALLCLOSEWAIT 0x1027 /* APPLE: block on close until an
upcall returns */
#endif
#define SO_LINGER_SEC 0x1080 /* linger on close if data
present (in seconds) */
#define SO_RESTRICTIONS 0x1081 /* APPLE: deny inbound/outbound/both/
flag set */
#define SO_RESTRICT_DENYIN 0x00000001 /* flag for SO_RESTRICTIONS -
deny inbound */
#define SO_RESTRICT_DENYOUT 0x00000002 /* flag for SO_RESTRICTIONS -
deny outbound */
#define SO_RESTRICT_DENYSET 0x80000000 /* flag for SO_RESTRICTIONS -
deny has been set */
#define SO_RANDOMPORT 0x1082 /* APPLE: request local port
randomization */
#define SO_NP_EXTENSIONS 0x1083 /* To turn off some POSIX behavior */
#endif
#define SO_LABEL 0x1010 /* socket's MAC label */
#define SO_PEERLABEL 0x1011 /* socket's peer MAC label */
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */





On Oct 19, 2009, at 3:15 PM, Bill Shannon wrote:

> Dixie Pine wrote on 10/19/09 15:06:
>> Final pdfs attached.
>> On 10/14/09 23:55, Byron Nevins wrote:
>>>
>>>
>>> Bill Shannon wrote:
>>>
>>>> start-domain:
>>>>
>>>> Can someone explain the Mac OS X comment:
>>>>
>>>> Note – On the Mac OS X platform, processes can bind to the same
>>>> port. To
>>>> avoid this problem, do not start multiple domains with the same
>>>> port number
>>>> at the same time.
>> Did you want me to delete this Mac material? I couldn't tell so I
>> didn't (yet).
>
> Yes, and no.
>
> Yes, it does not apply to Mac OS.
>
> However, I believe Byron discovered that it *does* apply to Windows,
> right Byron? If so, "Mac OS X" should be replaced with "Windows".
> What's not clear to me is whether this is a general property of
> Windows (which I still have a hard time believing) or whether it's
> a bug in some particular versions of Windows.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team