运行 来自芭蕾舞作曲家的端口 5010 失败
Run from the ballerina composer fails for port 5010
运行 芭蕾舞作曲家中的一个简单示例失败,出现以下异常。
[2018-06-13 11:01:29,024] ERROR {org.ballerinalang.launcher.Main} - failed to connect to localhost:5010
java.lang.RuntimeException: failed to connect to localhost:5010
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:163)
at org.ballerinalang.logging.BLogManager.loadUserProvidedLogConfiguration(BLogManager.java:111)
at org.ballerinalang.launcher.LauncherUtils.loadConfigurations(LauncherUtils.java:313)
at org.ballerinalang.launcher.LauncherUtils.runProgram(LauncherUtils.java:79)
at org.ballerinalang.launcher.Main$RunCmd.execute(Main.java:256)
at java.util.Optional.ifPresent(Unknown Source)
at org.ballerinalang.launcher.Main.main(Main.java:66)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.util.logging.SocketHandler.connect(Unknown Source)
at java.util.logging.SocketHandler.<init>(Unknown Source)
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:157)
... 6 more
因为使用 ballerina run hello-world.bal
从控制台手动启动确实没有问题。
当 运行 来自作曲家时,这里有什么问题?
- 环境:ballerina-0.970.1,Windows10,Java8
这是芭蕾舞作曲家的问题。据报道here
.下一个 ballerina public 版本将于今天到期,将提供修复程序。或者你可以试试最新的 ballerina nightly build.
运行 芭蕾舞作曲家中的一个简单示例失败,出现以下异常。
[2018-06-13 11:01:29,024] ERROR {org.ballerinalang.launcher.Main} - failed to connect to localhost:5010
java.lang.RuntimeException: failed to connect to localhost:5010
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:163)
at org.ballerinalang.logging.BLogManager.loadUserProvidedLogConfiguration(BLogManager.java:111)
at org.ballerinalang.launcher.LauncherUtils.loadConfigurations(LauncherUtils.java:313)
at org.ballerinalang.launcher.LauncherUtils.runProgram(LauncherUtils.java:79)
at org.ballerinalang.launcher.Main$RunCmd.execute(Main.java:256)
at java.util.Optional.ifPresent(Unknown Source)
at org.ballerinalang.launcher.Main.main(Main.java:66)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.util.logging.SocketHandler.connect(Unknown Source)
at java.util.logging.SocketHandler.<init>(Unknown Source)
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:157)
... 6 more
因为使用 ballerina run hello-world.bal
从控制台手动启动确实没有问题。
当 运行 来自作曲家时,这里有什么问题?
- 环境:ballerina-0.970.1,Windows10,Java8
这是芭蕾舞作曲家的问题。据报道here .下一个 ballerina public 版本将于今天到期,将提供修复程序。或者你可以试试最新的 ballerina nightly build.