Monday, 2 July 2018

JBoss 7.1.1 - java.io.IOException: No space left on device - start failed

 Issue: "java.io.IOException: No space left on device" - JBoss AS 7.1.1

The following exeption could happen during the start of JBoss AS but the file system (or disk partition) is not 100%.  
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
        at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        ... 5 more
Caused by: java.io.IOException: No space left on device
        at java.io.FileOutputStream.writeBytes(Native Method) [rt.jar:1.6.0_37]
        at java.io.FileOutputStream.write(FileOutputStream.java:282) [rt.jar:1.6.0_37]
        at org.jboss.vfs.VFSUtils.copyStream(VFSUtils.java:442)
        at org.jboss.vfs.VFSUtils.copyStream(VFSUtils.java:422)
        at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:872)
        at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536)
        at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567)

Solution

Remove the temp files:
 $JBOSS_HOME/standalone/tmp/*
 $JBOSS_HOME/standalone/configuration/standalone_xml_history/*
Restart the JBoss AS.

Technology stack

  • OS: centos (linux distribution)
  • JDK 1.6_x
  • JBoss as 7.1.1 

No comments:

Post a Comment

Welcome

Hello everybody, Welcome in my blog called "Information technology archive". Obviously the topics will be related to Informatio...