Kony发布服务失败并显示错误 - 连接被拒绝

时间:2016-01-18 16:33:21

标签: kony

我是kony的新手,我正在尝试发布服务并抛出以下错误,请帮忙。

[01-18-2016 04:30:20]Opening connection to http://192.168.0.12:8080/admin/direct
[01-18-2016 04:30:20]java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    at sun.net.www.http.HttpClient.New(HttpClient.java:326)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)
    at com.pat.tool.keditor.paas.ServicePublishHandler$LongRunningOperation.run(ServicePublishHandler.java:281)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
[01-18-2016 04:30:20]java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    at sun.net.www.http.HttpClient.New(HttpClient.java:326)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at com.pat.tool.keditor.paas.ServicePublishHandler$LongRunningOperation.run(ServicePublishHandler.java:337)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
[01-18-2016 04:30:20]java.lang.InterruptedException: Connection refused
    at com.pat.tool.keditor.paas.ServicePublishHandler$LongRunningOperation.run(ServicePublishHandler.java:351)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

1 个答案:

答案 0 :(得分:1)

检查kony服务器是否启动,请转到kony安装目录,你会发现两个命令文件konyserver start和konyserver stop。双击konyserver start,将启动kony服务器。

一旦kony服务器启动,然后去发布服务。