users@glassfish.java.net

Server fails to shutdown when asadmin stop-domain is invoked

From: <glassfish_at_javadesktop.org>
Date: Thu, 25 Oct 2007 12:35:23 PDT

Sun Java System Application Server 9.1 (build b58g-fcs)
/**
Java Virtual Machine [App Server Instance Name: server] Summary
Operating System Information:
Name of the Operating System: Windows XP
Binary Architecture name of the Operating System: x86, Version: 5.1
Number of processors available on the Operating System: 2

General Java Runtime Environment Information for the VM: 2860_at_pc1
JRE BootClassPath: C:/Develop/JavaEE5SDK/lib/endorsed\activation.jar;C:/Develop/JavaEE5SDK/lib/endorsed\webservices-api.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\resources.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\rt.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\sunrsasign.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\jsse.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\jce.jar;C:\Develop\JavaEE5SDK\jdk\jre\lib\charsets.jar;C:\Develop\JavaEE5SDK\jdk\jre\classes
JRE ClassPath: C:/Develop/JavaEE5SDK/lib/jhall.jar;C:\Develop\JavaEE5SDK\lib\appserv-launch.jar;C:/Develop/JavaEE5SDK\lib\javaee.jar;C:/Develop/JavaEE5SDK/jdk/lib/tools.jar;C:/Develop/JavaEE5SDK\lib\install/applications/jmsra/imqjmsra.jar;C:/Develop/JavaEE5SDK\lib\com-sun-commons-launcher.jar;C:/Develop/JavaEE5SDK\lib\com-sun-commons-logging.jar;C:/Develop/JavaEE5SDK/imq/lib/jaxm-api.jar;C:/Develop/JavaEE5SDK/imq/lib/fscontext.jar;C:/Develop/JavaEE5SDK/imq/lib/imqbroker.jar;C:/Develop/JavaEE5SDK/imq/lib/imqjmx.jar;C:/Develop/JavaEE5SDK/imq/lib/imqxm.jar;C:/Develop/JavaEE5SDK\lib\webservices-rt.jar;C:/Develop/JavaEE5SDK\lib\webservices-tools.jar;C:/Develop/JavaEE5SDK\lib\mail.jar;C:/Develop/JavaEE5SDK\lib\appserv-jstl.jar;C:/Develop/JavaEE5SDK\lib\jmxremote_optional.jar;C:/Develop/JavaEE5SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar;C:/Develop/JavaEE5SDK\lib\activation.jar;C:/Develop/JavaEE5SDK\lib\appserv-rt.jar;C:/Develop/JavaEE5SDK\lib\appserv-admin.jar;C:/Develop/JavaEE5SDK\lib\appserv-cmp.jar;C:/Develop/JavaEE5SDK/updatecenter/lib/updatecenter.jar;C:/Develop/JavaEE5SDK/jbi/lib/jbi.jar;C:/Develop/JavaEE5SDK/imq/lib/imqjmx.jar;C:/Develop/JavaEE5SDK/lib/ant/lib/ant.jar;C:/Develop/JavaEE5SDK\lib\dbschema.jar;C:\Develop\JavaEE5SDK\lib\activation.jar;C:\Develop\JavaEE5SDK\lib\admin-cli-ee.jar;C:\Develop\JavaEE5SDK\lib\admin-cli.jar;C:\Develop\JavaEE5SDK\lib\appserv-admin.jar;C:\Develop\JavaEE5SDK\lib\appserv-cmp.jar;C:\Develop\JavaEE5SDK\lib\appserv-deployment-client.jar;C:\Develop\JavaEE5SDK\lib\appserv-ee.jar;C:\Develop\JavaEE5SDK\lib\appserv-ext.jar;C:\Develop\JavaEE5SDK\lib\appserv-jstl.jar;C:\Develop\JavaEE5SDK\lib\appserv-jwsacc.jar;C:\Develop\JavaEE5SDK\lib\appserv-launch.jar;C:\Develop\JavaEE5SDK\lib\appserv-rt.jar;C:\Develop\JavaEE5SDK\lib\appserv-se.jar;C:\Develop\JavaEE5SDK\lib\appserv-tags.jar;C:\Develop\JavaEE5SDK\lib\appserv-upgrade.jar;C:\Develop\JavaEE5SDK\lib\appserv-ws.jar;C:\Develop\JavaEE5SDK\lib\com-sun-commons-launcher.jar;C:\Develop\JavaEE5SDK\lib\com-sun-commons-logging.jar;C:\Develop\JavaEE5SDK\lib\dbschema.jar;C:\Develop\JavaEE5SDK\lib\j2ee-svc.jar;C:\Develop\JavaEE5SDK\lib\j2ee.jar;C:\Develop\JavaEE5SDK\lib\javaee.jar;C:\Develop\JavaEE5SDK\lib\jdmkrt.jar;C:\Develop\JavaEE5SDK\lib\jesmf-plugin.jar;C:\Develop\JavaEE5SDK\lib\jhall.jar;C:\Develop\JavaEE5SDK\lib\jmac-api.jar;C:\Develop\JavaEE5SDK\lib\jmxremote_optional.jar;C:\Develop\JavaEE5SDK\lib\jsf-impl.jar;C:\Develop\JavaEE5SDK\lib\jxta.jar;C:\Develop\JavaEE5SDK\lib\mail.jar;C:\Develop\JavaEE5SDK\lib\shoal-gms.jar;C:\Develop\JavaEE5SDK\lib\sun-appserv-ant.jar;C:\Develop\JavaEE5SDK\lib\toplink-essentials-agent.jar;C:\Develop\JavaEE5SDK\lib\toplink-essentials.jar;C:\Develop\JavaEE5SDK\lib\webservices-rt.jar;C:\Develop\JavaEE5SDK\lib\webservices-tools.jar;C:/Develop/JavaEE5SDK;
JRE Native Library Path: C:\Develop\JavaEE5SDK\lib;C:\Develop\JavaEE5SDK\lib;C:\Develop\JavaEE5SDK\bin;C:\Develop\JavaEE5SDK\bin
JRE name: Java HotSpot(TM) Client VM Vendor: Sun Microsystems Inc. Version: 1.6.0_03-b05
*/

Hi,

I installed the configuration as mentioned above. The server starts with no problem. When I shut down the server, the asadmin programm is invoked but then hangs (the win console window stays open, no message at all is displayed, not even a "shutting down" feedback). After this attempt the server log says:

[#|2007-10-25T21:05:40.031+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

[#|2007-10-25T21:05:40.031+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;8080;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]

[#|2007-10-25T21:05:40.312+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;8181;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]

[#|2007-10-25T21:05:41.312+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;4848;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]

[#|2007-10-25T21:05:54.234+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2007-10-25T21:05:54.234+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2007-10-25T21:05:54.234+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2007-10-25T21:05:54.234+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|CORE5052: Application shutdown complete.|#]

[#|2007-10-25T21:05:54.328+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|[AutoDeploy] Disabling AutoDeployment service.|#]

[#|2007-10-25T21:05:54.843+0200|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=16;_ThreadName=RMI TCP Connection(11)-127.0.0.1;|JBIFW0042: JBI framework termination complete.|#]

but the ports all still open and java.exe is not killed.

I spent about half a day to test and try and research but no way to get to a solution.

Any hints? Thanks in advance.
[Message sent by forum member 'brutus' (brutus)]

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