users@glassfish.java.net

Re: How to set ha availability option using JSR 88 deployment extensions

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 19 Feb 2008 10:34:35 -0500

Hi,
   Right now, we don't have the capability of passing in options like HA
"availability" to JSR88 API. The deployment plan is for passing
sun-specific deployment descriptors such as sun-ejb-jar.xml.
 
- Hong

glassfish_at_javadesktop.org wrote:

>Hi,
>
>I have written a custom deployment utility using the JSR 88 enterprise deployment extensions and was wondering if there is a way to enable the ha availability option during a deploy or redeploy operation to glassfish v2 ur1 using that API. Specifically, I am using the javax.enterprise.deploy.spi.DeploymentManager interface, which under the covers is using com.sun.enterprise.deployapi.SunDeploymentManager as the implementation. The distribute (deploy) method takes an optional argument called a deployment plan which seems to be a good candidate for including the ha availability option, but I don't know the format of such a deployment plan. Since the defaults (null deployment plan) work perfectly except for the availability option, I am hoping the deployment plan can be simple to trivial so that I may only include options such as availability where it deviates from the default. Thoughts?
>
>Best regards,
>
>-J
>[Message sent by forum member 'jmetcalf' (jmetcalf)]
>
>http://forums.java.net/jive/thread.jspa?messageID=259574
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>