wood burning stoves 2.0*
The moose likes JForum and the fly likes java.sql.SQLException: File input/output error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "java.sql.SQLException: File input/output error" Watch "java.sql.SQLException: File input/output error" New topic
Author

java.sql.SQLException: File input/output error

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I was adding a group called "Anonymous" and now all of a sudden the whole jforum app won't work. Below is the stack trace I am getting, and I don't see anything in the jforum log of how to fix the problem. I am using the HSqlDB.

<!-- BEGIN ERROR STACK TRACE <br /> net.jforum.exceptions.DatabaseException: java.sql.SQLException: File input/output error: C:\tomcat\webapps\jforum/WEB-INF/config/database/hsqldb/jforum.log <br /> at org.hsqldb.jdbc.Util.sqlException(Unknown Source) <br /> at org.hsqldb.jdbc.jdbcConnection.init(Unknown Source) <br /> at org.hsqldb.jdbcDriver.getConnection(Unknown Source) <br /> at org.hsqldb.jdbcDriver.connect(Unknown Source) <br /> at java.sql.DriverManager.getConnection(DriverManager.java:512) <br /> at java.sql.DriverManager.getConnection(DriverManager.java:193) <br /> at net.jforum.SimpleConnection.getConnection(SimpleConnection.java:94) <br /> at net.jforum.JForumExecutionContext.getConnection(JForumExecutionContext.java:160) <br /> at net.jforum.JForumExecutionContext.getConnection(JForumExecutionContext.java:151) <br /> at net.jforum.dao.generic.GenericUserDAO.selectById(GenericUserDAO.java:133) <br /> at net.jforum.repository.SecurityRepository.load(SecurityRepository.java:94) <br /> at net.jforum.repository.SecurityRepository.load(SecurityRepository.java:112) <br /> at net.jforum.JForum.service(JForum.java:163) <br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) <br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) <br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) <br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59) <br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) <br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) <br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) <br /> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) <br /> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) <br /> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) <br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) <br /> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) <br /> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) <br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) <br /> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) <br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) <br /> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) <br /> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) <br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) <br /> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) <br /> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) <br /> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) <br /> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) <br /> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) <br /> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) <br /> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) <br /> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) <br /> at java.lang.Thread.run(Thread.java:534) <br /> Caused by: java.sql.SQLException: File input/output error: F:\Program Files\Serena\vm\common\tomcat\webapps\jforum/WEB-INF/config/database/hsqldb/jforum.log <br /> ... 41 more <br /> <br /> URL is: /jforum/forums/list.page?null <br /> END ERROR STACK TRACE-->

[originally posted on jforum.net by bcny]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
We have exactly the same problem in our forum, with jforum.log file.
I didn't find anything to help me in this forum or on the web.

Did you find a solution since your message just below ?

Thanks for you help.
[originally posted on jforum.net by ccocatrix]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
No we never found a solution, we ended up removing and reinstalling to correct the issue, since we were only at the begining of using this there was no loss of data.
[originally posted on jforum.net by bcny]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I detect we used another version of hsqldb than the one delivered with jforum.
So I have changed it ... today, the problem did not appear. We'll see in the future if the problem is really resolved.

[originally posted on jforum.net by ccocatrix]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql.SQLException: File input/output error