Re: [Hypercontent-users] Is this a bug , workflow takes time to load
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-02-27 14:27:32
|
This is likely the cause of the delays you are seeing; the system must be able to acquire a lock on workflow scripts in order to initialize them, so you have to make sure that once you open a workflow script for edit, you save or discard your changes. If you leave the file open the system will time out trying to acquire the lock. After things have gotten weird with the workflow components, its also a good idea to restart the server. This won't clear the lock, however - you can manually remove that from the filesystem by looking for "/config/workflow/build.xml/file.lock". Cheers, Alex On Feb 27, 2007, at 12:33 AM, tom tom wrote: > I looked at the catalina.out and it gives an Error as > follows. > > What is the cause for this error. > > > Thanks > > <Unable to load workflow build> > 2007-02-27 16:29:14,781 ERROR > [org.hypercontent.util.Logger] - <> > org.hypercontent.HyperException: Store already engaged > in transaction @ /config/workflow/build.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.getWorkList > (WorkflowFactoryImpl.java:284) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.velocity.util.introspection.UberspectImpl > $VelMethodImpl.invoke(UberspectImpl.java:267) > at > org.apache.velocity.runtime.parser.node.ASTMethod.execute > (ASTMethod.java:197) > at > org.apache.velocity.runtime.parser.node.ASTReference.execute > (ASTReference.java:175) > at > org.apache.velocity.runtime.parser.node.ASTReference.value > (ASTReference.java:327) > at > org.apache.velocity.runtime.parser.node.ASTExpression.value > (ASTExpression.java:51) > at > org.apache.velocity.runtime.parser.node.ASTSetDirective.render > (ASTSetDirective.java:95) > at > org.apache.velocity.runtime.parser.node.ASTBlock.render > (ASTBlock.java:55) > > > > --- tom tom <j_l...@ya...> wrote: > >> We modifed the approvals.xml as follows >> >> 1) remove the event remain reminder as we do not >> require them >> >> 2) Increased the content of the Approval and Denied >> email messages >> >> Since the we observe that when we click the workflow >> link it takes ages to load the workflow interface >> and >> sometimes it comes with the following exception, >> >> Is this becase we increased the email body text. >> >> Should I remove the email body text? Is this causing >> the delay and the following exception. >> >> >> There was an error processing your request >> null >> >> >> > org.hypercontent.workflow.impl.WorkflowImpl.getEventDescriptors > (WorkflowImpl.java:105) >> >> > sun.reflect.GeneratedMethodAccessor143.invoke(Unknown >> Source) >> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) >> java.lang.reflect.Method.invoke(Method.java:585) >> >> > org.apache.velocity.util.introspection.UberspectImpl > $VelMethodImpl.invoke(UberspectImpl.java:267) >> >> > org.apache.velocity.runtime.parser.node.ASTMethod.execute > (ASTMethod.java:197) >> >> > org.apache.velocity.runtime.parser.node.ASTReference.execute > (ASTReference.java:175) >> >> > org.apache.velocity.runtime.parser.node.ASTReference.value > (ASTReference.java:327) >> >> > org.apache.velocity.runtime.parser.node.ASTExpression.value > (ASTExpression.java:51) >> >> > org.apache.velocity.runtime.parser.node.ASTSetDirective.render > (ASTSetDirective.java:95) >> >> > org.apache.velocity.runtime.parser.node.ASTBlock.render > (ASTBlock.java:55) >> >> > org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) >> >> > org.apache.velocity.runtime.parser.node.ASTDirective.render > (ASTDirective.java:114) >> >> > org.apache.velocity.runtime.parser.node.ASTBlock.render > (ASTBlock.java:55) >> >> > org.apache.velocity.runtime.parser.node.SimpleNode.render > (SimpleNode.java:230) >> >> > org.apache.velocity.runtime.parser.node.ASTIfStatement.render > (ASTIfStatement.java:89) >> >> > org.apache.velocity.runtime.parser.node.SimpleNode.render > (SimpleNode.java:230) >> >> > org.apache.velocity.Template.merge(Template.java:256) >> >> > org.hypercontent.project.engine.stage.VelocityStage.process > (VelocityStage.java:188) >> >> > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:311) >> >> > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:285) >> >> > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:202) >> >> > org.hypercontent.server.ContentServer.service(ContentServer.java:450) >> >> > 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:252) >> >> > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) >> >> > org.apache.catalina.core.StandardWrapperValve.invoke > (StandardWrapperValve.java:213) >> >> > org.apache.catalina.core.StandardContextValve.invoke > (StandardContextValve.java:178) >> >> > org.apache.catalina.core.StandardHostValve.invoke > (StandardHostValve.java:126) >> >> > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:105) >> >> > org.apache.catalina.core.StandardEngineValve.invoke > (StandardEngineValve.java:107) >> >> > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:148) >> >> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) >> >> > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) >> >> > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) >> >> > org.apache.jk.common.ChannelSocket.processConnection > (ChannelSocket.java:674) >> >> > org.apache.jk.common.ChannelSocket$SocketConnection.runIt > (ChannelSocket.java:866) >> >> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:684) >> java.lang.Thread.run(Thread.java:595) >> >> >> >> >> > ______________________________________________________________________ > ______________ >> Looking for earth-friendly autos? >> Browse Top Cars by "Green Rating" at Yahoo! Autos' >> Green Center. >> http://autos.yahoo.com/green_center/ >> >> > ---------------------------------------------------------------------- > --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys-and earn cash >> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________ > ______________ > 8:00? 8:25? 8:40? Find a flick in no time > with the Yahoo! Search movie showtime shortcut. > http://tools.search.yahoo.com/shortcuts/#news > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |