I'm also looking for a solution for this situation.
I currently use JBoss AS 7.1.1.Final.
Did you find anything ?
sorry I did not find anything, and not by looking in the schema definitions either...
It would be good if any of the JBoss veterans know anything about this?
Hmm not sure. Wonder if it would be possible to write some sort of dummy subsystem that would have dependencies against the deployment and then make the web subsystem have dependencies against it?
Or perhaps it would be possible to start the web subsystem disabled and then have the deployment enable it when it is done?
> Or perhaps it would be possible to start the web subsystem disabled and then have the deployment enable it when it is done?
Yeah, I thought about starting with the web connectors disabled, and enable it only when the application was deployed thanks to a listener. But actually, even from the console, enabling a connector needs a full restart of the server.
And there is no connector/connection pool in the web subsystem that you can strangle down to 0 handlers and then raise back up when deployment is done?
That could be an idea.
But I don't know how I can retreive the pool from my listener.
Trying to get the MSCService of name : org.jboss.as.threads.ThreadsServices.threadFactoryName("http-executor") returns null for me