DELETE_WORK_DIR_ONCONTEXTDESTROY property in JBoss EAP 6

Solution Verified - Updated -

Issue

  • What is the usage of org.jboss.as.web.deployment.DELETE_WORK_DIR_ONCONTEXTDESTROY?
  • Seeing the following issue and requires to restart EAP to make it work:
22:38:40,176 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/example].[jsp]] (http://localhost:8080-7) JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.ClassNotFoundException: org.apache.jsp.example_jsp <--- here.
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [rt.jar:1.7.0_80]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [rt.jar:1.7.0_80]
        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_80]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [rt.jar:1.7.0_80]
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:137) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
...
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In