java.sql.SQLException:
HI All,
I am getting the following exception while using mysql with java:
java.sql.SQLException: Error writing file '/var/log/mysql.log' (Errcode: 28)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266)
at com.redalkemi.pdge.threads.HypersonicRegeneratorThread1.run(HypersonicRegeneratorThread1.java:116)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "main" java.sql.SQLException: Column 'vchCatSubcatSynmName' not found.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ResultSet.findColumn(ResultSet.java:955)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5436)
at com.redalkemi.pdge.crons.HypersonicRegenerator.regenerateMainCatPage(HypersonicRegenerator.java:1428)
at com.redalkemi.pdge.crons.HypersonicRegenerator.regenerateProject(HypersonicRegenerator.java:318)
at com.redalkemi.pdge.crons.HypersonicRegenerator.main(HypersonicRegenerator.java:171)
java.sql.SQLException: Error writing file '/var/log/mysql.log' (Errcode: 28)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:693)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266)
at com.redalkemi.pdge.threads.HypersonicRegeneratorThread1.run(HypersonicRegeneratorThread1.java:108)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
I could not understand why it is coming.

