我正在尝试使用 SymmetricDS 同步节点,但我遇到了一些问题。我在 TomCat 7 上部署 war。它启动,创建表,一切似乎都正常,但另一个节点无法注册,当我访问注册 URL 时,我收到 404 响应。
尝试连接的其他节点获取:
Could not register. Sleeping for 4000 ms before attempting again.
This node is unregistered. It will attempt to register using the registration.url
Failed while reading batch because: http://localhost:8181/sync/registration...
caused by: java.io.FileNotFoundException
服务器有这个设置:
registration.url=http://localhost:8181/sync
sync.url=http://localhost:8181/sync
auto.registration=true
客户:
registration.url=http://localhost:8181/sync
auto.registration=true
Tomcat 管理器显示服务器正在运行。怎么了?
最佳答案
URL 有问题...正确的是:
http://localhost:8181/warName/sync
关于tomcat - 注册期间 SymmetricDS 错误 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23352256/