Some kinda problem with hsqldb.

shutdown, delete "cocoondb.backup", restart, and everything should be fine.


We should have an FAQ for this somewhere.


DR


At 01:23 PM 12/7/01 +0000, you wrote:
>Hi,
>
>Cocoon (2.0) starts up first time ok after I have built it. But whenever I
>shutdown Tomcat 4.0, and then start it up again, I get the following error:
>
>Starting service Tomcat-Standalone
>Apache Tomcat/4.0.1
>Loading catalog: /localhost/cocoon/resources/entities/catalog
>java.sql.SQLException: File input/output error:
>C:\tomcat4\webapps\cocoon\WEB-INF\db\cocoondb.backup
>         at org.hsqldb.Trace.getError(Trace.java:180)
>         at org.hsqldb.Trace.getError(Trace.java:144)
>         at org.hsqldb.Trace.error(Trace.java:205)
>         at org.hsqldb.Log.restoreBackup(Log.java:731)
>         at org.hsqldb.Log.open(Log.java:212)
>         at org.hsqldb.Database.<init>(Database.java:96)
>         at org.hsqldb.Server.run(Server.java:137)
>         at org.hsqldb.Server.main(Server.java:78)
>         at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
>         at java.lang.Thread.run(Thread.java:484)
>
>This file does exist (cocoondb.backup). Cocoon
>(http://myserver:8080/cocoon/) then fails to work.
>
>If I re-build and re-deploy the .war file, Cocoon will run ok, and Tomcat
>will start up ok, but as before, if  stop tomcat, and start it up again, I
>get the above error.
>
>Any ideas?
>
>Many thanks,
>
>Stuart Lewis
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to