在 Ubuntu - MySql 上安装 Activiti BPM Engine 时出错
Error while installing Activiti BPM Engine on Ubuntu - MySql
我正在尝试在 ubuntu 14 LTS 和 Tomcat & MySql 中安装 activiti 引擎。到目前为止,我还没有更改任何设置,它是我在 tomcat 中部署的默认 war。然而,当我尝试访问 activiti-explorer 时,我遇到了以下错误。它在具有相同配置的本地环境中工作得很好,但是当我尝试在客户端环境中部署它时,这是我遇到的错误。有人可以帮忙吗?
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)
如果有人在那里寻找答案,我通过将 Tomee 服务器替换为 tomcat 解决了这个问题。似乎与activiti最新版本和Tomee Server最新版本存在一些版本冲突。它适用于 Tomcat 8.
我正在尝试在 ubuntu 14 LTS 和 Tomcat & MySql 中安装 activiti 引擎。到目前为止,我还没有更改任何设置,它是我在 tomcat 中部署的默认 war。然而,当我尝试访问 activiti-explorer 时,我遇到了以下错误。它在具有相同配置的本地环境中工作得很好,但是当我尝试在客户端环境中部署它时,这是我遇到的错误。有人可以帮忙吗?
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)
如果有人在那里寻找答案,我通过将 Tomee 服务器替换为 tomcat 解决了这个问题。似乎与activiti最新版本和Tomee Server最新版本存在一些版本冲突。它适用于 Tomcat 8.