Re: [Hypercontent-users] strange problem after server crash
Brought to you by:
alexvigdor
From: <al...@bi...> - 2006-08-21 16:23:57
|
Hi Carl, The transaction problem is due to a stale lock left over from the crash, which can be removed easily from the command line. <repositories>:rm -f */workflow-data/*/file.lock The null pointer makes it look like the system was in the middle of writing a file when the crash occured; you may have to identify which file this is and delete and recreate it. Your best bet for finding the culprit is to look for an empty properties file. <repositories>: find ./ -empty -name file.properties If that doesn't work, try <repositories>: find ./ -empty -name edition.properties Cheers, Alex On Mon, 21 Aug 2006 16:36:17 +0100, Carl P Barrow wrote > Hi Alex, > > I am seeing a problem with of my sites in H/C 2.0 which I haven't > seen before. I can't access the root of the site and just get the > following error when I try to: > > ******************** > There was an error processing your request > null > > java.lang.Long.parseLong(Long.java:363) > java.lang.Long.parseLong(Long.java:452) > org.hypercontent.filesystem.impl.LocalEditioningFileSystemImpl.getLastModified (LocalEditioningFileSystemImpl.java:821) org.hypercontent.filesystem.FileHandle.lastModified (FileHandle.java:335) org.hypercontent.project.FileAsset.mostRecentModification(FileAsset.java: 321) org.hypercontent.project.FileAsset.lastModified(FileAsset.java:310) org.hypercontent.util.WriteableAsset.<init>(WriteableAsset.java:45) org.hypercontent.project.engine.Task.<init>(Task.java:35) org.hypercontent.project.Project.getTask(Project.java:831) org.hypercontent.project.AssetRequest.getTask(AssetRequest.java:200) org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:193) org.hypercontent.server.ContentServer.service(ContentServer.java:441) org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:104) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service (HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:237) org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:157) org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:214) org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:104) org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:520) org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:198) org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:152) org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.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 (StandardValveContext.java:104) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:118) org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.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 (StandardValveContext.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.processConnection (Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) > > ****************************************************** > > I can access other parts of the site but when I try to save anything > I get the message: > > ****************************************************** > Store already engaged in transaction @ /workflow-data/pending- > executables.db(exists? true) > > ****************************************************** > > This seemed to happen when the server I am running HyperContent on > suddenly died, I was actually doing a training session using the > site in question at the time. > > do you know what the problem might be and if so is there a way to > sort it out. > > Cheers > Carl |