SECJ0305I issued running an application with JMX APIs
 Technote (troubleshooting)
 
Problem(Abstract)
Running an application the systemout.log shows error:

SECJ0305I: Role based authorization check failed for security name server.domain.name:3890/user.id, accessId
user:server.domain.name:3890/uid=user.id,ou=xxxx,dc=yyy,dc=zzz while invoking method getNodeName on resource Server and module Server.
 
Cause
Check to see if a JMX API such as adminservice or adminclient is used in the application. JMX APIs manipulate system resources, so not every user (in the user registry) is able to call them. The user running the application is required to have a administrative console user role, such as administrator, configurator, operator or monitor.
Subset of JMX APIs that require this:
adminservice.getattribute()
adminservice.setattribute()
adminservice.invoke()
 
Resolving the problem
Assigning the user that runs the application to one of the console user roles will resolve the problem.
 
 
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 Management Extensions (JMX) or JMX client API
Operating system(s): AIX
Software version: 6.0
Software edition:
Reference #: 1207247
IBM Group: Software Group
Modified date: Sep 3, 2007