Configures the settings of the XMPP notifier.


asadmin [asadmin-options] set-xmpp-notifier-configuration [--help]
[--target target]
[--hostname hostname]
[--xmppPort port]
[--userName username]
[--password password]
[--roomId roomId]


This command can be used to configure the behaviour of the XMPP notifier in Payara Server.

This command is available as long as the XMPP notifier’s core module is installed in the server.
This notifier’s extension is installed by default on Payara Server Enterprise.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


This option helps specify the target on which you are configuring the XMPP notifier. Valid values are:


Applies to the default server instance. This is the default value.


Applies to every server instance in the cluster.


Applies to a specified sever instance.


Defaults to false. Enables or disables the log notifier


Defaults to false. When set to true, applies the changes without a server restart.

Otherwise, a restart is required.


Defaults to false. Whether the notifier is active even if the notification event threshold is set to FINE.


Defines the hostname of the XMPP server.


Defaults to 5222. Defines the port number of the XMPP server.


Defaults to true. If false will disable secure communication with the XMPP server.


The username of the account that will post notifications in the XMPP room.


The password credentials of the user account that will post notifications in the XMPP room.


The ID of the room where the notifications will be posted.


Example 1 Enable the XMPP notifier and configure its authentication and room settings

asadmin set-xmpp-notifier-configuration --enabled=true --dynamic=true --hostname="" --xmppPort=5222 --username="payaraNotifications" --password="******" --securityDisabled=false --roomId=server

Exit Status


subcommand executed successfully


error in executing the subcommand

See Also