Re: [Hypercontent-users] Why this happened - file.lock
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-09-05 13:56:30
|
Hi, You should check the log to see if there were errors that occurred to cause the locks not to be released. You can safely delete the locks once you shut down the server - if you have all your repositories under a common root, you could cd to it in Unix and do something like rm -f */config/workflow/*/file.lock Cheers, Alex On Sep 4, 2007, at 9:37 PM, tom tom wrote: > Hi, > > I am having couple of sample projects within > Hypercontent, but while I was doing some change, the > HC got stucked, as shows the following error, > > Then When I looked in to the repository of each > project, it had created file.lock file inside the > folders of config/workflow/ > > e.g config/workflow/zip.xml/file.lock > > Why exactly this happened, to all the projects, > > What should I do now, shall I remove this files > manually, currently I cant bring up the HC screen, in > the log it says the following > > org.hypercontent.HyperException: Store already engaged > in transaction @ > /config/workflow/approvals.xml(exists? true) > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:141) > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:84) > at > org.hypercontent.data.impl.AbstractDataStore.beginTransaction > (AbstractDataStore.java:80) > at > org.hypercontent.workflow.impl.WorkflowFactoryImpl.getWorkflow > (WorkflowFactoryImpl.java:137) > at > org.hypercontent.workflow.impl.WorkflowFactoryImpl.activate > (WorkflowFactoryImpl.java:115) > at > org.hypercontent.project.Project.<init>(Project.java:503) > at > org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java: > 91) > at > org.hypercontent.project.ProjectFactory.getProjectKeys > (ProjectFactory.java:206) > a > > > > ______________________________________________________________________ > ______________ > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities > +for+kids&cs=bz > |