Re: [Hypercontent-users] strange problem after server crash
Brought to you by:
alexvigdor
From: Carl P B. <C.P...@hu...> - 2006-08-23 15:49:09
|
Hi Alex,=20 That all worked fine thanks. I can't build or publish the site though, is there anything else that could have got locked? There now seems to be a lot of pages queued up to be built. Is there a way just to clear them all? I'm not seeing any error message or anything the progress bar just stops when building. Cheers Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************* -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of al...@bi... Sent: 21 August 2006 17:24 To: hyp...@li... Subject: Re: [Hypercontent-users] strange problem after server crash Hi Carl, The transaction problem is due to a stale lock left over from the crash, which can be removed easily=20 from the command line. =20 <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=20 occured; you may have to identify which file this is and delete and recreate it. Your best bet for=20 finding the culprit is to look for an empty properties file. <repositories>: find ./ -empty -name file.properties=20 If that doesn't work, try <repositories>: find ./ -empty -name edition.properties=20 Cheers, Alex On Mon, 21 Aug 2006 16:36:17 +0100, Carl P Barrow wrote > Hi Alex, >=20 > I am seeing a problem with of my sites in H/C 2.0 which I haven't=20 > seen before. I can't access the root of the site and just get the=20 > following error when I try to: >=20 > ******************** > There was an error processing your request > null >=20 > java.lang.Long.parseLong(Long.java:363) > java.lang.Long.parseLong(Long.java:452) > org.hypercontent.filesystem.impl.LocalEditioningFileSystemImpl.getLastMo dified (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) =20 org.hypercontent.util.WriteableAsset.<init>(WriteableAsset.java:45) =20 org.hypercontent.project.engine.Task.<init>(Task.java:35) =20 org.hypercontent.project.Project.getTask(Project.java:831) =20 org.hypercontent.project.AssetRequest.getTask(AssetRequest.java:200) =20 org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:193) org.hypercontent.server.ContentServer.service(ContentServer.java:441) org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.jav a:104) =20 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:79 9) =20 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection (Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:683) =20 java.lang.Thread.run(Thread.java:534) >=20 > ****************************************************** >=20 > I can access other parts of the site but when I try to save anything=20 > I get the message: >=20 > ****************************************************** > Store already engaged in transaction @ /workflow-data/pending- > executables.db(exists? true) >=20 > ****************************************************** >=20 > This seemed to happen when the server I am running HyperContent on=20 > suddenly died, I was actually doing a training session using the=20 > site in question at the time. >=20 > do you know what the problem might be and if so is there a way to=20 > sort it out. >=20 > Cheers > Carl ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |