JON fails to determine JNP user and password for JBoss AS resource if AS JMX invoker service security domain is not the default
Issue
- No JNP user is set for newly discovered JBoss AS server
- No JNP password is set for newly discovered JBoss AS server
- JON Agent logs the following debug messages:
DEBUG [ResourceDiscoveryComponent.invoker.daemon-866] (jboss.on.common.jbossas.JBossASDiscoveryUtils)- The JMX invoker service is configured to use the 'jmxinvoker_policy' security domain for authentication. DEBUG [ResourceDiscoveryComponent.invoker.daemon-866] (jboss.on.common.jbossas.JBossASDiscoveryUtils)- Could not find users configuration for security domain 'jmxinvoker_policy' - /case_00444978/tools/jboss5/central/ver_eap5.1.0/jboss-eap-5.1/jboss-as/server/ssga_production_nonsso/conf/props/jmxinvoker_policy-users.properties does not exist. DEBUG [ResourceDiscoveryComponent.invoker.daemon-866] (jboss.on.common.jbossas.JBossASDiscoveryUtils)- Could not find roles configuration for security domain 'jmxinvoker_policy' - /case_00444978/tools/jboss5/central/ver_eap5.1.0/jboss-eap-5.1/jboss-as/server/ssga_production_nonsso/conf/props/jmxinvoker_policy-roles.properties does not exist. - JBoss AS resource's Principal and Credentials are left unset for newly discovered AS resource
- Installed JON and it detects EAP 4.2 but unable to connect (the auth user is not par of default jmx-console domain). Do we need to change Inventory/connection string for it (principal or credentials property)?
Environment
- JBoss Operations Network (JON) 2.4.1
- JON JBoss Application Server (AS) 5 Plug-In
- JBoss Enterprise Application Platform (EAP) 5.1
- JBoss server's JMX invoker service security domain has been changed from the default of jmx-console -- For example, deploy/jmx-invoker-service.xml contains:
... <interceptor code="org.jboss.jmx.connector.invoker.Authenticat ionInterceptor" securityDomain="java:/jaas/jmxinvoker_policy"/> ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
