JBoss server does not start. Error in log:" Failed to retrieve profile operations from domain controller."

book

Article ID: 6830

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

  After upgrading from CA APM 9.5.x Java Agent to CA APM 10.5.1 Java Agent on JBoss Application Server, then not able to start JBoss Application Server.

 

 The Application Server log reports these errors:

ERROR [org.jboss.as.controller.management-operation] (server-registration-threads - #) JBAS###: Operation ("register-server") failed - address: ([]): java.lang.RuntimeException: JBAS###: Failed to retrieve profile operations from domain controller

[Host Controller] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:###) [jboss-as-controller-#.#.#.Final-redhat-#.jar:#.#.#.Final-redhat-#]

 

 

Cause

 

 The issue is caused by the incorrect System Packages specified on the JBoss startup script:

 'Standalone.conf' in a JBoss standalone environment or 'Domain.conf" where JBoss in Domain Mode:



if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.wily.introscope.*"

 

 

Environment

CA APM Java agent 10.xJBoss EAP 6.x , 7.xJava version : 1.7.x, 1.8JBoss is in either in Standalone or Domain setup

Resolution

 

Change the System Packages property:

 

from "com.wily.introscope.*" to "com.wily,com.wily.*"

 

From:

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "" ]; then
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.wily.introscope.*"

 

To:

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "" ]; then
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.wily,com.wily.*"

 

Save the JBoss Startup script 'standalone.conf'

 

Then, JBoss Application should be able to start.

 

 

 

Additional Information

 

JBoss Appserver with APM Java Agent installed, failed to start up due to NoClassDefFound error

 

Agent Troubleshooting