This goal starts the server. You can set the parameters described in the following table.
Table 4 embedded-glassfish:start Parameters
Parameter |
Default |
Description |
---|---|---|
maven |
(optional) The ID of the server to start. |
|
all |
(optional) The container to start: web, ejb, jpa, or all. |
|
In order of precedence:
|
(optional) The Installation Root Directory. |
|
as-installdomains/domain1 |
(optional) The Instance Root Directory |
|
instance-dirconfig/domain.xml |
(optional) The configuration file. |
|
None. Must be set explicitly or defined in the configuration file. |
(optional) The HTTP port. |
|
false |
(optional) If true, deletes the contents of the Instance Root Directory when the server is stopped. ![]() Do not set autoDelete to true if you are using installRoot to refer to a preexisting Enterprise Server installation. |