Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25654

If server is shutdown during Insights report generation then ERROR can occur

XMLWordPrintable

      In case that server is cleanly shutdown during report generation (when reading model) then following ERROR log can occur:

      2023-09-18 13:03:59,800 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 8.0.0.GA (WildFly Core 21.0.2.Final-redhat-00001) started in 4638ms - Started 391 of 614 services (335 services are lazy, passive or on-demand) - Server configuration file in use: standalone-full.xml
      2023-09-18 13:04:00,072 INFO  [com.arjuna.ats.jbossatx] (management-handler-thread - 1) ARJUNA032035: Resuming transaction recovery manager
      2023-09-18 13:04:00,235 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([("interface" => "unsecure")]): java.lang.AssertionError
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.CapabilityRegistry.getCapabilityServiceName(CapabilityRegistry.java:676)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.getCapabilityServiceName(OperationContextImpl.java:1694)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.getCapabilityServiceName(OperationContextImpl.java:1676)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.getCapabilityServiceName(OperationContextImpl.java:1686)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.getCapabilityServiceName(OperationContextImpl.java:1681)
              at org.jboss.as.server@21.0.2.Final-redhat-00001//org.jboss.as.server.services.net.NetworkInterfaceRuntimeHandler$1.execute(NetworkInterfaceRuntimeHandler.java:64)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1056)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:777)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1433)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:448)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerImpl.lambda$executeForResponse$0(ModelControllerImpl.java:259)
              at org.wildfly.security.elytron-base@2.2.1.Final-redhat-00001//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
              at org.wildfly.security.elytron-base@2.2.1.Final-redhat-00001//org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerImpl.executeForResponse(ModelControllerImpl.java:259)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerImpl.executeOperation(ModelControllerImpl.java:253)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.executeInModelControllerCl(ModelControllerClientFactoryImpl.java:275)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.executeOperation(ModelControllerClientFactoryImpl.java:173)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerClientFactoryImpl.lambda$executeInVm$0(ModelControllerClientFactoryImpl.java:367)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:85)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerClientFactoryImpl.executeInVm(ModelControllerClientFactoryImpl.java:367)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.ModelControllerClientFactoryImpl$1.executeOperation(ModelControllerClientFactoryImpl.java:94)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.LocalModelControllerClient.execute(LocalModelControllerClient.java:54)
              at org.jboss.as.controller@21.0.2.Final-redhat-00001//org.jboss.as.controller.LocalModelControllerClient.execute(LocalModelControllerClient.java:39)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsSubReport.readChildResource(JBossInsightsSubReport.java:195)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsSubReport.generateReport(JBossInsightsSubReport.java:94)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsWrapperSubReport.generateReport(JBossInsightsWrapperSubReport.java:67)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//com.redhat.insights.AbstractTopLevelReportBase.generateReport(AbstractTopLevelReportBase.java:196)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//com.redhat.insights.InsightsReportController.generateConnectReport(InsightsReportController.java:144)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//com.redhat.insights.InsightsReportController.lambda$generate$0(InsightsReportController.java:115)
              at com.redhat.insights@8.0.0.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsScheduler.lambda$scheduleAtFixedRate$0(JBossInsightsScheduler.java:59)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
              at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:834)
              at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      
      2023-09-18 13:04:00,337 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      

      Actual outcome: ERROR is logged.
      Expected outcome: No ERROR should occur for this case.

      Customer Impact: Unexpected ERROR can trigger any log alerting tool. As this is false alarm which does not affect any application it might cause customer dissatisfaction.

              ehugonne1@redhat.com Emmanuel Hugonnet
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: