[ejabberd] blending hot code load and modules

Brian Acton acton at whatsapp.com
Wed Apr 21 05:05:40 MSD 2010

Thanks. I think I was missing a critical element of understanding. Namely,
an explicit call to the code server is required. From all the examples and
books that I had read it seemed as though a file switch was all that was
required. It actually makes more sense to call the code server explicitly as
it's a more efficient solution.

Thanks for the help on this. I'll check out both the shell command and the
web based admin approach.



On Tue, Apr 20, 2010 at 3:36 PM, Badlop <badlop at gmail.com> wrote:

> 2010/4/20 Brian Acton <acton at whatsapp.com>:
> > i've been writing modules for ejabberd and one of the pain points for me
> has
> > been the inability to use hot code load.
> Just as a little reminder: some of the steps mentioned by Geoff can be
> done using ejabberd WebAdmin:
> For ejabberd module or restart (that just calls stop and start):
> WebAdmin -> Vhosts -> your vhost -> Nodes -> your node -> Modules
> For Erlang module code update:
> WebAdmin -> Nodes -> your node -> Update
> You will see a list of the erlang modules that ejabberd detected that
> have been recompiled. Select the modules you want to update, and click
> "Update".
> This does the l(Module), it doesn't handle process suspension.
> ---
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100420/5267633d/attachment.html>

More information about the ejabberd mailing list