"Can't create/write to file ..." / "Errcode: 28 - No space left on device" when using MySQL in JBoss EAP
Issue
-
During a Hibernate query, encountering an exception like the below from the MySQL driver
... java.sql.SQLException: Can't create/write to file '/tmp/XXXXXX' (Errcode: 28 - No space left on device) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964) ... at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:504) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:56) ...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- MySQL
- Hibernate 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.