nice!
On 4/7/2010 11:48 PM, Byron Nevins wrote:
> start-local-instance is working with restrictions!
>
> restrictions:
> One can have only one config element in domain.xml
> By definition, an instance is a server element where the name is
> anything but "server"
>
> How to try it out:
>
> 1) recursively copy domain1 to <install>/node-agents/na*/instance1
> 2) Edit <install>/node-agents/na*/instance1/config/domain.xml
> -- add this to the servers element like so:
>
>
> <servers>
> ......
> * <server name="instance1" config-ref="server-config">
> <application-ref ref="__admingui" virtual-servers="__asadmin" />
> <resource-ref ref="jdbc/__TimerPool" />
> <resource-ref ref="jdbc/__default" />
> </server>
> *</servers>
>
>
> 3) asadmin start-local-instance instance1
>
>
> * == the hostname is preferred but any name will work.
>
>
> --
> Byron Nevins - Oracle Corporation
> Home: 650-359-1290
> Cell: 650-784-4123
> Sierra: 209-295-2188
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: admin-help_at_glassfish.dev.java.net