users@glassfish.java.net

Re: Request feedback on GlassFish v3 Prelude deployment one pager

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 14 Jul 2008 15:04:35 -0400

Cc users and dev alias.

We are looking for feedback for the deployment one-pager, see this user
forum thread:

 http://forums.java.net/jive/thread.jspa?messageID=286033

And one thing in particular, we hope to get some feedback for the force
default value.

Thanks,

- Hong

glassfish_at_javadesktop.org wrote:

>And this is the link to the overall functional spec page where the instructions for reviewer and existing comments for the functional specs can be found:
>
>http://wiki.glassfish.java.net/Wiki.jsp?page=V3FunctionalSpecs
>
>
>One thing in particular we want to ask for feedback is the force option of the deploy command.
>
>The force option is used to indicate whether user wants to overwrite the previous version of the application through redeployment.
>
>In v2, the default value for force is true, so in this sequence:
>asadmin deploy foo.war
>asadmin deploy foo.war
>
>the second command would overwrite the first version of the foo.war.
>
>This could be dangerous sometimes, user would overwrite the previous version accidentally.
>
>The new proposed default value for force option is false in v3, so in this sequence:
>asadmin deploy foo.war
>asadmin deploy foo.war
>
>the second command would cause an error telling user he/she would need to set force option to true explicitly to ovewrite the previous version.
>
>While this operation will now be safer, it does change the behavior from v2. Any existing scripts of using force option implicitly to redeploy application will now fail with the error.
>
>The user would now need to do this to overwrite the previous version:
>asadmin deploy foo.war
>asadmin deploy --force=true foo.war
>
>Please let us know what you think about this proposed change.
>[Message sent by forum member 'hzhang_jn' (hzhang_jn)]
>
>http://forums.java.net/jive/thread.jspa?messageID=286068
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>