Jason Greene [
http://community.jboss.org/people/jason.greene] created the discussion
"Re: Thoughts on filesystem action driven hot deployment"
To view the discussion, visit:
http://community.jboss.org/message/593627#593627
--------------------------------------------------------------
I really wish you guys would actually read the whole thread and actually consider the
technical issues, instead of just repeating an approach that has failed vetting.
1. Auto-deployment of zip based archives can be done without markers, as I mentioned
numerous times in this thread. In fact, we are going to do it; we just haven't gotten
to it yet. I will repeat again, it is possible to detect and ignore an incomplete zip file
(by analyzing the last block).
2. Processing incomplet or corrupt zips can (and has according to support cases) crash the
JVM, since it uses a sometimes fragile native code library.
3. It is not possible to detect when to deploy or redeploy all EE6 applications portably
and reliably. You simply can not get away from a marker file. They may not have DDs and
you can't rely on a directory timestamp.
4. "Skip" DOES NOT ADDRESS 3 and it's nearly pointless when you have 1
implemented. It also encourages misuse ( if they can't be bothered to use dodeply why
would they use skip?) it's also more commands when you actually do use it correctly.
5. The errors caused by sloppy exploded redeploy appear like an app server bug, and can
lead to strange and confusing results. Further gratuitous redeploy is a major usability
problem, in particularly when you are in the middle of a debug session.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/593627#593627]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]