Tomcat web application will not deploy due to "No space left on device"

Solution Verified - Updated -

Issue

  • Web application will not deploy due the error below in Tomcat logging:
INFO: Deploying web application archive /var/lib/tomcat7/webapps/test.war
Sep 18, 2017 12:01:12 PM org.apache.catalina.startup.ContextConfig beforeStart
SEVERE: Exception fixing docBase for context [/test]
java.io.IOException: No space left on device
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
        at org.apache.catalina.startup.ExpandWar.expand(Unknown Source)
        ....

Environment

  • Red Hat Enterprise Linux
  • Red Hat JBoss Web Server
  • Apache Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.