- From: Peter Donald <
>
- To:
- Subject: [chef] Re: WARNING for JBoss AS7 users
- Date: Fri, 15 Jun 2012 10:22:14 +1000
On Thu, Jun 14, 2012 at 11:46 PM, Bryan Berry
<
>
wrote:
>
If you use JBoss AS 7.1.1 along with Chef, you should know that JBoss AS 7
>
will change the contents of your main XML configuration file on disk by
>
removing comments, adding or removing line breaks, and reordering
>
attributes.
>
>
If you have a jboss service resource that subscribes to that config file, it
>
will detect that the file and has changed and restart the service on every
>
chef-client run. I found this out the hard way
This seems to be a problem that afflicts multiple java application
servers. In the glassfish space, both the message broker ad the
application server can rewrite their configuration files. I have had
to go to some lengths to parse the configuration files and check for
the values I want to specify as part of a resources guard. Have you
found a better way to do this?
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.