users@glassfish.java.net

Re: restart glassfishv2u2 programmatically

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Sep 2008 11:36:12 PDT

>When the server stops is the administrative port(4848) also listening like port (8080) ?

Yes. see the attachment for details...

And I see durring this 5min wait period:
- i can delete the domain server.log file but not the jvm.log file.
- if I try to connect to the server with my Administration client it blocks and after 5min an exception occurs: server not available...

Note: The same scenario works on tomcat! :(

>And I know it would be an untidy advice but you can also kill the process which is using the 8080 port (which most likely would be your application which you use to restart domain) in a parallel thread after starting the domain programmatically.

If i have time... I try that tomorrow


Any other input?
Thanx
[Message sent by forum member 'montsie' (montsie)]

http://forums.java.net/jive/thread.jspa?messageID=300213