users@glassfish.java.net

Re: Getting a list of deployed j2ee apps on glassfish 2.1

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Mon, 28 Nov 2011 10:53:09 -0500

You could use "asadmin list-components domain" command to list all the
deployed applications for the running domain.

forums_at_java.net wrote:
> Hey Guys,
>
> So my company is using Glassfish 2.1 to deploy our JCAPS applications
> too,
> and i have been tasked with the following.
>
> I need to get a list of all the deployed applications on each of our
> domains,
> and make sure there are no duplicates. Now my question is as follows, how
> would i go about getting a list of all the apps on a specific domain?
> I've
> tried using the asadmin command list-application-refs, but this returns a
> whole lot of stuff i dont need.
>
> Basically our apps have a naming convention of INxxxx where xxxx is an
> interface number.
>
>
>
> Thanks so much for the help.
>
>
> --
>
> [Message sent by forum member 'Sparkz0629']
>
> View Post: http://forums.java.net/node/868495
>
>