运行 同一台机器上的 JPOS 客户端和服务器模拟器抛出错误

Running JPOS Client and Server Simulator on the same machine throws error

我按照此处的说明进行操作:http://jpos.org/blog/2013/07/setting-up-the-client-simulator/ 来设置客户端和服务器模拟器。我可以在我的机器上启动其中一个。如果我在客户端 运行 之后启动服务器,它会抛出此错误:

"An instance of Q2 is already running. Shutting this instance"

我知道这是一种自我解释。但是想知道是否有办法 运行 在同一台机器上同时使用服务器和客户端模拟器。

检查您的 src/dist/deploy 目录并删除文件 </code>01_multi_instance_prevention.xml<code>. That descriptor wasn't present in jPOS by the time the blog post was written and was installed when you calledinstallResources`,因为它现在是 jPOS jar 的一部分。我们会考虑将该文件设为可选。