我已按照Bluemix / Eclipse说明在eclipse中设置Liberty服务器。除了远程调试之外,能够使用Bluemix / eclipse工具完成所有工作。
当我在服务器下的应用程序中选择“启用调试模式”时,接收以下异常/错误。
尝试更长的调试超时,但这没有帮助。有什么指针吗?
TIA
[2015-11-30 07:16:56.832] bluemixMgmgClient - ???? [池-1-螺纹-1] ....错误--- ClientProxyImpl:无法创建websocket JavaMemcachedApp的连接 com.ibm.ws.cloudoe.management.client.exception.ApplicationManagementException: javax.websocket.DeploymentException:用于启动的HTTP请求 WebSocket连接失败了 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl.onNewClientSocket(ClientProxyImpl.java:161) 在 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl $ RunServerTask.run(ClientProxyImpl.java:267) 在java.util.concurrent.Executors $ RunnableAdapter.call(未知 来自java.util.concurrent.FutureTask $ Sync.innerRun(未知 来自)java.util.concurrent.FutureTask.run(未知来源)at java.util.concurrent.ThreadPoolExecutor.runWorker(未知来源)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知来源)at java.lang.Thread.run(未知来源)引起: javax.websocket.DeploymentException:用于启动的HTTP请求 WebSocket连接失败了 org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:315) 在 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl.onNewClientSocket(ClientProxyImpl.java:158) ... 7更多引起:java.util.concurrent.TimeoutException at org.apache.tomcat.websocket.AsyncChannelWrapperSecure $ WrapperFuture.get(AsyncChannelWrapperSecure.java:505) 在 org.apache.tomcat.websocket.WsWebSocketContainer.processResponse(WsWebSocketContainer.java:542) 在 org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:296) ... 8更多[2015-11-30 07:17:56.868] bluemixMgmgClient - ???? [pool-1-thread-1] ....错误--- ClientProxyImpl:无法创建 JavaMemcachedApp的websocket连接 com.ibm.ws.cloudoe.management.client.exception.ApplicationManagementException: javax.websocket.DeploymentException:用于启动的HTTP请求 WebSocket连接失败了 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl.onNewClientSocket(ClientProxyImpl.java:161) 在 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl $ RunServerTask.run(ClientProxyImpl.java:267) 在java.util.concurrent.Executors $ RunnableAdapter.call(未知 来自java.util.concurrent.FutureTask $ Sync.innerRun(未知 来自)java.util.concurrent.FutureTask.run(未知来源)at java.util.concurrent.ThreadPoolExecutor.runWorker(未知来源)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知来源)at java.lang.Thread.run(未知来源)引起: javax.websocket.DeploymentException:用于启动的HTTP请求 WebSocket连接失败了 org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:315) 在 com.ibm.ws.cloudoe.management.client.impl.ClientProxyImpl.onNewClientSocket(ClientProxyImpl.java:158) ... 7更多引起:java.util.concurrent.TimeoutException at org.apache.tomcat.websocket.AsyncChannelWrapperSecure $ WrapperFuture.get(AsyncChannelWrapperSecure.java:505) 在 org.apache.tomcat.websocket.WsWebSocketContainer.processResponse(WsWebSocketContainer.java:542) 在 org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:296) ......还有8个
答案 0 :(得分:1)
您需要确保已完成以下操作:
(1)https://www.ng.bluemix.net/docs/manageapps/app_management.html#Utilities
(2)https://www.ng.bluemix.net/docs/manageapps/app_management.html#devmode
(3)https://www.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html#remotedebug
答案 1 :(得分:1)
您是否碰巧使用IBM JDK启动工作台?我们使用该组合跟踪调试支持存在一个问题。如果您正好使用它,您可以尝试使用Orcale JDK 8来查看是否能解决问题吗?
答案 2 :(得分:1)
问题在于使用JDK ....用ORACLE JRE 8替换了ORACLE JDK 7并解决了这个问题。
此致 RS