cancel
Showing results for 
Search instead for 
Did you mean: 

WebProject with Tiles and Spring WebFlow

vijay_alfresco
Champ in-the-making
Champ in-the-making
Hi,

We have developed a web project which uses Tiles and Spring WebFlow, when i run it in the tomcat as a separate application, it works good with out any problems, but when "bulk import" the war into Alfresco WCM, i am unable to preview the site.

It always says resource not available, please let me know if Alfresco WCM can handle Tiles and Spring Web Flow based projects.

Waiting for your replies

Thanks,
Vijay
4 REPLIES 4

vijay_alfresco
Champ in-the-making
Champ in-the-making
Any updates on this?

vijay_alfresco
Champ in-the-making
Champ in-the-making
I get this exception, I think this exception is from virtualization


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key '_cA826F388-BAAF-F1B1-037E-C94D1D7FA471_k9156E29A-D0BE-1A3B-281A-3E8AC3954B32' – perhaps this executing flow has ended or expired? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.; nested exception is org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id 'A826F388-BAAF-F1B1-037E-C94D1D7FA471' – perhaps this conversation has ended?
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:487)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.alfresco.filter.CacheControlFilter.doFilter(CacheControlFilter.java:187)

root cause

org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key '_cA826F388-BAAF-F1B1-037E-C94D1D7FA471_k9156E29A-D0BE-1A3B-281A-3E8AC3954B32' – perhaps this executing flow has ended or expired? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.; nested exception is org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id 'A826F388-BAAF-F1B1-037E-C94D1D7FA471' – perhaps this conversation has ended?
   org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getConversation(AbstractConversationFlowExecutionRepository.java:229)
   org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getLock(AbstractConversationFlowExecutionRepository.java:119)
   org.springframework.webflow.executor.FlowExecutorImpl.refresh(FlowExecutorImpl.java:249)
   org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:117)
   org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)
   org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.alfresco.filter.CacheControlFilter.doFilter(CacheControlFilter.java:187)

root cause

org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id 'A826F388-BAAF-F1B1-037E-C94D1D7FA471' – perhaps this conversation has ended?
   org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:107)
   org.springframework.webflow.conversation.impl.SessionBindingConversationManager.getConversation(SessionBindingConversationManager.java:125)
   org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getConversation(AbstractConversationFlowExecutionRepository.java:227)
   org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository.getLock(AbstractConversationFlowExecutionRepository.java:119)
   org.springframework.webflow.executor.FlowExecutorImpl.refresh(FlowExecutorImpl.java:249)
   org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:117)
   org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:165)
   org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.alfresco.filter.CacheControlFilter.doFilter(CacheControlFilter.java:187)

kvc
Champ in-the-making
Champ in-the-making
vijay:


Please file a JIRA issue on Tiles support.  In the meantime, do note that we've done lots of work on deployment - not all websites will always be virtualizable (.NET sites or JSF sites for example) and so we've added
support for in-context preview (as opposed to virtualization) for all other types of apps.  If there is an issue with Tiles, this is an alternative way to preview.

You can read the updated deployment documentation here:

http://wiki.alfresco.com/wiki/Deployment


Kevin

vijay_alfresco
Champ in-the-making
Champ in-the-making
Hi Kevin,

Tiles are working properly, but for some reason the spring webflow is failing, it may be due to the way spring handles session.

Thanks,
Vijay
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.