users@glassfish.java.net

Re: Hudson to Glassfish deployment

From: <glassfish_at_javadesktop.org>
Date: Mon, 23 Mar 2009 19:36:37 PDT

> The questions I have are:
> 1. Is this a good approach (to have Hudson deploy
> .ear files to Glassfish using native asadmin)?

Yes. If spawning a separate JVM (which is what asadmin needs) is ok with you. I don't
see a problem. Alternatively, you can consider using ANT tasks (which invoke asadmin
anyway :)) This is available only with GlassFish v2.x.

> 2. Is the out-of-the-box version of asadmin
> sufficient to deploy to Glassfish?

Solaris usually has a stale GlassFish integrated with it. So, you'd need a local installation
of GlassFish to deploy to any remote servers. If your remote server is at a particular
release, you should have the same version of GlassFish on the machine that deploys
the applications via Hudson.

> 3. Is it possible to upgrade the out-of-the-box
> asadmin tool in Solaris 10?

Yes, but that means Solaris patches/packages.

-Kedar
[Message sent by forum member 'km' (km)]

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