users@glassfish.java.net

Problem enabling java web start via "asadmin" with v3

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Oct 2010 13:47:02 PDT

Hello,

I am working on scripting an automated undeploy, deploy, and restart of applications. Each application EAR requires that Java Web Start be enabled. By default, if I deploy an app (either via asadmin or via admin web console) the "Java Web Start" enabled checkbox is not checked (i.e. not enabled). I manually check it and "save" and then the JNLP launch stuff shows up as expected.

I need to have this ability to set the "Java Web Start" enabled to true via "asadmin" to script the deployment. I have tried the following with no luck:

asadmin --host myHost --port 5048 --passwordfile c:/glassfishv3/password.txt deploy --properties java-web-start-enabled=true myEarFile.ear

It doesn't throw an error, but it doesn't do anything either. I am wondering if I am perhaps accessing the wrong property or the wrong asadmin command?

Any insight would be appreciated. Thanks.
[Message sent by forum member 'cgelinas']

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