1

我是 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)
4

1 回答 1

1

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

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

于 2016-01-19T08:13:07.160 回答