Error "AMQ8135: Not authorized" seen when using the runmqsc tool to configure queues under the embedded queue manager
 Technote (troubleshooting)
 
Problem(Abstract)
When running WebSphere Application Server V5.0 with Embedded Messaging, and global security is enabled, an error is seen when using the runmqsc tool to configure queues on the embedded queue manager. This would occur when starting the runmqsc tool or running any commands. The error seen is "AMQ8135: Not authorized".
 
Cause
When using Embedded Messaging a single queue manager (named WAS_nodename_servername) is created. Every time a user creates a new queue using the WebSphere Application Server Administrative Console, a queue is created on this queue manager. The queue's name will have WQ_ prepended to it.
When WebSphere Application Server global security is enabled, access to the queues under the embedded queue manager is restricted, based upon the information held in the file:

<WAS install root>\config\cell_name\integral-jms-authorizations.xml

To modify Embedded Messaging security, and to grant a userid permission to modify the queues using the runmqsc tool, this file needs to be updated manually. There is no way to change the security information per the Administrative Console.
 
Resolving the problem
For information on how to update this file, please refer to the following section in the WebSphere Application Server Information Center:
Configuring authorization security for the embedded WebSphere JMS provider

Update the file with the userid used to run the runmqsc tool. Add the userid to the <queue-admin-userids> stanza and then restart the application server.
 
Related information
Configure authorization security -embedded JMS provider
Authorization settings -embedded JMS provider resources
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): Windows
Software version: 5.1.1.8
Software edition:
Reference #: 1229548
IBM Group: Software Group
Modified date: Sep 3, 2007