Re: [Hypercontent-users] H/C Error
Brought to you by:
alexvigdor
From: Carl P B. <C.P...@hu...> - 2006-10-23 15:23:02
|
Thanks Alex, I wasn't sure I could delete the whole workflow-data directory. I did that as suggested and it's working without problems. I'll make sure I use kill -15 in the future. Cheers Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************* -----Original Message----- From: Alex Vigdor [mailto:al...@bi...]=20 Sent: 23 October 2006 15:02 To: Hypercontent-users List Cc: Carl P Barrow Subject: Re: H/C Error HI Carl, The quickest and ugliest fix would be to stop the server, delete the =20 "workflow-data" directory from that project, and restart. Somewhere =20 in that directory some of the data is in an inconsistent state due to =20 the forced shutdown, and I can't seem to ssh in to track it down. =20 Deleting the workflow data directory will wipe out all records of =20 past workflow activities (build, publish, etc), and will kill any =20 approval requests currently outstanding. For many sites this isn't =20 a big deal. If you don't want to lose those records, or if you have =20 time to explore further, I suggest you ssh into the server and look =20 beneath the workflow-data dir for files with 0 length, or any files =20 named "file.lock" which you can then remove. Also, if you want to =20 zip up the repository from the command line and make it available to =20 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 =20 from the Ant script, just type "ctrl-c" in that window to do a =20 graceful exit or do a "kill -15" on the process. If you deploy it =20 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 =20 > sites here > in Hull. It was caused when H/C stopped working and I had no other =20 > way than > to kill - 9 the process. I tried removing conditional-=20 > executables.db and > pending-executables.db in /workflow-data in that site repository =20 > 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 - =20 > 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 =20 > class > java.lang.StackOverflowError : null > > org.apache.velocity.runtime.parser.node.ASTMethod.execute=20 > (ASTMethod.java:246 > ) > org.apache.velocity.runtime.parser.node.ASTReference.execute=20 > (ASTReference.ja > va:175) > org.apache.velocity.runtime.parser.node.ASTReference.value=20 > (ASTReference.java > :327) > org.apache.velocity.runtime.parser.node.ASTExpression.value=20 > (ASTExpression.ja > va:51) > org.apache.velocity.runtime.parser.node.ASTSetDirective.render=20 > (ASTSetDirecti > ve.java:95) > org.apache.velocity.runtime.parser.node.ASTBlock.render=20 > (ASTBlock.java:55) > org.apache.velocity.runtime.parser.node.SimpleNode.render=20 > (SimpleNode.java:23 > 0) > org.apache.velocity.runtime.parser.node.ASTIfStatement.render=20 > (ASTIfStatement > .java:89) > org.apache.velocity.runtime.parser.node.SimpleNode.render=20 > (SimpleNode.java:23 > 0) > org.apache.velocity.Template.merge(Template.java:256) > org.hypercontent.project.engine.stage.VelocityStage.process=20 > (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=20 > (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=20 > (Application > FilterChain.java:237) > org.apache.catalina.core.ApplicationFilterChain.doFilter=20 > (ApplicationFilterCh > ain.java:157) > org.apache.catalina.core.StandardWrapperValve.invoke=20 > (StandardWrapperValve.ja > va:214) > org.apache.catalina.core.StandardValveContext.invokeNext=20 > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke=20 > (StandardPipeline.java:520) > org.apache.catalina.core.StandardContextValve.invokeInternal=20 > (StandardContext > Valve.java:198) > org.apache.catalina.core.StandardContextValve.invoke=20 > (StandardContextValve.ja > va:152) > org.apache.catalina.core.StandardValveContext.invokeNext=20 > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke=20 > (StandardPipeline.java:520) > org.apache.catalina.core.StandardHostValve.invoke=20 > (StandardHostValve.java:137 > ) > org.apache.catalina.core.StandardValveContext.invokeNext=20 > (StandardValveContex > t.java:104) > org.apache.catalina.valves.ErrorReportValve.invoke=20 > (ErrorReportValve.java:118 > ) > org.apache.catalina.core.StandardValveContext.invokeNext=20 > (StandardValveContex > t.java:102) > org.apache.catalina.core.StandardPipeline.invoke=20 > (StandardPipeline.java:520) > org.apache.catalina.core.StandardEngineValve.invoke=20 > (StandardEngineValve.java > :109) > org.apache.catalina.core.StandardValveContext.invokeNext=20 > (StandardValveContex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke=20 > (StandardPipeline.java:520) > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:=20 > 160) > org.apache.coyote.http11.Http11Processor.process=20 > (Http11Processor.java:799) > org.apache.coyote.http11.Http11Protocol=20 > $Http11ConnectionHandler.processConne > ction(Http11Protocol.java:705) > org.apache.tomcat.util.net.TcpWorkerThread.runIt=20 > (PoolTcpEndpoint.java:577) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run=20 > (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 =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > ******************* > |