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

Supported feature requires application use of org.jboss.msc module; it should not be deprecated

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      In EAP 8.0 the org.jboss.msc module was marked as deprecated. This marking has been removed. However, applications using the JBoss MSC APIs exposed by this module should not use any API that is marked as deprecated via javadoc, as any such API may be removed in a future EAP minor or major release.
      Show
      In EAP 8.0 the org.jboss.msc module was marked as deprecated. This marking has been removed. However, applications using the JBoss MSC APIs exposed by this module should not use any API that is marked as deprecated via javadoc, as any such API may be removed in a future EAP minor or major release.

      In JBEAP-25040 we deprecated the org.jboss.msc module for use by deployment code, but the HA Singleton feature is based on such use, and that feature is not deprecated. This means users of that feature get deprecation warnings in the log. So we should remove the jboss-api=deprecated setting.

      In any Release Note entry for this issue we should note that JBoss MSC includes a number of deprecated APIs and deployments should not use them as they may be removed.

      For those trying to understand the comment history on this JIRA, the following is the original issue description, before it was revised on 2025/4/1:

      When the ha-singleton-service is deployed it log the warning message

      2025-03-20 11:00:12,301 WARN  [org.jboss.as.dependency.deprecated] (MSC service thread 1-7) WFLYSRV0221: Deployment "deployment.ha-singleton-service.war" is using a deprecated module ("org.jboss.msc") which may be removed in future versions without notice. 

      Please update QS to use a new module.

              bstansbe@redhat.com Brian Stansberry
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: