[jboss-as7-dev] help on startup parameters
Kabir Khan
kabir.khan at jboss.com
Thu Apr 28 11:58:53 EDT 2011
On 28 Apr 2011, at 16:44, paulwerder at fastmail.co.uk wrote:
> Hi!
> any JBoss dev can shed some light about these two questions ?
>
> 1) How to select a non-default configuration xml file for standalone
> server on a Win box ?
> (In an earlier post it's mentioned ./standalone.sh -server-config
> However it doesn't work under windows)
Does
standalone.bat -server-config myconfig.xml
work, where myconfig.xml is another file in the standalone/configuration directory?
>
> 2) How do you select a non-default profile for a domain server ?
The domain and host controllers start with a default set of services. Profiles are the subsystems started for a server
To choose which profile gets defined for each server managed in the domain, a server belongs to a server-group in host.xml:
<server name="server-one" group="main-server-group">
<!-- server-one inherits the default socket-group declared in the server-group -->
<jvm name="default"/>
</server>
Then in domain.xml the server groups are associated with profiles:
<server-groups>
<server-group name="main-server-group" profile="default">
<socket-binding-group ref="standard-sockets"/>
<jvm name="default">
<heap size="64m" max-size="512m"/>
</jvm>
</server-group>
<server-group name="other-server-group" profile="default">
<socket-binding-group ref="standard-sockets"/>
<jvm name="default">
<heap size="64m" max-size="512m"/>
</jvm>
</server-group>
</server-groups>
So server-one belongs to 'main-server-group' which uses the 'default' profile
>
> Thanks a lot !
> Paul
> --
>
> paulwerder at fastmail.co.uk
>
> --
> http://www.fastmail.fm - Email service worth paying for. Try it for free
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list