[arquillian-issues] [JBoss JIRA] (ARQ-1958) Delete temporary instance root for Embedded Tomcat on exit

Krassimir Valev (JIRA) issues at jboss.org
Thu Jun 11 08:45:04 EDT 2015


Krassimir Valev created ARQ-1958:
------------------------------------

             Summary: Delete temporary instance root for Embedded Tomcat on exit
                 Key: ARQ-1958
                 URL: https://issues.jboss.org/browse/ARQ-1958
             Project: Arquillian
          Issue Type: Bug
          Components: Tomcat Containers
            Reporter: Krassimir Valev


The embedded tomcat container (tested with version 7) does not cleanup temporary files after test execution - the temp folder is full of tomcat-embedded-***.tmp files. Similar issue was already reported for Glassfish - ARQ-923 that has already been resolved, but I guess nobody fixed the other containers. Looking at the source code of Glassfish, Tomcat and JBoss only the Glassfish one does setup deletion of the temp file within the setup() method:
* https://github.com/arquillian/arquillian-container-glassfish/blob/master/glassfish-embedded-3.1/src/main/java/org/jboss/arquillian/container/glassfish/embedded_3_1/GlassFishContainer.java
* https://github.com/arquillian/arquillian-container-tomcat/blob/master/tomcat-embedded-7/src/main/java/org/jboss/arquillian/container/tomcat/embedded/Tomcat7EmbeddedContainer.java
* https://github.com/arquillian/arquillian-container-jbossas/blob/master/jbossas-embedded-6/src/main/java/org/jboss/arquillian/container/jbossas/embedded_6/JBossASEmbeddedContainer.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the arquillian-issues mailing list