Re: [Hypercontent-users] H/C Error
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2006-10-23 14:02:32
|
HI Carl, The quickest and ugliest fix would be to stop the server, delete the "workflow-data" directory from that project, and restart. Somewhere in that directory some of the data is in an inconsistent state due to the forced shutdown, and I can't seem to ssh in to track it down. Deleting the workflow data directory will wipe out all records of past workflow activities (build, publish, etc), and will kill any approval requests currently outstanding. For many sites this isn't a big deal. If you don't want to lose those records, or if you have time to explore further, I suggest you ssh into the server and look beneath the workflow-data dir for files with 0 length, or any files named "file.lock" which you can then remove. Also, if you want to zip up the repository from the command line and make it available to me via some URL I might have more luck digging into it. You're right that there's no shutdown script - if you're starting up from the Ant script, just type "ctrl-c" in that window to do a graceful exit or do a "kill -15" on the process. If you deploy it into a separate tomcat, you can use tomcat's shutdown script. Cheers, Alex On Oct 23, 2006, at 4:30 AM, Carl Barrow wrote: > Hi Alex, > > I'm getting at error when accessing the work flow on one of the > sites here > in Hull. It was caused when H/C stopped working and I had no other > way than > to kill - 9 the process. I tried removing conditional- > executables.db and > pending-executables.db in /workflow-data in that site repository > but that > didn't solve the problem. I've pasted the error bellow. > > If you want to get in and take a look the site is 'Portal Content - > Services > and Suppport Tab' > > What is the best way to stop the java process rather than kill -9 . I > notice there isn't a stop command in build.xml. > > Cheers > Carl > > Invocation of method 'getWorkList' in class > org.hypercontent.workflow.impl.WorkflowFactoryImpl threw exception > class > java.lang.StackOverflowError : null > > org.apache.velocity.runtime.parser.node.ASTMethod.execute > (ASTMethod.java:246 > ) > org.apache.velocity.runtime.parser.node.ASTReference.execute > (ASTReference.ja > va:175) > org.apache.velocity.runtime.parser.node.ASTReference.value > (ASTReference.java > :327) > org.apache.velocity.runtime.parser.node.ASTExpression.value > (ASTExpression.ja > va:51) > org.apache.velocity.runtime.parser.node.ASTSetDirective.render > (ASTSetDirecti > ve.java:95) > org.apache.velocity.runtime.parser.node.ASTBlock.render > (ASTBlock.java:55) > org.apache.velocity.runtime.parser.node.SimpleNode.render > (SimpleNode.java:23 > 0) > org.apache.velocity.runtime.parser.node.ASTIfStatement.render > (ASTIfStatement > .java:89) > org.apache.velocity.runtime.parser.node.SimpleNode.render > (SimpleNode.java:23 > 0) > org.apache.velocity.Template.merge(Template.java:256) > org.hypercontent.project.engine.stage.VelocityStage.process > (VelocityStage.ja > va:186) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:307) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:281) > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:194) > org.hypercontent.server.ContentServer.service(ContentServer.java:441) > org.hypercontent.servlet.CompositionServlet.doGet > (CompositionServlet.java:10 > 4) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (Application > FilterChain.java:237) > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterCh > ain.java:157) > org.apache.catalina.core.StandardWrapperValve.invoke > (StandardWrapperValve.ja > va:214) > org.apache.catalina.core.StandardValveContext.invokeNext > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke > (StandardPipeline.java:520) > org.apache.catalina.core.StandardContextValve.invokeInternal > (StandardContext > Valve.java:198) > org.apache.catalina.core.StandardContextValve.invoke > (StandardContextValve.ja > va:152) > org.apache.catalina.core.StandardValveContext.invokeNext > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke > (StandardPipeline.java:520) > org.apache.catalina.core.StandardHostValve.invoke > (StandardHostValve.java:137 > ) > org.apache.catalina.core.StandardValveContext.invokeNext > (StandardValveContex > t.java:104) > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:118 > ) > org.apache.catalina.core.StandardValveContext.invokeNext > (StandardValveContex > t.java:102) > org.apache.catalina.core.StandardPipeline.invoke > (StandardPipeline.java:520) > org.apache.catalina.core.StandardEngineValve.invoke > (StandardEngineValve.java > :109) > org.apache.catalina.core.StandardValveContext.invokeNext > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke > (StandardPipeline.java:520) > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: > 160) > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:799) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.processConne > ction(Http11Protocol.java:705) > org.apache.tomcat.util.net.TcpWorkerThread.runIt > (PoolTcpEndpoint.java:577) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.jav > a:683) > java.lang.Thread.run(Thread.java:534) > > > > > > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************* > > > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > ******************* > |