Antville Project

Crashing Antclick

From the "Ich spiele alles kaputt"-Department: I just crashed my Antclick by having to reset the whole system. Helma / Antville wouldn't start up properly again after the reset, giving out all sorts of McKoi / java errors. Looks like I crashed my database.

Now my question: How to turn off Antclick "safely"? How can something like this be happening? There was no writing to the database at the moment of the crash, at least not visibly. Oh, and is there a way to recover?

comment    

 
robert, March 15, 2003 at 7:01:59 PM CET

which kind of errors?

could you post them here? ad shutting down antclick: the cleanes way imo is to use the manage-console (point your browser to localhost). if you've never used the management console you will have to configure it, just follow the instructions. once you're in the management console stop antclick by clicking on the appropriate link. and then shut down helma (by killing the processes or stopping the batch process/shell script, depending on the operating system).

link  


... comment
 
nex, March 16, 2003 at 12:46:25 AM CET

I guess it would help to know which errors you get exactly.

link  

 
bens, March 17, 2003 at 10:54:00 AM CET

Here you go

java.lang.Error: IO Error: File corrupt: last_area_pointer is before data part of file. at com.mckoi.database.Database.init(Database.java:1649) at com.mckoi.database.control.DBController.startDatabase(DBController.java:129) at com.mckoi.database.jdbcserver.DefaultLocalBootable.boot(DefaultLocalBootable.java:135) at com.mckoi.database.jdbc.MDriver.connectToLocal(MDriver.java:425) at com.mckoi.database.jdbc.MDriver.connect(MDriver.java:461) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at helma.objectmodel.db.DbSource.getConnection(DbSource.java:41) at helma.scripting.fesi.extensions.ESDatabase.(Database.java:67) at helma.scripting.fesi.extensions.Database$GlobalGetDBConnection.callFunction(Database.java:744) at FESI.Data.ESObject.doIndirectCallInScope(ESObject.java:551) at FESI.Interpreter.ScopeChain.doIndirectCall(ScopeChain.java:144) at FESI.Data.ESObject.doIndirectCallInScope(ESObject.java:548) at FESI.Data.ESArguments.doIndirectCallInScope(ESArguments.java:100) at FESI.Interpreter.ScopeChain.doIndirectCall(ScopeChain.java:144) at FESI.Interpreter.Evaluator.doIndirectCall(Evaluator.java:482) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:779) at FESI.AST.ASTCompositeReference.jjtAccept(ASTCompositeReference.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:362) at FESI.AST.ASTVariableDeclaration.jjtAccept(ASTVariableDeclaration.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:339) at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:320) at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.evaluateFunction(EcmaScriptEvaluateVisitor.java:161) at FESI.Interpreter.Evaluator.evaluateFunction(Evaluator.java:783) at FESI.Data.ConstructedFunctionObject.callFunction(ConstructedFunctionObject.java:122) at FESI.Data.ESObject.doIndirectCallInScope(ESObject.java:551) at FESI.Interpreter.ScopeChain.doIndirectCall(ScopeChain.java:144) at FESI.Data.ESObject.doIndirectCallInScope(ESObject.java:548) at FESI.Data.ESArguments.doIndirectCallInScope(ESArguments.java:100) at FESI.Interpreter.ScopeChain.doIndirectCall(ScopeChain.java:144) at FESI.Interpreter.Evaluator.doIndirectCall(Evaluator.java:482) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:779) at FESI.AST.ASTCompositeReference.jjtAccept(ASTCompositeReference.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:339) at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:320) at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:26) at FESI.Interpreter.EcmaScriptEvaluateVisitor.evaluateFunction(EcmaScriptEvaluateVisitor.java:161) at FESI.Interpreter.Evaluator.evaluateFunction(Evaluator.java:783) at FESI.Data.ConstructedFunctionObject.callFunction(ConstructedFunctionObject.java:122) at FESI.Data.ESObject.doIndirectCall(ESObject.java:530) at helma.scripting.fesi.FesiEngine.invoke(FesiEngine.java:409) at helma.scripting.fesi.PhantomEngine.invoke(PhantomEngine.java:14) at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:438) at java.lang.Thread.run(Thread.java:554)

link  

 
hns, March 17, 2003 at 2:02:51 PM CET

Have a look at this message

link  

 
bens, March 17, 2003 at 2:14:42 PM CET

Thanks. What's bothering me is that there was no writing to the DB when the crash happened, though it got broken. Is that perhaps something Mckoi specific? Could the same happen to a Mysql DB?

link  

 
hns, March 17, 2003 at 2:31:14 PM CET

I think it's quite possible that Mckoi was writing while you shut down without your knowing. Mysql is certainly much more mature than Mckoi, but db corruption can always happen.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8546 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher