users@glassfish.java.net

Re: What happened to --profile option for create-domain asadmin subcommand

From: Tom Mueller <Tom.Mueller_at_oracle.com>
Date: Wed, 03 Apr 2013 10:30:13 -0500

On 4/2/13 3:47 PM, Kyle Neumeier wrote:
> I am in the process of upgrading glassfish from 2.1.1 to 3.1.1. I see
> from the documentation that --profile option for create-domain doesn't
> do anything anymore. We made use of custom templates in 2.1.1. How
> should we go about migrating this over? Does it have anything to do
> with the new domain initializes?
Version 3.1.1 has a --template option that allows the use of custom
templates based on just a different domain.xml file. In 4.0, this
--template option is being change to be based on a JAR that allows the
entire content of the domain to be specified, not just the domain.xml file.

Tom