[jboss-dev-forums] [JBoss AS7 Development] - Thoughts on hot deployment

jaikiran pai do-not-reply at jboss.com
Tue Aug 31 02:00:19 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"Thoughts on hot deployment"

To view the discussion, visit: http://community.jboss.org/message/559677#559677

--------------------------------------------------------------
> jaikiran pai wrote:
> 
> 
> > Brian Stansberry wrote:
> > 
> >  *For zipped archives*:
> > Scanner will detect an archive in the hot-deploy dir, e.g. hot-deploy/foo.war. Scanner will use the same  https://community.jboss.org/thread/155937?tstart=0 deployment API that an external client would use to register the content with the server and deploy it. Once the content is registered the server will maintain it's own copy in an internal directory (e.g. server/data/deployments). Scanner will replace the hot-deploy/foo.war file with a simple marker file hot-deploy/foo.war.deployed.
> Would it be a "rename" or would the foo.war.deployed be a completely different file? From what I understand, I believe  it would be a completely different file without any .war semantics, but just wanted to be sure. Furthermore, where would be original foo.war be moved to? Are users expected to know where it's moved to? If not, then they probably will have to maintain a copy of their original deployment somewhere (I know most of them already do that, but again I just wanted to be clear about the expectations).
> 
> 
Just to be a little more clear about that question - I know that the server will internally maintain it's own copy in an internal directory (server/data/deployments). But the part which I wasn't sure was - would that internal copy in server/data/deployments be an extracted version (like we do in AS6 in server/tmp folder) or the original version? I assumed it would be an extracted and hence that question on locating the "original" deployment. (Note that in our current versions of AS even though we maintain an internal copy of the deployment in tmp folder, we don't change anything directly in the original copy, which means that the user still has access to the original unchanged deployment).

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/559677#559677]

Start a new discussion in JBoss AS7 Development at Community
[http://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/20100831/f02f5133/attachment.html 


More information about the jboss-dev-forums mailing list