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

Document ID : KB000006830
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

  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-#]

 

 

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
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.*"

 

 

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: