'找不到页面'何时启动节点

时间:2018-05-13 07:18:54

标签: corda

我正试图从官方纪录片中test the example corda app

我成功构建了代码,现在我启动了节点:

$ kotlin-source/build/nodes/runnodes
which: no osascript in (/c/Users/admin/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/admin/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Program Files/Microsoft MPI/Bin:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/ProgramData/Oracle/Java/javapath:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Lenovo/Bluetooth Software:/c/Program Files/Lenovo/Bluetooth Software/syswow64:/c/Program Files (x86)/MiKTeX 2.9/miktex/bin:/c/Program Files (x86)/Skype/Phone:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/nodejs:/c/xampp/php:/c/ProgramData/ComposerSetup/bin:/c/Program Files/Geth:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cmd:/c/Program Files/Microsoft VS Code/bin:/c/Users/admin/AppData/Roaming/npm:/c/Users/admin/AppData/Roaming/Composer/vendor/bin:/c/xampp/apache/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
Starting nodes in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes
Starting corda.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\Notary on debug port 5005
Starting corda.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyA on debug port 5006
Starting corda-webserver.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyA on debug port 5007
Starting corda.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyB on debug port 5008
Starting corda-webserver.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyB on debug port 5009
Starting corda.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyC on debug port 5010
Starting corda-webserver.jar in C:\Users\admin\Desktop\Coding Projects\learning_corda\kotlin-source\build\nodes\PartyC on debug port 5011
Started 7 processes
Finished starting nodes

在下面找到我的启动节点的图片:

enter image description here

在访问http://localhost:10010/web/example/http://localhost:10010/api/status时,我收到以下消息Page not found

enter image description here

有什么建议我做错了吗?

感谢您的回复!

1 个答案:

答案 0 :(得分:1)

您提供的图片显示网络服务器已在partyA的端口10009上启动。并且您的URL在端口10010上。我猜10010是针对partyB的节点和网络服务器没有启动的。请检查您是否已启动并运行所有7个Java进程。这意味着3个webserver和4个节点。同时检查bulid>中的日志。节点> {方}>日志。在节点启动后,corda Web服务器通常可用。检查日志,看看为什么一个Node B没有启动也出现了乙方的Web服务器出现问题(不会因为B节点没有启动而启动)和C方。