jBPM 存储库在 Wildfly 重启后消失

jBPM Repositories disappear after Wildfly restart

请原谅我不能给更多的指点,但我真的是 wildfly 的菜鸟。我使用的是 9.0.2 版本。

我已经部署了 jbpm-console、drools 和 dashboard——没问题。我使用 jboss CLI 重新启动 wildfly,当我再次登录时,存储库不会出现在 Web 界面或磁盘上(至少 grepping 或 find 不会显示任何内容)。

我正在使用 H2 数据库。我什至不知道去哪里找,有人知道吗?

提前致谢!

在充分阅读文档后,似乎有必要配置 jBPM 以持久化。来自文档:

"By default, the engine does not save runtime data persistently. This means you can use the engine completely without persistence (so not even requiring an in memory database) if necessary, for example for performance reasons, or when you would like to manage persistence yourself. It is, however, possible to configure the engine to do use persistence by configuring it to do so. This usually requires adding the necessary dependencies, configuring a datasource and creating the engine with persistence configured."

https://docs.jboss.org/jbpm/v5.3/userguide/ch.core-persistence.html