cancel
Showing results for 
Search instead for 
Did you mean: 

Clean out old cached workflow models

acgrama
Champ in-the-making
Champ in-the-making
After successfully deploying a custom workflow (using the epes-bc2wf namespace), I deleted the workflow definition, context and model files from alfresco_4.2.a\tomcat\shared\classes\alfresco\extension. I have also cleaned out the corresponding GUI definition from alfresco_4.2.a\tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension\share-config-custom.xml.

However, when I start Alfresco, not even the standard workflows are available in the workflow selection list, and in the log I see the following error:


10:28:26,385 ERROR (org.springframework.extensions.webscripts.AbstractRuntime)
Exception from executeScript - redirecting to status template error: 05040004 Wrapped Exception (with status template):
Namespace prefix epes-bc2wf is not mapped to a namespace URI
org.springframework.extensions.webscripts.WebScriptException: 05040004 Wrapped Exception (with status template):
Namespace prefix epes-bc2wf is not mapped to a namespace URI
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1050)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:422)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:345)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)


I have searched, and the "epes-bc2wf" namespace is not defined anywhere except in alfresco_4.2.a\alf_data\postgresql\base\18277\18278. Is this some sort of caching mechanism in Alfresco? If yes, how can I clean out the old definitions?
1 REPLY 1

acgrama
Champ in-the-making
Champ in-the-making
Solved – the undeploy process had not been finished cleanly. I managed to undeploy the processes via the admin console, and it is fine now.