0 Replies Latest reply on Jan 23, 2012 4:31 PM by Ramesh Reddy

    Server state during undeploy vs shutdown?

    Ramesh Reddy Master



      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?