admin@glassfish.java.net

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

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Mon, 19 Oct 2009 18:58:22 -0700
ccing JFA and JL
No way is the server shutting down on my system!

c:\glassfishv3\glassfish>jps
4824 ASMain
4840 admin-cli.jar
4932 ASMain
3864 Jps
4816 admin-cli.jar
5956

================

Based on my results with the browser they are both attached to the same port somehow.

c:\glassfishv3\glassfish>netstat -a -b | grep 8080
  TCP    vaio:8080              vaio:0                 LISTENING       4932
  TCP    vaio:8080              vaio:0                 LISTENING       4824

==================================================



Bill Shannon wrote:
Sankar Neelakandan wrote on 10/19/09 16:10:


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.




This is a very old bug with windows. Please see a issue from appserver 8.1. It must have been in documentation all along the releases, don't know when windows has been to changed to Mac

http://bt2ws.central.sun.com/CrPrint?id=6157293

Is this only a bug with Windows Server versions?
I see this in all versions of windows. Here is how to reproduce .

asadmin start-domain domain1
asadmin create-domain --adminport 5050 --nopassword --instanceport 10000 domain2
asadmin create-domain --adminport 6060 --nopassword --instanceport 10000 domain3
asadmin start-domain domain2
asadmin start-domain domain3

If you check the log file, you'll see that domain3 fails to bind to
port 10000.  The server actually shuts down.

(I'm not sure why start-domain fails to detect that the server never
starts successfully, that's a separate bug.)

---------------------------------------------------------------------
To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: admin-help@glassfish.dev.java.net