My Oracle Support Banner

How to Start GlassFish Message Queue 4.x Broker Automatically on Solaris/Linux as a non-root User ? (Doc ID 1219184.1)

Last updated on NOVEMBER 27, 2023

Applies to:

Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.


In Unix, the imqbrokerd.conf file in /etc/imq for Solaris and /etc/opt/sun for Linux is configured to start/stop the GlassFish Message Queue (MQ) broker as part of normal UNIX system operation by setting AUTOSTART=YES as shown below.

However, the MQ broker always start as root even though the ownership of the broker instance directory has been changed to the unix user, "mquser".

The following steps provides a solution for this problem.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.