users@glassfish.java.net

How to set ha availability option using JSR 88 deployment extensions

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 Feb 2008 15:30:42 PST

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