Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-697

exploded nested jar with tld file fails with jasper exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.0.0.Beta1
    • Core
    • None
    • Hide

      unzip attached project directly into standalone/deployments of a wildfly 10 final release. The exception should be shown once you go to localhost:8080/xpto/

      Show
      unzip attached project directly into standalone/deployments of a wildfly 10 final release. The exception should be shown once you go to localhost:8080/xpto/

      An exploded jar is incompatible with TLD files since the JSP engine search for the TLD file and then try to open/unzip the JAR. Since the JAR is just a folder, it causes an "Access Denied" exception, as shown below:

      org.apache.jasper.JasperException: java.io.FileNotFoundException: C:\Program Files\Java\wildfly-10.0.0.Final\standalone\deployments\portal.web.war\WEB-INF\lib\portal.framework-0.0.1-SNAPSHOT.jar (Acesso negado)
      org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:151)
      org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:412)
      org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
      org.apache.jasper.compiler.Parser.parseElements(Parser.java:1456)
      org.apache.jasper.compiler.Parser.parse(Parser.java:143)

            sdouglas1@redhat.com Stuart Douglas
            rob.stryker Rob Stryker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: