I'm using JBoss 3.0.4. on Windows 2000 and it hangs on shutdown after I've performed any form of transactional work where I have been writing to the database.
These are the last entries within the server log:
2002-11-13 18:47:34,821 INFO [org.jboss.system.server.Server] Undeploying all packages
2002-11-13 18:47:34,821 INFO [org.jboss.deployment.MainDeployer] Undeploying file:/E:/Programs/jboss-3.0.4/server/default/deploy/bluebit.ear
2002-11-13 18:47:34,821 INFO [org.jboss.jbossweb] Stopped WebApplicationContext[/bluebit,jar:file:/E:/Programs/jboss-3.0.4/server/default/tmp/deploy/server/default/deploy/bluebit.ear/63.bluebit.ear-contents/bluebit-web.war!/]
2002-11-13 18:47:34,821 INFO [org.jboss.jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/bluebit
2002-11-13 18:47:34,831 INFO [org.jboss.jbossweb] Successfully undeployed file:/E:/Programs/jboss-3.0.4/server/default/tmp/deploy/server/default/deploy/bluebit.ear/63.bluebit.ear-contents/bluebit-web.war
2002-11-13 18:47:34,831 INFO [org.jboss.ejb.EjbModule] Stopping
I receive this error when using either or the shutdown.bat file.
This has turned out to be an application problem. A primary key class equals() method (which fortunately was not coded by me) was incorrect could never return true. I think this was stopping JBoss clean up the entity instances in memory.