Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-258

FactoryFinderCache does not properly handle comments in service

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-jakarta-jaspi-api_spec-2.0.1.Final
    • jboss-el-api

    Description

      FactoryFinderCache does not properly handle comments in a potential service file. This is similar to https://bz.apache.org/bugzilla/show_bug.cgi?id=64097. That can lead deployment errors like the following as it reads the comment and tries to load it as a class:

      Caused by: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
              at javax.el.api@2.0.0.Final-redhat-00001//javax.el.FactoryFinder.newInstance(FactoryFinder.java:64)
              at javax.el.api@2.0.0.Final-redhat-00001//javax.el.FactoryFinder.find(FactoryFinder.java:103)
              at javax.el.api@2.0.0.Final-redhat-00001//javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:140)
              at javax.el.api@2.0.0.Final-redhat-00001//javax.el.ELUtil.getExpressionFactory(ELUtil.java:185)
              at javax.el.api@2.0.0.Final-redhat-00001//javax.el.ELManager.getExpressionFactory(ELManager.java:38)
              at io.undertow.jsp@2.0.9.Final-redhat-00001//org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:49)
              at io.undertow.jsp@2.0.9.Final-redhat-00001//org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:78)
              at io.undertow.jsp@2.0.9.Final-redhat-00001//org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:218)
              at org.wildfly.extension.undertow@7.4.0.GA-redhat-00005//org.wildfly.extension.undertow.deployment.JspInitializationListener.contextInitialized(JspInitializationListener.java:51)
      

      Attachments

        1. JBEE-258.war
          1 kB
        2. server.log
          145 kB

        Issue Links

          Activity

            People

              rhn-support-aogburn Aaron Ogburn
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: