Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dp2libraryxe 小型版错误地启动了多个实例 #11

Open
DigitalPlatform opened this issue Jan 21, 2016 · 0 comments
Open

dp2libraryxe 小型版错误地启动了多个实例 #11

DigitalPlatform opened this issue Jan 21, 2016 · 0 comments

Comments

@DigitalPlatform
Copy link
Owner

今天我测试的时候偶然发现,dp2libraryxe 把多个协议 URL 启动成多个实例了。正确的做法应该是只启动一个实例,给绑定上多个协议。

实例和协议的关系是什么?为了帮助确定是否需要启动独立的实例,判断方法特别简单,就是观察这些实例之间是否使用了不同的数据目录。数据目录相同就不应启动为独立的实例,它们之间仅仅是同一实例的不同的协议绑定。

已经修改为只启动一个实例。以上这是说 dp2libraryxe 中的 dp2library 部分。而 dp2kernel 部分因为从一开始就只允许一个协议绑定(net.pipe)所以未出现上述问题。

测试时,需要观察一下 dp2libraryxe 安装为小型服务器版以后,restful 协议是否还正常。

renyh pushed a commit that referenced this issue Jun 8, 2018
DigitalPlatform pushed a commit that referenced this issue Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant