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 laterInformation in this document applies to any platform.
Goal
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.
Solution
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
Goal |
Solution |