[jboss-as7-dev] <deployments> section in standalone.xml

Sebastian Otaegui feniix at gmail.com
Thu Mar 15 11:02:36 EDT 2012


How about adding (if it does not already exist) "shortcuts for common
simple tasks" in the CLI?

So that disabling or enabling components (i.e. hornetq, webservices, etc)
can be called as something like:
'jboss-admin.sh <--parameters> disable-hornetq' or something like that?

That'd make jboss slimming easier.



On Thu, Mar 15, 2012 at 8:40 AM, Wolf-Dieter Fink <wfink at redhat.com> wrote:

> Nice idea,
> but I think it will be difficult to keep all XML and scripts up-to-date
> and in sync :(
>
> As Heiko mentioned before if deploy is done by CLI/console the
> deployment is gone if I change from sa.xml to sa-full.xml or even
> host.xml to host-xy.xml.
> But I think the different configs are only a template to start and never
> used after a server is installed.
>
> So a cli based script to add some functionality, e.g. HA, HornetQ) might
> be helpful for customers or even support.
>
>
>
> On 03/15/2012 01:38 PM, Darran Lofthouse wrote:
> > To actually change configurations I have wondered for a little while if
> > we wouldn't be better to have scripts to enable the additional
> > capabilities rather than completely different config i.e. some form of
> > enable-ha script that is applied to the default config rather than a
> > completely independent config.
> >
> > Regards,
> > Darran Lofthouse.
> >
> >
> > On 03/14/2012 02:31 PM, Brian Stansberry wrote:
> >> If a user has added a datasource or a jms destination or a log category
> >> or... via api and wants to turn the standalone server into an HA node,
> >> he can't do that by just restarting with -c standalone-ha.xml.
> >>
> >> I don't see how we could meaningfully support having users change a
> >> config and then having those changes auto-magically show up in a
> >> completely different config. Perhaps someday tooling around this could
> >> be created.
> >>
> >> On 3/14/12 3:39 AM, Heiko W.Rupp wrote:
> >>> Am 14.03.2012 um 09:32 schrieb Emanuel Muckenhuber:
> >>>
> >>>> Yes, that is correct. Deployments added through the deployment-scanner
> >>>> are not persisted, however they are still added to the runtime using a
> >>>> special flag.
> >>> I think this is an issue of inconsistency - if a user has stuff
> deployed (via api)  and wants to turn
> >>> the standalone server into a HA node, he can't do that by just
> restarting with -c standalone-ha.xml,
> >>> while this is (somewhat) possible with stuff deployed by copying it to
> the deployments directory.
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> jboss-as7-dev mailing list
> >>> jboss-as7-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>
> > _______________________________________________
> > jboss-as7-dev mailing list
> > jboss-as7-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> Red Hat GmbH
> Technopark II, Building 1
> Werner-von-Siemens-Ring 11-15
> 85630 Grasbrunn
> Germany
>
> Email: wfink at redhat.com
> ________________________________________________________________________
> Handelsregister: Amtsgericht Muenchen HRB 153243
> Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham,
> Charles Cachera
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>



-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
Any sufficiently recent Microsoft OS contains an ad hoc,
informally-specified, bug-ridden, slow implementation of half of Unix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120315/dd94bcc9/attachment.html 


More information about the jboss-as7-dev mailing list