Version 1

    Hello,

    I am trying to port a JSP based project originally developed on Glassfish 4.1 to JBoss.

    Both on Wildfly 8.2 and 10 the JSPs don't compile most of the time.

    If have just installed the 10 final and made no other changes than adding a DataSource.

    Even a test.jsp which was generated by JBoss Developer Studio won't compile

     

    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"

        pageEncoding="ISO-8859-1"%>

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

    <title>Insert title here</title>

    </head>

    <body>

    <h1>Test</h1>

    </body>

    </html>

     

    Context Path:

    /onlineshop

     

    Servlet Path:

    /test.jsp

     

    Path Info:

    null

     

    Query String:

    null

     

    Stack Trace

    org.apache.jasper.JasperException: JBWEB004001: Unable to compile class for JSP

    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:667)

    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)

    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:402)

    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:346)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

    io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)

    io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

    io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

    io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

    org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

    io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

    io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

    io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

    io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

    io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

    io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

    io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

    io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

    io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

    io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)

    io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)

    io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)

    io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)

    io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)

    io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    java.lang.Thread.run(Thread.java:745)