[jboss-dev-forums] [JBoss AS 7 Development] - Server state during undeploy vs shutdown?
Ramesh Reddy
do-not-reply at jboss.com
Mon Jan 23 16:32:04 EST 2012
Ramesh Reddy [https://community.jboss.org/people/rareddy] created the discussion
"Server state during undeploy vs shutdown?"
To view the discussion, visit: https://community.jboss.org/message/648277#648277
--------------------------------------------------------------
Hi,
In Teiid, when a VDB is deployed it keeps a cached copy of metadata that survives the server restarts. However, when the deployment is deleted we clean up this metadata. In AS7, I see that "undeploy" events coming in when a VDB is undeployed and as well as when the server is shutdown, which is fine as long as I can figure out that "shutdown is in progress" event. But looking at the "TerminateListener" code on the ServiceContainer, I see that notification only comes in when server is completely shutdown. Can I request you guys to add one more event to note start of the shutdown? Otherwise is there any other technique I can use to figure out shutdown state of the server?
Thanks
Ramesh..
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648277#648277]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120123/f6b7ed6a/attachment.html
More information about the jboss-dev-forums
mailing list