Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18616

SEVERE log noise when deplying a JSF application - JSF1030: The specified InjectionProvider implementation '# SPDX-License-Identifier' cannot be loaded.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 30.0.0.Final
    • 30.0.0.Beta1
    • JSF
    • None

    Description

      Caused by https://github.com/wildfly/wildfly/pull/17214

      12:35:20,107 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry
      12:35:20,107 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry
      12:35:20,108 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry
      12:35:20,108 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) JSF1030: The specified InjectionProvider implementation '# SPDX-License-Identifier' cannot be loaded.
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) JSF1030: The specified InjectionProvider implementation '# SPDX-License-Identifier' cannot be loaded.
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 39) faces.spi.injection.invalid_service_entry
      12:35:20,109 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (ServerService Thread Pool -- 23) faces.spi.injection.invalid_service_entry
      

      This happens because the service loading mechanism in com.sun.faces.spi.InjectionProviderFactory#getServiceEntries doesn't account for commented lines (for instance the com.sun.faces.spi.ServiceFactoryUtils#getServiceEntries does perform sanitation or parsed out providers com.sun.faces.spi.ServiceFactoryUtils#cleanupServiceLine).

      This should ideally be eventually fixed upstream.

      Attachments

        Activity

          People

            rhn-engineering-rhusar Radoslav Husar
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: