2016-07-25 108 views
1

我正在尝试在Ubuntu 14 LTS和Tomcat上安装Activiti引擎& MySql。到目前为止,我还没有改变任何设置,这是我在tomcat中部署的默认战争。如何当我试图访问activiti-explorer我得到的错误以下。它在当地具有相同配置的景观中工作得很好,但是当我尝试在客户端环境中部署它时,这是我得到的错误。任何人都可以帮忙吗?在Ubuntu上安装Activiti BPM引擎时出错 - MySql

org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'explorerApp': Scope 'session' is not active for the current thread; 
consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: 
No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? 
If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: 
In this case, use RequestContextListener or RequestContextFilter to expose the current request. 
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleServiceException(AbstractApplicationServlet.java:1010) 

回答

2

如果有人在那里寻找答案,我通过将Tommy服务器替换为tomcat来解决问题。似乎有一些版本与Activiti最新版本和Tomee Server最新版本冲突。它适用于Tomcat 8.