我已經找到了一些解決方案,但很遺憾有些問題裏面的保鮮庫。我的一些colluegue做了修復,我無法分享「修補程序庫」,但不清楚哪些修改會受到影響。我們使用了補丁版本:cling-distribution-2.0.1
所以可能最新的lib也已經修復了嗎? 祝你好運! 你用2.0.1測試過嗎?
所以問題是:從庫中的代碼 成功運行:
07-17 17:53:23.205 14826-14826/ I/DatagramIO﹕ Creating bound socket (for datagram input/output) on: 192.168.1.110/192.168.1.110
07-17 17:53:23.205 14826-14826/ I/StreamServer﹕ Setting executor service on servlet container adapter
07-17 17:53:23.205 14826-14826/ I/StreamServer﹕ Adding connector: 109.46.235.174/109.46.235.174:0
07-17 17:53:23.205 14826-14826/ D/libc-netbsd﹕ [getaddrinfo]: hostname=xxxxx; servname=(null); cache_mode=(null), netid=0; mark=0
07-17 17:53:23.205 14826-14826/ D/libc-netbsd﹕ [getaddrinfo]: ai_addrlen=0; ai_canonname=xxxxx; ai_flags=4; ai_family=0
07-17 17:53:23.205 14826-14826/ I/pnpServiceConfiguration﹕ Thread pool rejected execution of class org.eclipse.jetty.server.AbstractConnector$Acceptor
07-17 17:53:23.205 14826-14826/ W/System.err﹕ 2015-07-17 17:53:23.215:INFO:oejs.AbstractConnector:Started [email protected]:60087
07-17 17:53:23.205 14826-14826/ I/DatagramIO﹕ Creating bound socket (for datagram input/output) on: 109.46.235.174/109.46.235.174
07-17 17:53:23.205 14826-14826/ I/StreamClient﹕ Starting Jetty HttpClient...
07-17 17:53:23.205 14826-14826/ I/Router﹕ WiFi multicast lock acquired
07-17 17:53:23.205 14826-14826/ I/Router﹕ Created WiFi lock, mode: 3
07-17 17:53:23.205 14826-14826/ I/Router﹕ WiFi lock acquired
07-17 17:53:23.215 14826-14826/ I/UpnpServiceImpl﹕ <<< UPnP service started successfully
錯誤來看是這樣的:
07-17 17:53:23.205 14826-14826/ I/StreamClient﹕ Starting Jetty HttpClient...
07-17 17:53:23.205 14826-14826/ I/Router﹕ WiFi multicast lock acquired
07-17 17:53:23.205 14826-14826/ I/Router﹕ Created WiFi lock, mode: 3
07-17 17:53:23.205 14826-14826/ I/Router﹕ WiFi lock acquired
07-17 17:53:23.205 14826-14826/ I/DatagramIO﹕ Creating bound socket (for datagram input/output) on: 192.168.1.110/192.168.1.110
07-17 17:53:23.205 14826-14826/ I/StreamServer﹕ Setting executor service on servlet container adapter
07-17 17:53:23.205 14826-14826/ I/StreamServer﹕ Adding connector: 109.46.235.174/109.46.235.174:0
07-17 17:53:23.205 14826-14826/ D/libc-netbsd﹕ [getaddrinfo]: hostname=xxxxx; servname=(null); cache_mode=(null), netid=0; mark=0
07-17 17:53:23.205 14826-14826/ D/libc-netbsd﹕ [getaddrinfo]: ai_addrlen=0; ai_canonname=xxxxx; ai_flags=4; ai_family=0
07-17 17:53:23.205 14826-14826/ I/pnpServiceConfiguration﹕ Thread pool rejected execution of class org.eclipse.jetty.server.AbstractConnector$Acceptor
07-17 17:53:23.205 14826-14826/ W/System.err﹕ 2015-07-17 17:53:23.215:INFO:oejs.AbstractConnector:Started [email protected]:60087
07-17 17:53:23.205 14826-14826/ I/DatagramIO﹕ Creating bound socket (for datagram input/output) on: 109.46.235.174/109.46.235.174
07-17 17:53:23.215 14826-14826/ I/UpnpServiceImpl﹕ <<< UPnP service started successfully
來源
2015-07-14 12:18:55
cV2
任何更新或對任何消息嗎? thx – cV2
不幸的是沒有!到目前爲止,我已經在退出時使用了一種解決方法來終止該應用程序,所以每次啓動它時都可以正常工作。但這不是很好的編程習慣。我想要一個適當的解決方案。 – dzografi